Chaotic Pendulum


I used a combination of angle, channel and T section aluminium to construct the support. These were bolted together with M3 bolts to form a ridged construction, utilising cross braced pieces. I used xx mm thick aluminium and it might have been better if I had used thicker material because the final construction was not as ridged as I hoped. However, the twisting of the supporting structure did add another variable into the mix and produced some interesting effects so I will not rush to reconstruct it. The pendulum itself was a simple piece of channel aluminium with the walls at the end filed flat so I could glue a magnet to the end.

Next came the sensors, the reed switches are small glass tubes with wires coming out of the end. I cut up a small piece of strip board for each one, this was sufficient to also mount a surface mount resistor and LED on it. By arranging the reed switch to pull down to ground, I could get the LED to light when the switch was closed. The LED and it's current limiting resistor also acts as a pull up for the input, two for the price of one!

As this was going to be a music generator I decided to design it with a MIDI output, that way I could either feed it back into a computer for further processing or connect it directly to a MIDI sound module.

Next, as I wanted to make this a stand alone system I built a stand alone Arduino, however you can also use a regular Arduino if you want. I also used a 16 input port expander to give me 16 switches, however if you want to omit this port expander you can do an make a much simpler circuit. The schematic for all three variations can be downloaded here so you an build what ever variant you like. Below is the schematic of the simplest Arduino only configuration. Finally there is an RGB LED used to add a bit of colour to the system when it is running, again this is optional as the system doesn't rely on it. The software is downloadable here


Chaotic Pendulum

In Exhibition

At the Maker Faire (Newcastle 2010) people were mesmerised by the pendulum watching it intensely for minuets. Most reported it as a most relaxing experience, that despite all the noise going on around them.

If you watch the video you will see the pendulum appear to lock into a repetitive pattern, only to slowly develop. A typical sequence is where it alternates between two notes, then a third creeps in, and a fourth only to die down again. It is a project that has a lot of life in it and offers the chance for you to put in your own variations.



Construction is very much of a personal choice, the photographs show what I did when I made the full stand alone system, using a real Arduino board would be a lot simpler. Basically I constructed a small styrene box to hold the processor and I used it's translucent properties to make it glow with the RGB LED. I pre drilled the sides with holes to take the sensor wires which I made by twisting together three strands of very thin insulated wire. I placed the sensors in a semi regular pattern over the board and stuck them down along with the connecting wires with silicon sealant. You can see from the picture I actually move one of the sensors to bring it into play a bit more.


The sensors on the extremities don't get triggered all that often and you may want to use that to add a bit of variety. There is a mapping of sensor to note, that is what note each sensor triggers. I used one of these outer sensors to change that mapping and I reflected that mapping in the colours produced by the RGB LEDs. I made the LED change between two colours when each note was triggered. The actual colours that were used depended on the mapping in use at the time. Hence every time the mapping changed so did the two colours produced from the LED. If you examine the software, that is downloadable here, you will see this mapping is achieved by simply using a multi dimensional array used as a look up table.

There are lots of other variations you could play with this system. Sensors could trigger not notes but samples or loops, or you can get effects like a vocoder with the pendulum action changing the parameters.