Andres Rodriguez
New Member
I'm trying to drive a stepper motor available on Ebay http://www.ebay.com/itm/2pcs-DC-5V-Stepper-Motor-ULN2003-Driver-Test-Module-Board-28BYJ-48-for-Arduino-/221347325924?pt=LH_DefaultDomain_0&hash=item33895427e4
It is not clear whether it is Unipolar or Bipolar but with the motor they include a circuit board as shown below. I wonder if I could drive it with a Picaxe 08M2. Any input, suggestion will be appreciated.
The complete circuit and code I have in mind are shown below.
It is not clear whether it is Unipolar or Bipolar but with the motor they include a circuit board as shown below. I wonder if I could drive it with a Picaxe 08M2. Any input, suggestion will be appreciated.
The complete circuit and code I have in mind are shown below.
Code:
#picaxe 08m2
setfreq m4 'Set PIC clock at 4MHz
Symbol Paus = W0
DirsC = %10111
PinsC = 0
Paus=500
Do
PinsC=%10010
Pause Paus
PinsC=%10001
Pause Paus
PinsC=%00101
Pause Paus
PinsC=%00110
Pause Paus
Loop