You are on page 1of 7

Food

Living

Outside

Play

Technology

Workshop

How to Make Musical Floppy Drives
by Analogue-Chick on May 28, 2012

Table of Contents
How to Make Musical Floppy Drives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1

Intro: How to Make Musical Floppy Drives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2

Step 1: Prepare you power supply. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2

Step 2: Determine the needed pins for your floppy drives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3

Step 3: Test you floppy drives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4

Step 4: Connect your floppy to your Arduino . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4

Step 5: Prepare the sofwares . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5

Step 6: Establish a connection to your Arduino. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5

File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6

Step 7: Open NetBeans. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6

File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

7

Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

7

http://www.instructables.com/id/How-to-Make-Musical-Floppy-Drives/

instructables. I didn't tweak anything with regards to the pin assignments.Author:Analogue-Chick Blog I love internet reading. I used Duelaminove.25 floppy disk drives. BLACK and GREEN as shown on the image. Other than that. 6) Soldering Iron/Lead . Intro: How to Make Musical Floppy Drives My brother posted a video about this on facebook almost a year ago.For dismantling purposes. Some old floppy drives playing Bach's masterpiece Toccata & Fugue and it got me really interested.. 2) Floppy Drives/Disks . it depends on you. In this miniproject however. you would only be needing 6 pins from your floppy. Phillips/Flathead screwdrivers . to activate it you need to short two wires. I want my wires to be color-coded. However.Any floppy drive would actually work but it would be a lot easier to use the 34 pin because it's common. 7) Cutter. Connect these two wires and your power supply is then activated. it would be pretty convenient to use it here. You can use any 5-volt power supply available but since an ATX power supply is just lying around the house. As a result. it depends on you. Again. particularly here .25 but to no avail and ebay sells them around $20 so nevermind about that. this project is composed only of the 3.. So I read about it when the author posted a how-to on his blog and did a couple of tweaking using SammyIAm's Musical Floppy program when the project gained a lot of attention.Ideally. Step 1: Prepare you power supply.If you want a solderless-free project. it works almost accurately just a little quieter (I don't know the reason behind that) than most but a microphone or any audio manipulating software would make a big difference. Might as well use that to make it easier. it would be pretty convenient to use it here. http://www. if you just have the power supply (without a motherboard). I was actually trying to acquire the 5.com/id/How-to-Make-Musical-Floppy-Drives/ . 5) Breadboard . On a side note.Again.Only because of the wires. 3) Power Supply . You also need some floppy disks for this project. I think I have acquired more knowledge from the internet than I have and probably ever will from a standard institution of learning. You can use any 5-volt power supply available but since an ATX power supply is just lying around the house. you need the Arduino UNO but any Arduino would work. You just need to tweak something in the program with the pin assignments. 4) CAT5 UTP Cable .For the pin you would need to connect your CAT5 UTP cable but if you still have the flat ribbon cable then good for you. Pin assignments are available online. WHAT YOU NEED 1) Arduino .

Finally. Basically. If you want to set your floppy drive to drive B. Another pin that we are interested in is the direction pin 18. Direction pin determines which direction to move.com/id/How-to-Make-Musical-Floppy-Drives/ . 11 for the ground. 19 for the ground which basically activates the stepper motor to move. you only need to determine 3 pins to make the floppy drive sing. If you look at the back of your floppy drive you would see these 34 pins. Soldering them could fry the boards of your floppy but since I don't have any flat ribbon cables and connector I soldered mine. http://www. 17 for the ground. just select drive B. Like what I said earlier. then connect wires to pins 12. forward or backward. The top pins are the even pins the bottom pins are the odd pins which is the ground. But to avoid further complications. Doesn't really matter which drive you connect your wires to.instructables. computers have up to two floppy drives A and B. pin 12 and 11. Solder at your own risk. NOTE: If you still have the flat ribbon cable then I suggest that you use it instead of soldering wires directly to the pins of your floppy drive. 13 for the ground. BLACK and GREEN to activated your power supply without a motherboard. The even-numbered pins are activated by grounding them. If you want to set your floppy drive to drive A.Image Notes 1. Step 2: Determine the needed pins for your floppy drives. This movement is actually the one causing the low-note and high-note sound coming out of the floppy drive. Connect these two wires. Just check on the image to determine which is pin 1 and so on. then connect wires to pins 14. the last pins we need to connect wires to is the step pin 20.

To activate your floppy. You can easily determine if you have the wires connected.Step 3: Test you floppy drives. so you can go on twist those wires or solder them.instructables. To activate the stepper motor you just need to tap the blue wires which is connected to the step pins.. For the second drive. Moving the stepper motor backward. Connecting the green wires together pins 17 and 18 would make your stepper move forward. Connect direction pin 18 to pin 3 and step pin 20 to pin 2 of your Arduino. all you need to do is disconnect your green wires then activate your stepper by tapping the blue wires. you need to permanently connect the drive select pins 11 and 12. Connect your floppy to your power supply and test the stepper motor. the light of the floppy drive should turn on.. Connect pins 17 and 19 (ground pins for the direction and step of your floppy drive) to the ground of your Arduino. all you need to do is connect the direction pin 18 to pin 5 and step pin 20 to pin 4. Next thing you need to do is check on the direction and step pins. Third drive's pin 18 to pin 7 and step pin 20 to pin 6 and so on. Notice that if you connect your floppy drive to the power supply nothing is happening.com/id/How-to-Make-Musical-Floppy-Drives/ . Step 4: Connect your floppy to your Arduino Connect pins 11 and 12 (Drive Select) to activate your floppy drive. that is because you need to connect pins 11 and 12 to activate it. http://www. Once you connect the wires attached to pins 11 and 12.

4. http://www.instructables. Step 5: Prepare the sofwares WHAT YOU NEED 1) Arduino Software .1.Download the following here . 4) Moppy Software (Java/Arduino Code) .You can download the following here . Java with Netbeans. Before copying the code. Once done with the download. 2) Timer1 .You can download the following here . Connect direction pin 18 to pin 3 of your Arduino.You can download the software on their website .Image Notes 1. 5) RXTXcomm Serial Driver . Connect your floppy drives and power supply. You can check it out here . Connect this to activate your floppy drive. establish a communication between your Arduino and computer. make sure that the Timer1 file is saved to the library folder of your Arduino. 3) JDK 7u4 with NetBeans 7. Connect step pin 20 to pin 2 of your Arduino. Once you're done downloading and installing everything.Program developed by SammyIAm. You may also need to set-up everything on the hardware side.com/id/How-to-Make-Musical-Floppy-Drives/ . Connect pins 17 and 19 together to the common ground of your Arduino. 2. you need to copy this to the library folder under Arduino. 3.2 . Step 6: Establish a connection to your Arduino. especially the Arduino software.

After downloading.dll / rxtxSerial. This is where you would encounter the RXTX problem.txt'] Step 7: Open NetBeans. Once you have the MoppyDesk project open. load the midi file and hit on START. http://www. rename it to 'Timer1.File Downloads Timer1. if not then good for you. It would be ideal to choose something which is moderate at speed and something that does not sustain a note for too long. download the RXTXcomm.dll files via this website ..instructables. If all goes well.. run it by clicking on the green play button.com/id/How-to-Make-Musical-Floppy-Drives/ . just be sure that you copy the following to its respective folders: RXTXcomm. Congratulations!!! You have now a musical floppy.jar and the rxtxParallel.jar goes in \jre\lib\ext (under java) rxtxSerial. A new window should appear of you don't encounter that RXTX problem. Open your NetBeans and load-up the MoppyDesk project developed by SammyIAm. You can choose to open it at via his website or just download the folder below. just message me and we'll try to sort it out or your could just google for this rxtx issues. copy the file to the NetBeansProjects folder usually located at My Documents for Windows. Just choose the correct port for your Arduino. if you see . The MoppyDesk window will then ask for the Arduino port. if you do encounter it.tmp as the file ext.txt (6 KB) [NOTE: When saving. Just make sure that once you download the following file. a new window will appear. I'm sure you'll find solutions to this online.dll goes in \jre\bin (under java) If you still encounter the problem. However. Some tips on midi file: Choose the simplest midi file as possible.

rar (206 KB) [NOTE: When saving. rename it to 'MoppyDesk.tmp as the file ext. if you see .rar'] Related Instructables Millennium Falcon and XWing from Floppy Disk (with Special Guest Appearance: Death Star) by Jetpack5 Darth Vader's TIE Advanced X1 made from Floppy Disks! by Jetpack5 How to enable telnet in Windows Vista by Hoboman Star Wars ATAT Imperial Walker Loft Bed (video) by BykManDan Star Wars Cmd Hack by techno_pig Star Wars Boutonnieres by kristylynn84 http://www.com/id/How-to-Make-Musical-Floppy-Drives/ .File Downloads MoppyDesk.instructables.