mini-CNC project

Talk about Arduino board, sheilds. Sharing Arduino projects, program, problems, solutions, suggestions..... many more, all are welcome.

mini-CNC project

Postby hang5043 » Thu Jun 21, 2012 7:54 am

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]
hang5043
Greenhorn
 
Posts: 3
Joined: Thu Jun 21, 2012 7:42 am

Re: mini-CNC project

Postby yonghui » Thu Jun 21, 2012 9:22 am

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
thanks&regards,
yh
yonghui
Moderator
 
Posts: 732
Joined: Mon Sep 28, 2009 3:27 pm

Re: mini-CNC project

Postby hang5043 » Tue Jul 10, 2012 4:30 pm

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 ?
hang5043
Greenhorn
 
Posts: 3
Joined: Thu Jun 21, 2012 7:42 am

Re: mini-CNC project

Postby yonghui » Thu Jul 12, 2012 1:23 pm

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.
thanks&regards,
yh
yonghui
Moderator
 
Posts: 732
Joined: Mon Sep 28, 2009 3:27 pm

Re: mini-CNC project

Postby yonghui » Thu Jul 12, 2012 1:26 pm

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.
thanks&regards,
yh
yonghui
Moderator
 
Posts: 732
Joined: Mon Sep 28, 2009 3:27 pm

Re: mini-CNC project

Postby hang5043 » Mon Jul 16, 2012 7:19 am

TO : YH

really thanks you so much
now i know how to do for the connection le...
thanks for your guide :)
hang5043
Greenhorn
 
Posts: 3
Joined: Thu Jun 21, 2012 7:42 am


Return to Arduino Based

Who is online

Users browsing this forum: No registered users and 23 guests