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! > WoodWorking Machines > DIY-CNC Router Table Machines


DIY-CNC Router Table Machines Discuss the building of home-made CNC Router tables here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-07-2005, 11:01 PM
Rance's Avatar  
Join Date: Jan 2005
Location: US (22405)
Posts: 302
Rance is on a distinguished road
First movement... sortof

And No, this aint about Beethoven .

I've got my floppy disk drive stepper cobbled to the parallel port. Using TurboCNC, Y axis only driving the controller board directly. I boot up in DOS mode and run from there.

I seem to only be able to get the motor to turn one direction. I installed TurboCNC and am using ALL the default INI settings except for lpt port ($278 I believe). By pressing the up/down arrows, I can get the motor to move but in one direction only. I swapped the lines (step/dir) to make sure I did not have them reversed but then it only moves one step when I go from up to down (or down to up, I can't remember).

If I change EITHER of the pin configurations in the INI file to another pin, then the motor does nothing. I did this to confirm that I had the right two wires. I believe my test is conclusive on this.

Additionally, I can measure the voltage at one of the pins using my DVM and can see one of the wires go from 0v to 5v when I change direction (using Jog).

My inkling is that the config file needs some tweaking, that it's timing is off.

Tools at hand: DVM, electronics knowledge, very little money . I thought one of you veterans might be able to shed some light or point me to where I could find the answer. Thanks in advance.

Rance
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 09-07-2005, 11:26 PM
 
Join Date: Apr 2004
Location: Wartrace, TN
Posts: 160
esmiller is on a distinguished road

It has been some time since I hacked a floppy drive controller, but I *THINK* I recall that some of them had separate pins for CW & CCW movement.. That is Clockwise & Counter-Clockwise stepping...

Is there anybody who can confirm that i recall correctly on certain floppy controllers, or am I recalling something else and getting it confused with floppy controllers in my older age... ??

Eddie
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 09-07-2005, 11:40 PM
Rance's Avatar  
Join Date: Jan 2005
Location: US (22405)
Posts: 302
Rance is on a distinguished road

Eddie,

I think its old age . The documentation I have shows Step / Dir. going into the drive controller. This could still be part of the problem though.

Edit: Eddie, actually cw/ccw is the same as the Dir pin. Thanks.

Rance

Last edited by Rance; 09-08-2005 at 08:06 PM.
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 09-08-2005, 12:04 AM
abasir's Avatar  
Join Date: Apr 2003
Location: Malaysia
Posts: 361
abasir is on a distinguished road

Check here:
http://www.epanorama.net/circuits/diskstepper.html

Maybe you need to extend the pulse width. The article said you need about 10ms, TurboCNC pulsewidth is specified in microseconds (us). Not sure whether you can put 10000us as pulse width in turbocnc
__________________
Stupid questions make me smarter...
See how smart I've become at www.9w2bsr.com ;-P
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 09-08-2005, 08:04 PM
Rance's Avatar  
Join Date: Jan 2005
Location: US (22405)
Posts: 302
Rance is on a distinguished road

abasir,

That's what I've been working from. Thanks anyway.

I continued to make modifications to the INI file configuration. In checking things, I found out that it acted differently when I touched the DVM probe to the Step pin on the cable. Its times like these when I wish I had an O-Scope. I'm beginning to think that I'm having problems with the port not being strong enough to drive my floppy controller board. I believe the levels here are both 5v logic. The length of my cable is not more than 4' so I don't suspect that. Any other ideas to try? Thanks.

Rance
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-08-2005, 08:15 PM
abasir's Avatar  
Join Date: Apr 2003
Location: Malaysia
Posts: 361
abasir is on a distinguished road

Tap +5V from the motherboard (disk power connector, etc).
Put a 470 ohm pull up on the step/dir lines.
__________________
Stupid questions make me smarter...
See how smart I've become at www.9w2bsr.com ;-P
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 09-09-2005, 05:19 PM
Rance's Avatar  
Join Date: Jan 2005
Location: US (22405)
Posts: 302
Rance is on a distinguished road

abasir,

Good idea! Are the printer outputs open collectors?

Just tried that, no difference. Just for grins, I tried tying them to ground and no difference either. I'm guessing that I'll have to put a buffer (driver) in there to drive the lines. Yesterday I disconnected the printer port completely and just used hardwire inputs and the drive worked as expected, in both directions. If I hook up a driver in the line, would you have any suggestions as to which driver to use? Maybe I could just use some 6426 darlingtons w/pullups.

To answer your question the other day, TurboCNC only allows me to put a max of 999 for the pulse width. However, with a setting of just 10, I can load up the Sherline sample cnc file and run it and the motor will do stuttering turns. It should normally run each axis the full length of the settings. In addition, when it is running Sherline, if I touch the signals (either Step or Direction) it slows down a little.

Rance
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 09-09-2005, 09:47 PM
Rance's Avatar  
Join Date: Jan 2005
Location: US (22405)
Posts: 302
Rance is on a distinguished road

Hooray, I have expected movement!

I had purchased a newer drive on the way home from work to replace the Tandon drive that I have been fiddling with. A quick test and I found out that this newer drive (a Teac drive) works! I can successfully Jog it back and forth, I can stop on a dime and give you nine cents change.

This concludes a BIG milestone for me on this small machine I am building. My next milestone will be to find out how much torque these small steppers will give me and if need be, is there anything I can do to squeze more torque out of them.

WoooHooo, we have movement!!! Last but not least, thanks for your help guys.

Rance
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 01-27-2006, 06:12 AM
 
Join Date: Jan 2006
Location: sweden
Posts: 2
basshead is on a distinguished road

hi rance!

nice to see u got it running! i have tried all i can think of but i still don't get any movement on my floppy. can u please share the pinouts u used?

peace! (and CNC)
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 01-27-2006, 09:52 AM
Rance's Avatar  
Join Date: Jan 2005
Location: US (22405)
Posts: 302
Rance is on a distinguished road

Bass,

From the http://www.epanorama.net/circuits/diskstepper.html page, Search for 'PC parallel port to stepper-motor interface' and the diagram is just below the text. And don't forget to connect the floppy to a power cable from a PC power supply.

Do a process of elimination, try another floppy (even one with the small steppers), and another computer (preferrably NOT a laptop). The computer would be my first suspect component. Not all parallel outputs are the same level. I believe that was what was causing me problems at first.

Until you get past this stage, don't even bother trying to disassemble the floppy, just work to get one that will work first.

Lastly, consider writing some quick code in QBasic to drive the printer port rather than trying TurboCNC or Mach software. Work to simplify the setup. Hope this helps.

Rance
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 01-27-2006, 12:40 PM
 
Join Date: Jan 2006
Location: sweden
Posts: 2
basshead is on a distinguished road

cool man!

i forgot to mention that i am trying this on a modern, 3 1/2". maybe i'll just swing by the recycling station tomorrow and look for a 5 1/4" instead. tomi's page is great for info. i just built a kit 158 driver board which works great! but you know how it is, if you got something in your scrap pile, -"hey maybe i can use that too..." feeling. ;-)

thanks for the reply.
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 01-28-2006, 10:08 AM
Rance's Avatar  
Join Date: Jan 2005
Location: US (22405)
Posts: 302
Rance is on a distinguished road

[i am trying this on a modern, 3 1/2". ]

The 3.5 will work just fine for testing. The pinout should be the same too. It's fun to see things move.
Tweet this Post!Share on Facebook
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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On





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