Let's Make Robots!


Walks (kind of)

stEve started life as a robot shaped sweetie tin. I received him as part of a Christmas present last year (2011) from some friends. This Christmas Eve stEve was born. I took the tin and opened some holes in the base for wheels. I had previously bought some geared stepper motors (28BYJ-48-5VDC) from ebay and though they didn't suit their original intended purpose they suited this bot down to a tee.

The two stepper motors drive ellipse shaped wheels made from shapelock/polymorph. When rotated to one position the wheel does not project below the bottom of the tin/base and stEve stands normally. Rotating one wheel through 180 degrees causes stEve to take a 'step' in an arc which pivots around the opposite edge of the tin/base. With 90 degree offset between the two wheels and both wheels spinning at the same constant speed stEve staggers forward.

The steppers are currently driven by an Arduino (DFRobot.com Duemilanove) through their included ULN2003 driver boards, powered by the 5v regulated supply from the Arduino. A 9V battery feeds the Arduino though I'm not sure there is sufficient capacity for long duration use (something I'll need to investigate).

Everything is mounted on a removable sled made of balsa wood, with a thin piece of balsa wood jammed down the back to hold the sled in place. Superglue, zip/cable ties, twist ties and the occasional screw are all used to hold this together, a bit cludgy but I wasn't going for good looks as this is all hidden within a pretty robot shaped tin. I'm considering the addition of LDRs or LEDs to make stEve into a crude light chaser (phototropic robot) but for now he simply moves both his motors at a fixed pace. Further refinement of his wheels and possibly some way to determine their 'home' position may lead to more interesting walking methods.

A little update (18/01/13):

stEve still gets occasional attention from me, he's had his arduino and motor driver boards properly mounted with bolts now (previously held in place with twist-ties). I added a piezo speaker and merged my simple stepper motor control code with Auduino, which turns the arduino into a granular synthesizer. He plays random sounds between movements and tries to play Super Mario Bros theme tune when starting up (still needs a little tinkering, converted a midi file into a set of arrays for the arduino but it currently cannot handle overlapping notes (don't think I'll be able to make the arduino polyphonic, just one note at a time for now)). The piezo is not loud enough so I've ordered a 386N IC to build a simple amplifier and will include a small speaker within stEve's tin.

Recently I've been toying with the idea of printing replacement wheels, perhaps with the addition of some magnets which will trigger hall effect sensors to determine when the wheels are in the neutral position (horizontal, not touching the ground). I've also been seriously contemplating JerZ's idea of chopping stEve's head off and making it turn.

I like that I can safely stick stEve in my laptop bag and bring him with me to show off. Portability is definitely going to rank higher on my "important factors to consider" list with any future robot projects.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Good idea with the elliptical wheels. Looks like there is still plenty of room for upgrades too. I'd be tempted to cut off his head and stick a servo in it, but you would need two more of those tins to steal the lids from and cap the jagged edges.

Plenty of space, the sled currently only reaches 3/4 up the arm, nearly half the tin left unused. I like the idea of a rotating head but I'm not sure I could do a clean enough decapitation. I do have some thin alu sheet somewhere which could potentially be used in place of additional lids, alternatively a 3d printed shoulder/chin with integral servo mount (hmm, you've got me thinking now!).

Beautiful. Stunning. Such raw creativity!


Maybe I'm wrong, But you shouldn't need encoders with the steppers. I believe those steppers are 5.625 degree (1/64) step angle, with a 1:64 gear reduction. So you should be able to figure 4096 steps/per revolution at your wheels. Probably have to double check your data sheet to confirm. Also I know they are a bargain so not sure on the motor accuracy, some testing should tell if you could save a bit of hardware and still determine when the wheels are in "neutral" position..

You are correct in what you've said JerZ, however I'm not intending to build an encoder. Stepper motors provide relative positioning (assuming no steps are missed), I just need to determine the orientation of the wheels upon startup (move to home position) and as long as I keep track of the steps or only issue 2048 or 4096 steps at a time then I know what my steppers/wheels are doing.

ya gotta know when to stop. He is perfect just like he is!