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 > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-07-2004, 07:33 PM
Konstantin's Avatar  
Join Date: Feb 2004
Location: Mexico
Posts: 465
Konstantin is on a distinguished road
Fun with floppy stepper and driver

Hi all again.
You know I kind of feeling lonely here. I post and I post and ppl just read the post and sez nothing, at least drop a few lines like "Keep it up" or "Hi there, I dont know nothing about the subject, keep trying". Lend me a shoulder here please *snif* *snif*

Ok back to the topic.

While I am learning about steppers and I have aquired a small amout of old junk computer hardware and lately been using floppy disk drive parts to drive the stepper that was in the drive. It was a 5 1/4 old floppy drive with the electronics and the stepper in good shape.
Since I have no regular driver board yet and I have some salvaged steppers from disk drives and printers I dicided to experiment using its own floppy's stepper driver.

So using the information from this sites ...

Pinouts : http://www.doc.ic.ac.uk/~ih/doc/stepper/tm100/
Program : http://jewel.morgan.edu/~tmalone/dskdrv/dskdrv.html

... and a bit of tweaking I found that my particular floppy drive uses pin 12 to select the head stepper , pin 16 to power the stepper , pin 18 as direction and pin 20 to step.
So I hooked up the driver board to my LPT using
LPT pin 2 to driver board 20 step
LPT pin 3 to driver board 18 direction
LPT pin 20 to driver board GND

The floppy driver turns the stepper to 'home' position on boot up and I am yet to figure out how to remove that feature, there are lots of jumpers on the driver board tho I cant tell what they do.


So far I have only found those small programs written in C (link above) and tried to run them with mixed success. The last program named DSKDRV3 works for me partially. The first part of the program suppose to turn the stepper clockwise and it just vibrates without moving, then the pause and after it do turns clockwise while it suppose to run CCW.

I dont remember much about programming but can compile the program on Turbo C 2.

Anybody used floppy drive steppers?
Attached Thumbnails
Click image for larger version

Name:	set50_01.jpg‎
Views:	507
Size:	71.9 KB
ID:	1697  
Reply With Quote

  #2   Ban this user!
Old 03-07-2004, 08:30 PM
abasir's Avatar  
Join Date: Apr 2003
Location: Malaysia
Posts: 361
abasir is on a distinguished road

Konstantin,
Don't be disheartened by the lack of response. From what I gather, most members here are CNC-centric. They are some of us who are also electronically inclined (and little money) and do our own testing. I've use floppy steppers before but not using the original driver board. It's too cumbersome to program and you cannot use 'normal' stepper controller software.

If you can find unipolar motor from the floppy, I have 10 of them with 5 wires, then your prototyping would be significantly easy. Just connect few transistors and resistor and you are set to use TurboCNC/KCam using wave-drive. Then you would be able to quickly come up with workable system.

Just drop me a line if you need some more help
__________________
Stupid questions make me smarter...
See how smart I've become at www.9w2bsr.com ;-P
Reply With Quote

  #3  
Old 03-07-2004, 10:30 PM
Mr.Chips's Avatar
Gold Member
 
Join Date: Sep 2003
Location: USA Tucson AZ
Posts: 1,239
Mr.Chips is on a distinguished road

Konstantin
I don't have any experience with stepper motors from floppy drives, and don't remember anyone using them as a stepper motor on this site.
Seems I have seen links on the internet of people that have used them but I don't know where.
Sorry couldn't have been of more help
Hager
Reply With Quote

  #4   Ban this user!
Old 03-07-2004, 10:35 PM
 
Join Date: Jan 2004
Location: United States
Posts: 490
Hobbiest is on a distinguished road

I have wired electrical systems in cars from scratch, but the EE of PCB (accronyms rock!) is way out of my league! Right now anyway! Being a scrounger who builds cars, bikes, and machines from garbage and junkyard stuff, I think it is totally cool that you have figured out these floppy steppers! Now you need to build a small machine using all printer and scanner parts for the ways, and floppy steppers for the motion. Scanners have a moving carriage, that is like 10" wide, and I think would maybe be used for some cool proopf of concept type of design!
__________________
Stop talking about it and do it already!!!!!

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #5   Ban this user!
Old 03-07-2004, 11:28 PM
Konstantin's Avatar  
Join Date: Feb 2004
Location: Mexico
Posts: 465
Konstantin is on a distinguished road

I think I am on the right track with this stepper driver.
Abasir: yes the stepper I have is unipolar.

The driver board DO works properly. I have found the problem. The problem was that the instructions that were run by the program were not all good for my driver board. I think that this driver needs the step pulse to be at least 50ms and since only the latter part of the code was executed properly then checked the code and found that the first part used 25ms timing.
From http://jewel.morgan.edu/~tmalone/dskdrv/dskdrv.html
File COMMAND.DAT. This ASCII file is prepared by the user to control the motor as required to perform a task.


T 0 25 5000 /* turn one way fast for 5000 ms */
P 5000 /* pause for 5000 ms */
T 1 50 5000 /* turn other way for 5000 ms */
Q /*quit*/
First line uses 'T 0 25 5000' 25ms step pulse wich the driver board did not support, that is why I had vibration instead. Now that I changed it to 50ms the little program does make it turn one way and then another so I think the driver works.
T 0 50 5000 /* turn one way fast for 5000 ms */
P 5000 /* pause for 5000 ms */
T 1 50 5000 /* turn other way for 5000 ms */
Q /*quit*/

What is the timing on a 'normal' stepper driver?

Now that I know this works, maybe a bit too slow but nevertheless for my learning purposes, what should I do next?

I have this 'black hole' in my head about interfacing the driver board to software, so here I have now a working 1 stepper setup using LPT pins 2 and 3 for step and direction, Id like to hook it up to a commercial program. Later I could add another axis from another floppy drive to make a XY table.
I am going to dl a demo of TurboCNC/KCam if there is any and try to do something.

Konstantin.
PS
Now a bit off topic, I salvaged this magnificent Maxtor 148 MB hard drive from a i386 20MHz server, the housing is full tower and it weights alot. Look at these 8 HD platters, 17.5 MB each plate. The whole thing is pretty heavy. Look at the size of that thing. After I remove the the platters and the voice coil I could do a jewlery box out of it.
I hope I can engrave those platters for a clock sometime, whould make a hell of a clock.
Attached Thumbnails
Click image for larger version

Name:	set52_03.jpg‎
Views:	350
Size:	51.1 KB
ID:	1699  

Last edited by Konstantin; 03-07-2004 at 11:42 PM.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-08-2004, 01:18 AM
abasir's Avatar  
Join Date: Apr 2003
Location: Malaysia
Posts: 361
abasir is on a distinguished road

>>> What is the timing on a 'normal' stepper driver?

There's no 'normal'. It all depends on the voltage applied & the motor's dynamics & loads. On my DIY, it's running at about 5000pps -> 0.2ms per step at max speed.
__________________
Stupid questions make me smarter...
See how smart I've become at www.9w2bsr.com ;-P
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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stepper Motor and Driver Questions? ljoe1969 General Electronics Discussion 10 10-06-2007 11:00 AM
Stepper Driver Questions bcromwell General Electronics Discussion 10 09-25-2006 03:01 AM
Controlling Stepper motor driver boards scarr General CNC (Mill and Lathe) Control Software (NC) 4 01-28-2006 08:17 AM
servos motor controled by stepper motor driver? mike10 Servo Motors and Drives 1 01-03-2005 05:05 PM
Selecting stepper driver components... fyffe555 General Electronics Discussion 0 09-26-2003 09:50 AM




All times are GMT -5. The time now is 08:44 PM.





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