Fail Of The Week: CPLDs That Release Blue Smoke

The card you see above is a floppy drive emulator for Macintosh. [Steve Chamberlain] has been hand assembling these and selling them in small runs, but is troubled by about a 4% burn-out rate for the CPLD which has the red ‘X’ on it. He settled into figure out what exactly is leading to this and it’s a real head-scratcher.

He does a very good job of trouble-shooting, starting with a list of all the possible things he thinks could be causing this: defective part, bad PCB, bad uC firmware, damage during assembly, solder short, tolerance issues, over-voltage on the DB connector, or bad VHDL design. He methodically eliminates these, first by swapping out the part and observing the exact same failure (pretty much eliminates assembly, solder short, etc.), then by measuring and scoping around the card.

The fascinating read doesn’t stop with the article. Make sure you work your way through the comments thread. [Steve] thinks he’s eliminated the idea of bad microcontroller code causing damage. He considers putting in-line resistors on the DB connector but we wonder if clamping diodes wouldn’t be a better choice (at least for testing purposes)? This begs the question, why is he observing a higher voltage on those I/O lines during power-up? As always, we want to hear your constructive comments below.


2013-09-05-Hackaday-Fail-tips-tileFail of the Week is a Hackaday column which runs every Wednesday. Help keep the fun rolling by writing about your past failures and sending us a link to the story — or sending in links to fail write ups you find in your Internet travels.

The Most Beautiful Floppy Disk Jukebox Ever

Playing music on floppy drives is something that has been done to death. [kiu]’s RumbleRail is something else entirely. Yes, it’s still a collection of floppy drives playing MIDI files, but the engineering and build quality that went into this build puts it in a class by itself.

Instead of the usual assemblage of wires, power cords, and circuits that accompany most musical floppy drive builds, [kiu]’s is an exercise in precision and modularity. Each of the eight floppy drives are connected to its own driver with an ATMega16 microcontroller on board. The microcontrollers in these driver boards receive orders from the command board over an I2C bus. Since everything on the RumbleRail is modular, and the fact [kiu] is using DIP switches to set the I2C address of each board, this build could theoretically be expanded to 127 voices, or 127 individual floppy drives each playing their part of a MIDI file.

The RumbleRail can also operate in a standalone mode without the need for a separate computer feeding it data. MIDI files can be loaded off an SD card by the main controller board, and decode them for the floppy drivers.

If you’d like to build your own RumbleRail, all the board files, schematics, and firmware are up on [kiu]’s git. There are, of course, a few videos below of the floppy jukebox in action.

Continue reading “The Most Beautiful Floppy Disk Jukebox Ever”

Hackaday Links: Sunday, April 21st, 2013

hackaday-links-chain

Regular reader and master hacker [Bill Porter] got married. Congratulations [Bill] and [Mara]! The two of them just couldn’t leave their soldering irons at home. The actually swore their vows by soldering together a circuit during the ceremony (blinky wedding dress, el wire tuxedo, and all).

[Kevin] sent in a link to [Red Fathom’s] hacked Wacom tablet. It’s the screen from a Wacom-enabled laptop brought back to life with a Teensy and an LVDS interface module.

The Neato XV-11 is able to find its charging station when the batteries run low. [Derek] figured out that you can make a second station using some reflective tape.

If you use your drill a lot you’ll eventually break the rubber thing that holds the key to the chuck. Here’s a way to 3D print a replacement.

[Torxe] put eight floppy drives to use as a polyphonic Arduino-controlled MIDI player. And while we’re on the subject of Arduino controlled projects you should take a look at this web-interface to tell you if the foosball table is being used.

And finally [Th3 Bad Wolf] sent in this link to a milling machine built out of LEGO. It is able to mill floral foam and uses a lathe-like setup for one of the table axes.

Building A Six-channel Floppy Drive Synth From Start To Finish

floppy

We’ve seen scores of floppy drives play music, but never before have we seen a project as clean as [Rupert]’s Moppyduino. It’s an Arduino-based board that controls the stepper motors in six separate floppy drives, coaxing them in to playing music from a MIDI file.

The Moppyduino is more than just a convenient way to control the stepper motors in six floppy drives. It’s also a great example of what can be done with home PCB fabrication; the entire project was designed and constructed in [Rupert]’s workshop.

After designing the circuit, [Rupert] printed it out on a laser printer onto a plastic transparency sheet. This was transferred over to a copper clad board, etched, and drilled. After assembly, [Rupert] attached a USB FTDI controller to receive data converted from MIDI data with a Java app.

The end result – housed in a custom Corian enclosure – is one of the best looking floppy drive synths we’ve ever seen. You can check out the process of building this awesome instrument after the break.

Continue reading “Building A Six-channel Floppy Drive Synth From Start To Finish”

A Floppy Drive Orchestra

With 8 drives working in concert, this “floppy drive array orchestra” takes drive music to a whole new level!  As if that wasn’t enough, [SileNT] decided to use the16x64 LED array that he’s been working on in concert with the drives.

For those that remember, we’ve actually featured [SileNT], AKA [Pawel]’s, work before, where we were impressed that he was able to play the Imperial March from Star Wars on 2 floppy drives. He’s planning more information about his floppy drive music making in the future and maybe even instructions on building your own personal disk drive orchestra. Apparently [SileNT] has an abundant supply of 3 1/2 inch drives, so maybe even this feat can be topped…

Be sure to check out the video after the break of these 8 drives in action. In the video, more tunes are promised “soon”, so be sure to check back or subscribe to him on Youtube for more sweet melodies. Continue reading “A Floppy Drive Orchestra”

Star Wars Imperial March Played By Dual Floppy Drives

Although many have made some sort of music with improvised electronics, few sound as cool as this Imperial March from Star Wars played by two floppy drives. According to [Pawel], “It’s nothing new” and quite simple. This may be true as we’ve featured an Imperial March-playing floppy drive here before, but it was only one drive. Although it may not be the London Symphony Orchestra, the two drives together sound quite good!

According to him, the FDD has a fairly simple interface. To move the head, one simply needs to pull the DRVSB pin low and then activate the STEP pin on a falling edge.  This will make the head move one direction dependent on the DIR pin state. In this case, an ATMega microcontroller is moving everything. An explanation of the pins used in this hack can be found here.

Although it may look like an intimidating hack on the surface, something like this might be a neat project to try with some old hardware and an Arduino or other controller! [Pawel] did have the idea to hook up a 5 1/4″ and 8″ drive to make a full FDD orchestra, so we can’t wait to see what he comes up with! Continue reading “Star Wars Imperial March Played By Dual Floppy Drives”

CNC Machine From PC Parts

[Mike Rankin] built a small CNC machine using some PC parts. He repurposed two optical drives and a floppy drive to create the plotter seen drawing the Hackaday logo above. The X and Y axes use the stepper motor controlled read heads from two optical drives. The Z axis is built using the read head hardware from a floppy drive. A 3-axis controller module from eBay drives the little machine, keeping the cost quite low at around $45.

As you can see in the video after the break it does a great job as a plotter. [Mike] doesn’t think there’s enough power in the hardware to be used as a mill. We’d still like to try adding a flexible shaft rotary tool and see if this could mill some rudimentary PCBs, but maybe you need to shell out just a little bit more for that functionality. It might also be possible to use an etchant resist marker instead of toner transfer or photo-resist.

Continue reading “CNC Machine From PC Parts”