CustomKeys using an Arduino

Arduino CustomKeys

CustomKeys is a customizable, Arduino-based, polyphonic synthesizer. The CustomKeys keyboard uses capacitive touch sensing – each key is made of a conductive material which, when touched, signals the synthesizer to emit a tone from the speaker. The CustomKeys library allows the user to choose an 8-note musical scale for the keys. Furthermore, users have a creative choice on the body design of their CustomKeys synth – users can use a provided laser cutter template or use any other material long as the basic requirements for the system to function are met.

Arduino CustomKeys

Special thanks to:
– Joe Marshall, whose code for the Arduino Octosynth (http://www.cs.nott.ac.uk/~jqm/?p=605) is the basis of the CustomKeys library
– Instructables user blinkyblinky for documenting how to assemble the Arduino Octosynth http://www.instructables.com/id/The-Arduino-OctoSynth/

 

Optional:
– Jumper cables (preferable to wires, but wires work just fine)You may find that the output sound is too quiet with the speaker alone.
In this case, you may want to build an amplifier circuit. Here are the parts you will need:
– An n-type MOSFET (I used an IRF9530)
– Two 100 Ohm resistors
– A 1.2K Ohm resistor
– A .47uF film capacitor
– A 220 uF electrolytic capacitor 

*Part of the box template was made with Rahul Bhargava’s BoxMaker http://boxmaker.rahulbotics.com/

Step 2: Keyboard Assembly (Without Laser Cutter Template)

If you’re using the laser cutter template, please skip to step 4.

Arduino CustomKeys Circuit

Make a cool keyboard design using the colorful pieces of card stock. I like to fold my paper in half along the short edge, then along the long edge. Then, while it’s still folded, I cut my paper down the fold I made along the short edge (refer to the images for clarification). This yields two greeting card shaped pieces of paper. I only use one of them. Next, I take another color of cardstock, cut little rectangular shapes for the keys, and glue them onto one side of the card shaped paper (refer to the images).

Feel free to be creative with this part. Make a monster, a garden of flowers, or an original creation with card stock shapes. Try to make a design that will look nice with the conductive items that you will use for keys. **The folded part of the card shaped paper will be the top of the synth, so please plan your design accordingly. **

Materials

You Will Need:
– The CustomKeys Arduino library – updated 05/15/13 (download below)
– 8 bits of conductive material for the keys (paperclips, brads, conductive tape, etc.)
– Colorful card stock paper (unless you’re going the laser cutter route)
– A soldering iron
– A boxcutter or x-acto knife
– Stick glue
– Wire clippers and strippers
– A set of 8 male header pins
– Electrical wire
– An Arduino ( I used the Uno)
– A USB for the Arduino
– A breadboard
– An 8 Ohm speaker

If you have access to a laser cutter:
– 16″ x 20″ birch board with 1/8″ thickness
– The box template (download below)*[/box]

Step 3: Keyboard Assembly (Without Laser Cutter Template)

1.Solder wire to each piece of conductive material you will use for a key. Each wire should be at least 6″ long. In this example, I am using paper clips for my keys.

2.With an exacto knife or thick needle, make a hole in the card stock immediately above each key, and also above each key along the fold of the card stock.

3. Thread the wire for each key through the hole immediately above the key location, underneath the card stock, and out through its respective hole at the fold.

4. If necessary, use a hot glue gun to secure your keys to the card stock.

Read more: CustomKeys using an Arduino

Leave a Comment

Your email address will not be published. Required fields are marked *