360bot - Stepper motors are cool!
Strange, some Google videos are down. Link to the one down now when writing this, here.
Update:
So I thought; With 360 degrees overview, I am unbeatable, I can navigate anything. I took an old toy-tractor and in amazingly short time got everything fitted onto it. That tractor was made for this, I thought.
I knew that it would be crap at steering, as the wheels where big, and the rear wheels (or front sometimes, this is 360!) where locked to each other, giving no differential steering, and slow turns.
But after a short while I got really tired of it; It is turning not on a plate, but on a big football stadium! :)
So it is going to die now, 360bot will not be on a tractor. Still I thought it looked cool :D And so I took some snaps just before I now go back and tear it apart. Click on image for more images..
Update:
I wanted to transfer power and signals to the moving part. I tried all sorts of stuff, but did not relly manage. So in the end I just gave up and used a 3.5mm jack-stick. Simple and easy.. but only 3 lines open.. So i had to give up on my first thought of having several LED's spin around. The thought was that they should sort of draw a rotating "radar image": Closer objects would make LED's closer to the axle light up.
However, I really like the sound of it spinning, and I will make something up! Added new video with the jackstick-trick. The LED on it is simply using the Sharp signal directly - that is actually quite a nice hack in itself :) I will always add a LED on the sharps from now on, nice indicator!
For a long time I wanted to hook up a stepper motor, and finaly I got to it!
Wow, these are cool! I enter this as a robot because I simply have to make a robot with this. I do not have much time, but now I have told you all that I am going to make a robot with a stepper motor, and so I will have to find the time :)


@ Tue, 2008-07-15 11:51
i'm really glad to see
i'm really glad to see someone do somethign with steppers. These motors are soooo cool. Very versatile and easy to control...very accurate and torquey and teh different stepping modes (half/full/double step) make it very versatile and good for different situations, sacrificing accuracy for torque (rather than speed).
The only downsode for steppers is that you will usually need a seperate circuit to drive them (the microprocessor will only supply the triggers)...and you must be very careful as they swallow up huge amounts of current, and you need to use soem pretty high-grade resitors with them.
I've had cases where the resistors generate so much heat that they melt the surrounding wires...so be cautious!
@ Tue, 2008-07-15 17:22
Nice. I've always been
Nice. I've always been curious how fast a stepper motor can spin. Floppy drives were spun by stepper motors, weren't they? The electronics store downtown has a 'grab bag' with 4 or 5 random stepper motors for about $25. I've considered picking one up to play with them, but I'm not sure if that's a good price or not. They sound fun though.
Dan
@ Thu, 2008-07-17 03:15
Random stepper motors
@ Tue, 2008-07-15 19:07
The "grab bag" sounds very
The "grab bag" sounds very fair. I think I gave $25 for one. And I think you want as few amps and ohms as possible unless you want to drive something with it - I just like it to turn. Apart from (and including) this, I have no clue.
I just hooked it up to a standard 28 picaxe board, no special H-Bridge or anything. It says 12V, but I give it 5, and do not feel much difference if I give it more. It has 4 "signal" that I feed 2 by 2 with pause between, and 2 "Volt", that I have just short circuited and give both 5V.
I may learn some more and tell about it. For now I am looking into making some sort of cool radar with it. I think :D
@ Tue, 2008-07-15 20:00
Steppers R us
In work, my colleague and I have just completed a stepper driver. It drives a 4-wire motor 50 steps per rev with 64-microsteps per step. Get this: it has feedback using a Rotary Variable Differential Transformer. My colleague did the electronics (three H-bridges: two for the stepper and a third for the RVDT excitater. I did the software (including PID) in an FPGA. It took us nearly 8 months, but it's a sexy piece of kit.
Guess what? He's one of the ones who couldn't explain FETs ina language I understand. Maybe I'm just thick?
@ Tue, 2008-07-15 23:32
I don't understand why you'd
@ Tue, 2008-07-15 23:36
That is what I do.
@ Wed, 2008-07-16 18:58
Excellent Question
Indeed. The H-bridge is used for controlling the currents through the coils in both direrctions while micro-stepping.
Rather than pulsing each of the coils on and off in sequence, they are actually fed with a pair of out of phase sinusoidal currents . This means that even though the stepper only supports 50 steps per revolution, we can microstep, giving us a resolution of 0.1125 degrees!
Told you it was a bee-atch!
@ Wed, 2008-07-16 19:42
So you are saying that you
@ Wed, 2008-07-16 22:24
Sort of
I'm saying tha instead of switching the "attraction/repulsion" on and off, you ramp it up/down gradually. But in addition to that, yes, the current reverses so that the permanent magnet gets pushed away. I thikn your solution probably doesn;t do any pushing - only pulling.
@ Wed, 2008-07-16 22:47
Oh, got ya! I was
@ Wed, 2008-07-16 23:00
More torque
It gives more torque because you have both coils energised instead of just the one. Like I say, this has been in the lab for a loooong time with two of us working on it nearly full time. Not to mention a professional team of support engineers to call on.
Don't try this at home, kids.
@ Wed, 2008-07-16 21:07
great idea!
I absolutely LOVE the idea of the jack plug!!!
makes wonder why i never thought of that myself and always tried to consider complicated (high-noise) bearing and brush connections!
I'm really starting to love this site....a true testament to KISS ;)
@ Wed, 2008-07-16 23:08
(The last "S" would be me :)
(The last "S" would be me :) But I try to use it to my advantage :D
And you are not the only one to consider brushes etc. I got this far before quitting :)
@ Fri, 2008-07-18 21:30
Beep and fart
Don't give up! You are sooooooo close. cut eh back axle and mak teh stepper power only one of teh wheels. Get a brass gear servo instead of aplastic one for the steering. This could be so cool.
BTW - I love the video. Specially the bit at the end where the pile of sticks falls over and the small child laughing.
PS - why does everything you make have to beep and fart? Next I suppose it will be bashing stuff and recording the sounds it makes?
@ Mon, 2008-07-21 12:35
Howto wanted :P
Hello, i have two spear steppers laying around, taken from an old broken printer. One of them looks exacly like the one you used.
I'd like to use them, but i'm completely clueless about how to control them.. Why don't you write a nice tutorial fritsl ? :P Soemthing like "how to use a stepper with a picaxe board" :)
@ Mon, 2008-07-21 13:12
I am not going to make a
I am not going to make a tutorial on this one because:
A) I have other tutorials waiting for me already
B) I neither have a clue :D
However, here are my instructions, if all is 100% like mine, this will work, it is straight off the picaxe site, you may want to use high/low instead of "let pins", if you are using other 4 pins for something:
' If you use the wires in the 6 pin connector' order the following program will cause rotation
' Black +12V
' White +12V
' Yellow output7
' Red output6
' Brown output5
' Orange output4
main: let pins = %11000000
pause 10
let pins = %01010000
pause 10
let pins = %00110000
pause 10
let pins = %10100000
pause 10
goto main
Oh - and Wikipedia had some nice notes on how they work in general :)
@ Mon, 2008-07-21 14:04
for maximum torque i'd
for maximum torque i'd suggest using the following pin sequence:
11000000
01100000
00110000
10010000
If you're looking for less torque and more accuracy you can use the following:
10010000
10000000
11000000
01000000
01100000
00100000
00110000
00010000
@ Mon, 2008-07-21 18:44
Outside the Box
I've never tried this, but what are the merits of the sequence
1110
0111
1011
1101
In the case of a 4-coil motor this means that two of the coils are pulling against each other, but would there be any torque benefit?
Here's another thought: You could compromise with a mix'n'match of torque and accuracy:
1000
1100
0100
0110
0010
0011
0001
1001
When the two coils are energised you have more torque (not double the torque, just "more"). You still have accuracy with the single coil steps, but the step might not be fully complete under high torque.
@ Tue, 2008-07-22 07:58
I'm pretty sure the first
I'm pretty sure the first step sequence wouldn't work....i think it would just cause the motor to jitter and vibrate....servos aren't as versatile as you think!
the second step is a text-book approved stepping sequence...i believe it's called 'double-stepping'....not sure though.
@ Mon, 2008-07-21 21:45
well that's some info to get
well that's some info to get started, anyway :)
No, my stepper is a Sanyo, it has this id that i can't find anywere i03 -556-0270. Probably is a very old stepper.
Anyway it has the same wires as your.. now i just have to find a 12V input and i'm done. Burning my picaxe, i mean :)
@ Mon, 2008-07-21 21:50
No use to use 12V! Just hook