Sunday, November 22, 2009

blast off


So, the snake idea has been starting to take shape, despite the fact that it still looks nothing like one, and won't for a while at least. However, I did manage to overcome my first expected problem: getting a live data feed from the computer, through the basic stamp microcontroller and to the servo controller, in turn moving the servos. It's not a 2 independent axis sine waves working together to coordinate a snakes movement like it will be in the future, but rather, a single servo with 2 positions, chosen by whether the the mouse button is depressed or not. However, the hard part has been taken out of the way, and the more complex multiple servo control should be relatively easy.
Hardware wise, I've just come out of the crude "folded index card mockup stage", and have entered the stage of using real materials, including aluminium, plexiglass, and lots and lots of screws. It still resembles no snake you have ever seen, because it's literally just part of one of the many segments the finished product will have.
I've included a few pictures to document my progress:




A Close up of all the electronics powered up and ready to work











Circuit boards, power sources, and servos











Just the electronic equipment, before being hooked up










A quick view of just some of the code used for the most basic motor functions.










A servo and its aluminium mount: just a small part of one of the many sections of the entire snake.