CAM00386

Remember the famous floppy drives? They’re back… with multiplied force (yes, THAT „force”) and some friends!

I have bought some more drives in order to expand the previous project back in 2012, which spent four years in a carton box. Together with new floppy drives, some more hardware has arrived: hard disk and optical scanners. Now I have the whole computer hardware orchestra – 64 floppy drives, 8 hard disks and 2 scanners – The Floppotron.

How does it work? The principle is simple. Every device with an electric motor is able to generate a sound. Scanners and floppy drives use stepper motors to move the head with sensors which scans the image or performs read/write operations on a magnetic disk. The sound generated by a motor depends on driving speed. The higher the frequency, the greater the pitch. Hard disks use a magnet and a coil to tilt the head. When voltage is supplied for long enough, the head speeds up and hits the bound making the „drum hit” sound. The disk head coil can also be used as a speaker to play tones or even music, but… that would be too easy and too obvious.


    
Every column of 8 floppy drives is connected to one 8-channel controller built on ATMega16 microcontroller. One controller acts as one voice with envelope simulation – the higher the volume, the more drives are playing. This allows to make ADSR-like shape and simulate a musical instrument, like a piano (exponential decay) or string instrument (sine, „vibrato”). The boards which were made a few years ago, were designed as a stand-alone „players” with optional USB-to-UART bridge and was not intended to be chained. My goal was to re-use old stuff and get the job done as fast as possible, so I used the on-board ISP (which in fact is a SPI interface) connector to link 8 drivers in a SPI chain. Long SPI chain with unidirectional communication is not an example good and reliable design, but it did not require any hardware modification and took a minute to build a controller network, so let’s call it… good enough for this kind of project.


        
Scanner and disk head controllers share the same base with floppy controllers, but have a different „instrument interface”. For driving the coils, I used 2 push-pull outputs (H-bridge) built with discrete SMD MOSFETs. Scanner head controllers were built using of-the-shelf boards – an Arduino Uno (firmware also builds for ATMega328 using AVR-GCC / Atmel Studio; none of this Arduino crappy software and libraries was used) and L298 breakout to save time needed to draw and etch the boards. PC interface (another Arduino board) receives the data over UART (USB-UART), buffers the messages and keeps the timings while passing packets to „musical instruments” over SPI interface, so a Windows hiccup will not affect the playback. It can also be driven by anything else like Raspberry Pi, Android smartphone (with USB-UART or UART-over-Bluetooth adapter) or another microcontroller.

Host application was written in Python 2.7. I wrote it mostly on some boring lectures when I was still studying at the university, so it’s a one big mess, but… at least it does the job. It parses the simple language used for writing note sequences arranged in tracks tied to a specific controller / channel and merges those parallel tracks into one command list which is transferred over COM port. It can also partially generate „song script” from MIDI file which speeds up the „song porting” process.

Like the project? Here’s some another records.

257 Responses to “Return of the Floppies”

  1. [...] tonos o incluso música, pero … eso sería demasiado fácil y demasiado obvio «.Usted puede lea una explicación más larga en el sitio web de Zadrożniak, pero la mayoría de las personas probablemente no necesitan saber cómo se hace la salchicha, solo [...]

  2. Juliandroni pisze:

    Благодарю всем кто не игнорил. Всем спасибо. Отдельное спасибо юзеру Moderator

  3. online dating pisze:

    Hookup Females Uses Free Issues? An Excellent Horizontal Advantage!

    Cost-free hookup ladies online dating
    on the web is the answer if you’re tired of planning to pubs
    and groups merely to be prevented, or even more serious,
    laughed at. I am aware what it’s like because I’ve been there.

    I was single and eager during the day — I required a fresh partner — but I
    kept on striving because I had hardly any other decision. If you’re one particular man who would like to hookup with sexy females without gonna those areas where the women are by
    itself, then this report may just change your lifestyle.
    It can clarify why online dating on-line
    is the ideal substitute if you’re a masculine that is too shy to
    method a beautiful lady inside a club or club.

  4. Jim Klyman pisze:

    Curious if you need to take into account the scanner position, should you need a longer sustained note. Say for a 20 second note, you may need the scanner at one of the end stops for the scan head, in order to create a 20 second high pitched note. Or maybe you have never run into this type of constraint in your music programming.

  5. Chris pisze:

    Would it be very hard to mimic sounds in this video?

    https://www.youtube.com/watch?v=ENB0BeZx4yw

  6. Doyle pisze:

    You have inspired me to build an 8 channel Floppytron!
    I am founder and President of a MAKER space here in the U.S.A.
    http://www.kitsapcreate.org
    we have public events to show off our projects and my 8 channel floppytron was a success.
    i credited your YouTube channel to inspire others.
    i would like to increase my floppytron to 16 or 32 channels.
    do you sell your circuit boards and software?
    Please let me know.
    very respectfully,
    Doyle

  7. somebody pisze:

    hi

Leave a Reply

(required)

(required)

*
© 2010 Silent's Homepage Administracja Suffusion WordPress theme by Sayontan Sinha