This was a conclusion to a thread a while back (so old I can't reply on that): http://www.picaxeforum.co.uk/showthread.php?t=5077&highlight=help+needed+stepper' Stepper Y129-5
' 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
A friend of mine is using the same stepper motor with an 08M. Haven't got the circuit with me so this tread my not move fast.
Anyway, the computer he's using won't download in basic only flowchart from PICLogicator. Eventually I hacked the code into a 08M worthy flowchart and got it turning. The weird thing is the wiring.
The motor was wired up as said by Tech but it didn't work. I disconnected the black and white wires (both +12v) and it worked -slowly. The wait time was 0.1 seconds. As soon as I plugged the black and white in it didn't work again and the 08M heats up (thus I haven't had the black and white connected for very long each time). The 12v supply is from a big mains transformer and could use PWM, a simple transformer, not sure at all. The chip is powered and working fine from 3 x AA's.
Can anyone explain why:
1. the motor can turn when it only has the power from the PICAXe output pins (I thought it would need more)
2. Why the motor doesn't work when the black and white are connected to +12v?