Page 1 of 1
mini-CNC project

Posted:
Thu Jun 21, 2012 7:54 am
by hang5043
I had bought 3 stepper[42BYGHD-444 LINIX Stepping Motor ] and 3 driver[SD02B] may i know how to connect these 3 to Arduino Duemilanove cause Arduino Duemilanove only have 1 [tx] & [rx] pin
[ADMIN] reply me : SD02B provide 2 type of interface, the digital input and UART. You can try to connect two SD02B using digital input and one SD02B with UART. of course you will need to try that out, we do not have example controlling so many SD02B from a controller
how the connection for digital ? [sry, i new for this]
Re: mini-CNC project

Posted:
Thu Jun 21, 2012 9:22 am
by yonghui
hi,
i think u can connect using any digital IO. connect the pins of
1. Pulse
2. DIR
3. EN
pulse is to move the stepper motor, when EN is active. DIR is to controller the rotation direction CW or CCW.
for the pulse generation, u can use PWM. by changing the frequency of PWM then u can get diffrent speed. normally set the pulse width to 50%.
regards,
yh
Re: mini-CNC project

Posted:
Tue Jul 10, 2012 4:30 pm
by hang5043
TO: YH
thx for your guide
sry for late reply, cause of exam
so temporary hold all the work
it was a nice idea, for the PWN , i understand le =)
but how i connect EN & DIR '.' ?which pin should i connect to ?
PWN too ?
Re: mini-CNC project

Posted:
Thu Jul 12, 2012 1:23 pm
by yonghui
the pulse pin will make the stepper start moving. .
en pin is to enable the stepper, so it will has the holding torque. if en is low the stepper is in released state (easily turned)
dir pin is to control the direction of turning of the stepper motor.
en pin and dir pin can be connected to any digital IO pin of controller. if u can set high or low on the digital IO pin then u can use the digital pin.
Re: mini-CNC project

Posted:
Thu Jul 12, 2012 1:26 pm
by yonghui
for arduino
the digital IO pins are suitable.
if not enough u can use those analog pins on left by setting them as digital IO.
Re: mini-CNC project

Posted:
Mon Jul 16, 2012 7:19 am
by hang5043
TO : YH
really thanks you so much
now i know how to do for the connection le...
thanks for your guide
