Arduino Tinfoil Piano




Introduction: Arduino Tinfoil Piano

In this Instructables I will explain how to make this Arduino Tinfoil Piano.


  • Arduino
  • Breadboard
  • 10MΩ Resistor x8
  • Piezo Buzzer
  • Jumpers
  • Double Sided Tape
  • Tinfoil
  • Cardboard

Step 1: Cut the Cardboard

To make the bottom of the piano I used a piece of cardboard that I cut to 18 x 7.5 cm. Since the tape I'm using is around 2cm wide I can easily fit 8 keys on the piece of cardboard.

Step 2: Make the Piano Keys

To make the piano keys I first cut one end of a jumper cable and strip it. This will make sure the tinfoil won't rip.

After stripping the jumper you need to do is to cut a piece of around 7cm of double sided tape and stick the stripped side of the jumper on the tape.

Next stick the tape on tinfoil and cut the key out.

Repeat this step until you have the 8 keys.

Step 3: Assemble the Piano

Once you have all the keys ready you need to stick the otherside of the tape on the cardboard. Also make sure the keys dont touch each other.

Step 4: Assemble the Circuit

Assemble the circuit as shown in the image above.

You can change the sensitivity of the sensors by changing the resistor value:

  • You can use a 1 megohm resistor for absolute touch to activate.
  • With a 10 megohm resistor the sensor will start to respond 4-6 inches away.
  • With a 40 megohm resistor the sensor will start to respond 12-24 inches away (dependent on the foil size).

More info about Capacitive Sensors here.

Step 5: Upload the Code + Demo

Upload the attached code to the arduino. You may need to change the treshold for the sensors if they aren't responsive enough.

And you're done!!!

Tinfoil Speed Challenge

Participated in the
Tinfoil Speed Challenge

Be the First to Share


    • Science Fair Challenge

      Science Fair Challenge
    • Make It Modular: Student Design Challenge

      Make It Modular: Student Design Challenge
    • Home and Garden Contest

      Home and Garden Contest



    21 days ago

    wow I really love this project thanks for the free 4


    1 year ago

    Good job bro😉👍


    1 year ago

    Good luck in the contest!