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 01-01-2007, 01:40 PM
 
Join Date: Jun 2005
Location: USA
Posts: 866
phantomcow2 is on a distinguished road
What should "Opto-com" connect to?

I have three of these stepper drivers, which I have soldered up and all:
http://www.bright.net/~agarb/STMD/AVR_STMD.html

I ran them in test mode, and it worked. So I am pretty sure all is well.

I am now trying to get some motors to run. I have a logic input of 14v, which gets reduced to 5. It calls for 9-20v input. I have a motor input of 28v, this has a max of 48 I think.

So I have it so that my pin 2 if X step, pin 3 X dir. Pin 4 is y step, and pin 5 is y direction.
But theres also this connection, "opto-com". What is this supposed to connect to? I can't figure that out. Kcam is the only thing that seems to run on my laptop, so I have that setup. When I connect the opto-com to the ground pin (25) on my breakout board, I get no movement at all. For some reason, I connected opto-com to the same pin as step. Well, it works....in one direction. So I can get my motors to rotate one way only. Does anybody know how to rectify this?
Reply With Quote

  #2  
Old 01-01-2007, 11:50 PM
Gold Member
 
Join Date: Oct 2004
Location: USA
Posts: 742
CJL5585 is on a distinguished road

When I connect the opto-com to the ground pin (25) on my breakout board, I get no movement at all. For some reason, I connected opto-com to the same pin as step. Well, it works....in one direction. So I can get my motors to rotate one way only. Does anybody know how to rectify this?
--------------------------------------------------------------------------

Per the schematic Opto_com is NOT hardwired to the 5 Volt logic supply ground. This point is the (Cathode) or the ground end of the LED inside the optocoupler. The 5 Volt signal which comes from the parallel printer port to the breakout board goes to the (Anode) or positive side of the LED inside the optocoupler. So, when a positive 5 Volt signal is applied to the step or direction input pin the appropriate LED will illuminate internal to the optocoupler and create a signal path.

In this configuration the Opto_com connection requires a connection to the ground pin (25) on the breakout board.

In order for the system to work as designed, the software you are using must be set-up for the Outputs to be set to Active High. This means that a 5 VDC signal pulse is present with each step of the motor, and that when 5 Volts is present at the direction pin the motor steps in one direction, and when the direction pin sees 0 VDC the movement is in the opposite direction.

Looking at the schematic, I believe that you will have to have 5 VDC on the Enable pin in order to have an output. I did not see anything that would explain how you had movement with the Opto_com signal to the step pin. Under normal conditions the unit would not allow movement with the step pin pulled low and remaining low. (It could have allowed movement, however, if the direction pin was the one held low.)

EDIT:
If you can, verify that the output voltages from the parallel printer port are near 5 Volts DC when a logic 1 or "HIGH" output is sent. If you are using a laptop, some output the logic 1 levels at around 3 Volts DC which will not switch logic levels designed for 5 Volts DC.

Hope this helps.
Jerry

Last edited by CJL5585; 01-02-2007 at 01:11 AM. Reason: To add information.
Reply With Quote

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





All times are GMT -5. The time now is 04:35 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