Subject: Cat toy (2 servos) - how to handle data
Project Objective:
To learn about the arduino by creating a interactive cat toy.
Method:
use 2 servos that move a stick on a flat 2D plane ("x" and "y") with a squirrel tail dangling from it.
I have divided the action into discrete tasks which are comprised of multiple steps where I define the end goal as x, y and define how long it is to take to get there (, , ).
The Problem:
I am not very skilled at programming, and have run to my limit on what I can solve with Google. I am currently stuck on how to define each task. At the moment I have statically defined 10 tasks that consist of 10 steps each. This is ok as a proof of concept but lacks the flexibility to grow this project to the next level. Ideally I would like to have the flexibility to have the sketch read values from a file (defining tasks on a spreadsheet would be so much nicer) and create the correct number of tasks that consist of a varying number of steps.
Projects future development:
If I figure out the above issues, I would then like to start to experiment with using various sensors that will trigger different tasks. If all goes well, I'm then hoping to learn how to make my own pcb and create a permanent gadget.
Hardware:
-Arduino Duemilanove
-2x Power Sources:
--->USB from computer to drive Arduino
--->Portable USB power(batt running through a regulator). I added a cap to smooth it out a little
-2x standard sized servos
-breadboard (because I hate soldering stuff)
EDIT
I had to delete Code because it causes post to be larger than max char allowed.