Friday, March 30, 2007

From Breadboard to Printed Circuit Board


I went through a self-directed crash course in printed circuit design in order to create a printed circuit board to hold my control circuit for the robotic accordion. A printed circuit board provides more stable and reliable connections than those on a breadboard. I used CadSoft's Eagle software to layout my circuit schematic and convert it to a two-layer board design.



There are many companies online that specialize in building circuit boards. I uploaded my design files to Advanced Circuits in Colorado who built the board, which turned out quite well.



I transferred the parts from my breadboard circuit to the new printed circuit board, soldering them in place.



I built an oak frame to hold the circuit board, the Arduino microcontroller and the power supply, using pin connections to hold the frame in place.


Here is the circuit board in place in the robotic accordion device.

Friday, March 23, 2007

Accordion Automation

This post shows some of the steps I went through to automate the treble section of the accordion.

I came across this website that describes the use of car windshield wiper motors to animate large Halloween projects:

http://www.scary-terry.com/wipmtr/wipmtr.htm

The windshield wiper motor provides more than enough torque to raise the bellows. In fact, I removed some of the pulleys I had previously installed on the device. With fewer pulleys, less rope has to travel to move the bellows. This makes them much more responsive to the motor movement.



When the bellows are at their greatest extension, the wiper motor must be reversed to allow gravity to squeeze out the air contained within. I used a couple of reed switches to sense when the bellows are fully extended and send a signal to the Arduino board that controls the accordion. One reed switch is attached to each side of the device for redundancy.


Small rare earth magnets were attached to the extension structure of the bellows. The reed switch contacts close whenever the magnets pass by, sending a signal to the Arduino controller.


Solenoids are used to pull the accordion pallets to select which notes are played. Bicycle brake cable is used to transfer the pulling motion of the solenoids to the accordion pallet arms. I experimented with a couple different strategies of connecting the brake cable to the pallet arms. I developed some laser-cut clips that wrap around the pallet arm and accept the ball-end of the brake cable. I designed break-away arms on the clips to aid with their installation in the tight spaces between pallet arms.


The clips worked with light tension on the brake cable, but they failed with a heavy tug. The acrylic did not have enough strength in the tiny dimensions that I had to use in the clips and did not fit inbetween some of the pallet arms. I designed another piece that uses the cable itself to wrap around the pallet arm, saving quite a bit of space.


I built a couple of oak brackets to fit over the front of the accordion to align the brake cables and hold the brake cable housing.


The placement of the brake cables translates the order of the accordion pallets to the order of the solenoids.



I adapted a computer power supply to power the windshield wiper motor and the relays that control them. I clipped and insulated the wires that weren't needed, leaving only two yellow 12V wires and two black ground wires exposed from the power supply. The green power wire was permanently connected to a ground wire to keep the power supply on.

Thursday, March 22, 2007

It's Alive!



The [Deep|Remote] Listening Device is now operational. I've spent quite a bit of time detailing the connections from the accordion pallets (the covers that open to allow air to pass through the reeds) to the solenoids. I used bicycle brake cable and housing to pull each rod that operates the accordion pallets.



The pallets close using the force of the springs located under the accordion piano keys. Some additional springs were added for a few of the solenoids to make up for weak and broken springs under the piano keys.

I programmed the device to have a start-up sequence to test the solenoids and bellows. The sequence cycles each solenoid in rapid succession, moves the bellows to their lowest point, and then plays a couple of chords. I posted a few videos on YouTube:





Sunday, March 18, 2007

Save $$$ by Learning to Repair Your Own Accordion!

While working on controlling the pallets arms of the accordion, I broke off a couple of the pallets. The pallets hold on to the pallet arms with a special mixture of beeswax, resin and mineral oil. It is common for the wax to dry out and crack in older accordions. To repair the pallets, I reactivated the old wax mixture by adding some fresh beeswax to it and melting it with a heat gun.


As the mixture cooled, I applied it to the pallet and then secured it to the pallet arm.


The repaired pallet is shown in the bottom centre of the following photo: