Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Most 5.25" floppy disk drives have a stepper motor in them for positioning the head, plus interesting widgets like optical emitters and detectors. With a little bit of work, they can be removed and put back into service with your Makezine controller. I put together a set of photos showing how I disassembled my floppy disk drive and removed the useful bits. A stepper motor has magnets, poles, and windings. The windings go around the poles, and you energize the windings in a specific order to make the motor turn in one direction or the other. A motor can have four, five, or six wires coming out of it. You will need to use an ohmmeter to determine the meaning of the wires. 4. A stepping motor with four wires has only two windings and is bipolar. You have to be able to drive it with positive and negative voltages. In order to make the magnets spin around, you need to energize the windings with positive and positive, then negative and positive, then negative and negative, then positive and negative. You don't have to worry about which pairs of wires go with which winding. Just hook all four up to the digital outputs. 5. A stepping motor with five wires has four windings and is unipolar. One of the wires is a common connection for all four windings. It will have the same resistance to the other four wires. Connect that wire to ground and the other four to the digital outputs. 6. A stepping motor with six wires has four windings and is unipolar. One of the wires is a common connection for two of the windings, and the other for the other. It will have an equal resistance measurement to two other wires, and infinite resistance to the other three. Connect both common connections to ground, and the other four to the digital outputs. Once you have the motor connected, you will need to drive it with the correct sequence. Fortunately you can't hurt the motor by giving it the wrong sequence. It will just flail around helplessly. In the program below, the sequence is set by "order". It lists the digital output numbers in the order of the windings. Keep trying orders until the motor
continuously turns in a circle. Note that the software requires the last of five be the same as the first. Uses an extra entry to keep the code clean. Run the program like this. Servo.py emits the OSC commands in the proper order and schedule. sendOSC hands them off to the Makezine controller. ./servo.py | (trap "" SIGINT;osc/sendOSC/sendOSC -h 192.168.0.200 10000)
#!/usr/bin/python """servo.py -- runs the servo around and around""" import time, sys # set this to if True: service = command = order = [ else: service = command = order = [ false to see the LEDs light up like the windings are energized. "digitalout" "value" 4,5,6,7,4 ] "appled" "state" 0,1,2,3,0 ]
set = "/%(service)s/%%s/%(command)s " % locals() set0 = set + "0\n" set1 = set + "1\n" + set + "1\n" set2 = set + "0\n" + set + "1\n" pausetime = 0.05 def run(): for i in range(0,4): sys.stdout.write(set1 % (order[i], order[i+1])) sys.stdout.flush() time.sleep(pausetime) sys.stdout.write(set2 % (order[i], order[i+1])) sys.stdout.flush() time.sleep(pausetime) try: while True: run() except KeyboardInterrupt: for i in range(0,4): sys.stdout.write(set0 % (order[i])) sys.stdout.flush()
Sign In
Help
View as slideshow
(New window )
The Makezine Controller can easily drive a floppy disk head positioning stepper motor.
8 photos | Detail view 2 comments
Photos are from between 14 Oct 06 & 16 Oct 06.
FGC2006
3 photos
Sign in | Create Your Free Account Last 7 Days | This Month | Popular Tags | Creative Commons | Search Community Guidelines | Forums | FAQ | Sitemap | Help by Email us
Save to del.icio.
Flickr Blog | About Flickr | Terms of Use | Your Privacy | Copyright/IP Policy | Report Abuse Copyright 2006 Yahoo! Inc. All rights reserved.
Sign In
Help
fd1
photos
View as slideshow
Tags
makezinecontroller floppy disassembly
Additional Information
All rights reserved
q
Taken with a Kyocera Finecam SL400R. More properties Taken on October 14, 2006 Viewed 114 times
q q
Sign in | Create Your Free Account Last 7 Days | This Month | Popular Tags | Creative Commons | Search Community Guidelines | Forums | FAQ | Sitemap | Help by Email us
Save to del.icio.
Flickr Blog | About Flickr | Terms of Use | Your Privacy | Copyright/IP Policy | Report Abuse Copyright 2006 Yahoo! Inc. All rights reserved.
Sign In
Help
fd2
photos
View as slideshow
Tags
makezinecontroller floppy disassembly
Additional Information
All rights reserved
q
Taken with a Kyocera Finecam SL400R. More properties Taken on October 14, 2006 1 person calls this photo a favorite Viewed 69 times
q q q
Sign in | Create Your Free Account Last 7 Days | This Month | Popular Tags | Creative Commons | Search Community Guidelines | Forums | FAQ | Sitemap | Help by Email us
Save to del.icio.
Flickr Blog | About Flickr | Terms of Use | Your Privacy | Copyright/IP Policy | Report Abuse Copyright 2006 Yahoo! Inc. All rights reserved.
Sign In
Help
fd3
photos
View as slideshow
Tags
makezinecontroller floppy disassembly
Additional Information
All rights reserved
q
Taken with a Kyocera Finecam SL400R. More properties Taken on October 14, 2006 Viewed 69 times
q q
carefully remove sheet metal (may have punched edges which are as sharp as a razor)
Sign in | Create Your Free Account Last 7 Days | This Month | Popular Tags | Creative Commons | Search Community Guidelines | Forums | FAQ | Sitemap | Help by Email us
Save to del.icio.
Flickr Blog | About Flickr | Terms of Use | Your Privacy | Copyright/IP Policy | Report Abuse Copyright 2006 Yahoo! Inc. All rights reserved.
Sign In
Help
fd4
photos
View as slideshow
Tags
makezinecontroller floppy disassembly
Additional Information
All rights reserved
q
Taken with a Kyocera Finecam SL400R. More properties Taken on October 14, 2006 Viewed 97 times
q q
You may need to pull friction-fit parts off, e.g. the door close lever.
Sign in | Create Your Free Account Last 7 Days | This Month | Popular Tags | Creative Commons | Search Community Guidelines | Forums | FAQ | Sitemap | Help by Email us
Save to del.icio.
Flickr Blog | About Flickr | Terms of Use | Your Privacy | Copyright/IP Policy | Report Abuse Copyright 2006 Yahoo! Inc. All rights reserved.
Sign In
Help
fd5
photos
View as slideshow
Tags
makezinecontroller floppy disassembly
Additional Information
All rights reserved
q
Taken with a Kyocera Finecam SL400R. More properties Taken on October 14, 2006 Viewed 110 times
q q
Carefully separate out reusable parts like optical sensors, LED boards, and switches.
Sign in | Create Your Free Account Last 7 Days | This Month | Popular Tags | Creative Commons | Search Community Guidelines | Forums | FAQ | Sitemap | Help by Email us
Save to del.icio.
Flickr Blog | About Flickr | Terms of Use | Your Privacy | Copyright/IP Policy | Report Abuse Copyright 2006 Yahoo! Inc. All rights reserved.
Sign In
Help
fd6
photos
View as slideshow
Tags
makezinecontroller floppy disassembly
Additional Information
All rights reserved
q
Taken with a Kyocera Finecam SL400R. More properties Taken on October 14, 2006 Viewed 137 times
q q
There may be cables attached underneath a board. If they have connectors, pull them out. If not, clip them close to the connector.
This photo has notes. Move your mouse over the photo to see them.
Sign in | Create Your Free Account Last 7 Days | This Month | Popular Tags | Creative Commons | Search Community Guidelines | Forums | FAQ | Sitemap | Help by Email us
Save to del.icio.
Flickr Blog | About Flickr | Terms of Use | Your Privacy | Copyright/IP Policy | Report Abuse Copyright 2006 Yahoo! Inc. All rights reserved.
Sign In
Help
usefulparts
photos
View as slideshow
Tags
makezinecontroller floppy disassembly
Additional Information
All rights reserved
q
Taken with a Kyocera Finecam SL400R. More properties Taken on October 14, 2006 Viewed 152 times
q q
This drive has a number of useful parts. See the notes for identifcation of the parts.
This photo has notes. Move your mouse over the photo to see them.
Sign in | Create Your Free Account Last 7 Days | This Month | Popular Tags | Creative Commons | Search Community Guidelines | Forums | FAQ | Sitemap | Help by Email us
Save to del.icio.
Flickr Blog | About Flickr | Terms of Use | Your Privacy | Copyright/IP Policy | Report Abuse Copyright 2006 Yahoo! Inc. All rights reserved.
Sign In
Help
stepper-with-controller
photos
View as slideshow
Tags
makezinecontroller floppy disassembly
Additional Information
All rights reserved
q
Taken with a Kyocera Finecam SL400R. More properties Taken on October 16, 2006 Viewed 121 times
q q
This stepper uses uni-polar windings. The white wire is the center tap. The windings are yellow, orange, red, and brown, so I connected them to digitalout 4 through 7.
Sign in | Create Your Free Account Last 7 Days | This Month | Popular Tags | Creative Commons | Search Community Guidelines | Forums | FAQ | Sitemap | Help by Email us
Save to del.icio.
Flickr Blog | About Flickr | Terms of Use | Your Privacy | Copyright/IP Policy | Report Abuse Copyright 2006 Yahoo! Inc. All rights reserved.