CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Electronics > Stepper Motors and Drives


Stepper Motors and Drives Discuss stepper motors, drivers and related topics here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 12-09-2010, 12:07 AM
 
Join Date: Dec 2010
Location: US
Posts: 8
Cain is on a distinguished road
Don't know how to use stepper driver

I recently acquired a stepper driver (CY-41), I have the datasheet and complete pinout, I just have no idea how to make it work.

Here's all the useful bits from the .PDF in .jpg form:

http://img706.imageshack.us/img706/4941/74408178.jpg

http://img30.imageshack.us/img30/8784/90117057.jpg


I just don't understand how I'm supposed to control it, there's no interface port for a computer of any kind built onto it, it's a small rectangular aluminum brick with metal pins sticking out the top.

The motors still have the connectors for them, so I'm fine with that, but what does "High" and "Pulled Low" mean (NC is Not Connected, right?) Is the pin "High" if I connect 12v from the power supply to it, and "Pulled Low" if I connect one of the ground wires to it?

Is the resistor to limit the motor current required, or can it be left out?

Is this something I could hook to a parallel port to control a stepper? How many of this controller could I hook to a parallel port to control, if possible?

Sorry for so many questions, I've had the parts and the motors for years to make a cnc machine, but I've always had an extremely hard time with the electronics, I've never had a stepper motor run before
Reply With Quote

  #2   Ban this user!
Old 12-09-2010, 02:45 AM
naveen.a019's Avatar  
Join Date: Jan 2009
Location: India
Posts: 18
naveen.a019 is on a distinguished road
Post

First of all you need to brush up on stepper motor basics...
Reply With Quote

  #3   Ban this user!
Old 12-09-2010, 07:40 AM
vger's Avatar  
Join Date: Jan 2006
Location: usa
Posts: 664
vger is on a distinguished road

The resistor must be there and of the correct value for your motor.
Pulled low means at or near ground from a logic level driver (parallel port)
High means +5 volts from a logic driver (parallel port)
NC means not connected.

You will only need to connect pins 3, 4, 7, 8, 9, & 10.

Pins 3 and 4 will connect to the parallel port (perhaps through a break out board)

Pin 7 must connect to a +5 volt power supply.

The correct resistor must connect across pins 8 and 9

Pin 10 must connect to the stepper motor power supply ground, and the 5 volt power supply ground, and ground from the parallel port or breakout board.

Don't get frustrated, just read a lot, and look at how other stepper motor drivers are connected.
Reply With Quote

  #4   Ban this user!
Old 12-09-2010, 10:28 AM
 
Join Date: Dec 2010
Location: US
Posts: 8
Cain is on a distinguished road

Originally Posted by vger View Post
The resistor must be there and of the correct value for your motor.
Pulled low means at or near ground from a logic level driver (parallel port)
High means +5 volts from a logic driver (parallel port)
NC means not connected.

You will only need to connect pins 3, 4, 7, 8, 9, & 10.

Pins 3 and 4 will connect to the parallel port (perhaps through a break out board)

Pin 7 must connect to a +5 volt power supply.

The correct resistor must connect across pins 8 and 9

Pin 10 must connect to the stepper motor power supply ground, and the 5 volt power supply ground, and ground from the parallel port or breakout board.

Don't get frustrated, just read a lot, and look at how other stepper motor drivers are connected.
Thanks, this has been very helpful, although I still have a few questions...

So, pin 7 needs +5v. Could I just use a computer power supply to supply the +5v and the +12v for the motor, and just use any ground wire from the power supply?

Also, 2 pins of a parallel port needed...wouldn't I need to use a ground pin from the parallel port too? where would that go?

I understand how steppers work, the drivers just confuse me horribly. Thanks guys.


EDIT: Just re-read that, nevermind about the ground question...should not read things like this at 6 AM.

So, say I wanted to test this driver to see if it even worked. Could I substitute the parallel port for a low-voltage power supply, and rapidly connect/disconnect the step in pin (3) to make the motor step a few times?
Reply With Quote

  #5   Ban this user!
Old 12-09-2010, 11:47 AM
vger's Avatar  
Join Date: Jan 2006
Location: usa
Posts: 664
vger is on a distinguished road

You should use a seperate power supply for the 5V. If you have an extra computer power supply, that will work, as long as you have it jumpered so it will operate without being connected to a computer.

To test, you will be touching the step pin to ground. Ground in this case being one of the black wires from the computer supply you are using. Internally of the driver there is an opto-isolator. The LED in the opto-isolator(s) is connected so that the positive side goes to the +5V pin (through a resistor) and the negative side goes to the input pin. So with 5V on pin 7 when you ground (take low) the step input pin, the step occurs.

The ground of the 5V supply (any of the black wires on a computer supply) must be connected to one of the ground pins on the parallel port for it to work with the computer.

I was a bit wrong here....

"Pin 10 must connect to the stepper motor power supply ground, and the 5 volt power supply ground, and ground from the parallel port or breakout board.
"
I should have said....

Pin 10 must connect to the stepper motor power supply ground, and the 5 volt power supply ground must be connected to the ground on the parallel port or breakout board.

You do not have need to connect the stepper motor power supply ground (pin 10) to the ground of the 5V supply. Although it would probably not hurt anything, it is not needed.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-10-2010, 09:22 PM
 
Join Date: Dec 2010
Location: US
Posts: 8
Cain is on a distinguished road

Originally Posted by vger View Post
You should use a seperate power supply for the 5V. If you have an extra computer power supply, that will work, as long as you have it jumpered so it will operate without being connected to a computer.

To test, you will be touching the step pin to ground. Ground in this case being one of the black wires from the computer supply you are using. Internally of the driver there is an opto-isolator. The LED in the opto-isolator(s) is connected so that the positive side goes to the +5V pin (through a resistor) and the negative side goes to the input pin. So with 5V on pin 7 when you ground (take low) the step input pin, the step occurs.

The ground of the 5V supply (any of the black wires on a computer supply) must be connected to one of the ground pins on the parallel port for it to work with the computer.

I was a bit wrong here....

"Pin 10 must connect to the stepper motor power supply ground, and the 5 volt power supply ground, and ground from the parallel port or breakout board.
"
I should have said....

Pin 10 must connect to the stepper motor power supply ground, and the 5 volt power supply ground must be connected to the ground on the parallel port or breakout board.

You do not have need to connect the stepper motor power supply ground (pin 10) to the ground of the 5V supply. Although it would probably not hurt anything, it is not needed.
Holy ****, it worked!

Finally some progress....it actually MOVED

So, since each motor requires 2 inputs, I could control 4 motors with a parallel port and correct input...

This makes me wonder how I could, say, control 3 motors and have either limit switches or optos so I would be able to find the home position...

Time to read up some more on control software. Thanks for your help, this is a huge step in the right direction for me.
Reply With Quote

  #7   Ban this user!
Old 12-11-2010, 08:01 AM
vger's Avatar  
Join Date: Jan 2006
Location: usa
Posts: 664
vger is on a distinguished road

Great! Yep, 4 motors or... maybe even 5... The parallel port has some other inputs and outputs originally intended for things like Strobe, Paper Out, Error, Busy, Acknowledge, etc... In addition to the 8 data lines (pins 2-9) There are 4 outputs and 5 inputs. I've got 2 outputs running to SSR's (solid state relays) to control the spindle and dust collector and 3 inputs connected to optical limit switches.

What software are you using? Mach3? TurboCNC? EMC2?

Steve
Reply With Quote

  #8   Ban this user!
Old 12-11-2010, 10:20 AM
 
Join Date: Dec 2010
Location: US
Posts: 8
Cain is on a distinguished road

Originally Posted by vger View Post
Great! Yep, 4 motors or... maybe even 5... The parallel port has some other inputs and outputs originally intended for things like Strobe, Paper Out, Error, Busy, Acknowledge, etc... In addition to the 8 data lines (pins 2-9) There are 4 outputs and 5 inputs. I've got 2 outputs running to SSR's (solid state relays) to control the spindle and dust collector and 3 inputs connected to optical limit switches.

What software are you using? Mach3? TurboCNC? EMC2?

Steve
None yet, looks like I'm probably going to use EMC2, been reading the documentation.

I'm actually a highschool student, also building a reprap for my senior project. My electronics teacher was tossing out a large number of steppers and other equipment (Not enough time to tech them to kids anymore, along with impatient students, etc.) so I decided to take them off his hands, he's extremely supportive.

I'm going to download EMC2 shortly, thanks for your help.
Reply With Quote

  #9   Ban this user!
Old 12-12-2010, 08:47 AM
vger's Avatar  
Join Date: Jan 2006
Location: usa
Posts: 664
vger is on a distinguished road

RepRap machine! Cool I've been thinking of building one too when I get past some other projects...

Best of luck.
Steve
Reply With Quote

  #10   Ban this user!
Old 04-12-2012, 02:13 PM
 
Join Date: May 2008
Location: Belgium
Posts: 8
gylron is on a distinguished road

Hope someone can help me out with this; I've got CY-40 drivers which are actually in a Huntron Robotic Prober 388. These are similar with the CY-41's of Cain. Can someone tell me at which frequency these drivers are run?

Thanks,
Ronny.
Reply With Quote

Sponsored Links
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie- Best MOSFET Driver and MOSFET choice for an H-Bridge Stepper Driver? joprinz General Electronics Discussion 4 04-28-2011 03:57 AM
Need Help!- Power Supply for 4 Stepper Driver 32-65VDC and 4 Stepper Motor 65V 2.3A guy2b1 DIY-CNC Router Table Machines 16 03-08-2011 05:50 AM
Need Help!- 6 leads stepper motor connect to TB6560AHQ stepper driver board wf1318 Stepper Motors and Drives 2 07-25-2010 02:19 AM
Wanted DIY stepper driver circuit for 6 wire stepper motors Colin300 Australia, New Zealand Club house 5 09-20-2007 09:20 PM
STEPPER DRIVER FAQ {Stepper/driver amp per phase match. huios Stepper Motors and Drives 0 08-27-2006 08:43 AM




All times are GMT -5. The time now is 11:28 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361