Instructables
Picture of Draw MIDI
Draw your own musical keyboard with pencil on paper, using Arduino and capacitance sensing.

Here is a demo and explanation of a finished project:

More on this project (and paper circuits in general) can be seen here at the Science of Music blog.
 

 
Remove these adsRemove these ads by Signing Up

Step 1: Parts

Minimum supplies:
Arduino Uno
USB cable
Alligator clips
Jumper wires
Paper
Graphite pencils
Mac-OSX computer (PCs work too but require more software)

Extra Awesome Supplies
Copper Tape
Adhesive Magnetic Tape
Gaffers tape 
Box for enclosure

Musical Genius Supplies:
MIDI 5-pin DIN and associated wiring
MIDI-USB interface

Step 2: CODE

Software requirements:
Max-MSP, or the free run-time app

This Max patch that converts serial from the Arduino to MIDI.   

This Arduino sketch that senses the capacitance at each digital pin and sends MIDI formatted messages.


Musical Geniuses only:
If you have worked with Arduino and MIDI before via hardware (spec MIDI).  You can skip the above two links and use this sketch.


Step 3: Build (basic)

Picture of Build (basic)
IMG_1559.jpg
IMG_1560.jpg
Make the hardware connectors to link the Arduino to your paper circuit: 
• Connect 12 hookup or jumper wires to 12 alligator clips.
• draw 12 squares (1cm x 1cm, 0.5 cm apart) in a line on a piece of paper.
• fold the piece of paper on the line of squares.
• attach each alligator clip to each square.

One example square/connector is drawn below


Step 4: Build Advanced

Picture of Build Advanced
magnetic-tape.png
magnetic-tape-paper.png
IMG_0219.JPG
IMG_0213.JPG
IMG_0209.JPG
Make a magnetic connector that allows you to quickly change keyboards

• Cut 12 strips of copper tape into 6cm lengths
• Cut 2 strips of adhesive magnetic tape into 24 - 28 cm lengths
• Adhere one strip of magnetic tape to a blank piece of paper
• Sandwich the other strip of magnetic tape between two layers of gaffers tape to insulate the strip.
• Adhere the twelve strips of magnetic tape to the tape/magnet sandwich, space them so that the center points are 1.5cm apart
• Connect the copper strips to Arduino pins 13 through 2 (alligator clips, or solder jumpers)
• If you are feeling fancy,  build the project so the magnet-tape sandwich is on the bottom of your enclosure
jvan dalen3 months ago

Hi i like the idea and tried to make it but the arduino displays a lot of noise. Other tutorials sugested an pull-up resistor of 1M, did you use this as well? In one of your pictures i see some resistors but you did not mention them, are they necessary?

Lukkasss4 months ago

What extra-softwares does it requires to work on PC? Can you point that? I'm looking to do it, but I unfortunatelly don't own a Mac...

acepow44 months ago
Cool
soroush2444 months ago
بنازم پیا بختیاری
TraciAG4 months ago

I love things like this. Combining my two favorite hobbies, music and electronics!

This is so cool!

rimar20004 months ago

Very interesting.