How to Make Musical Keyboard Using Arduino




Introduction: How to Make Musical Keyboard Using Arduino

About: Electronics Enthusiast and a Software Engineer

Hello Guys, In this Instructable I will show you how to make a musical keyboard using Arduino Uno with basic components and in simpler manner.

Simpler electronic keyboards have switches under each key. Depressing a key connects a circuit, which triggers tone generation. Each key generate a unique specific tone.

Lets Start it !..

Step 1: Components Required

Arduino Uno - 1 [Banggood]

Breadboard - 1 [Banggood]

Piezo Buzzer - 1 [Banggood]

Jumper wires [Banggood]

Switches - 4 [Banggood]

Resistors [Banggood]

  • 220 Ohm Resistor - 1
  • 1 k Ohm Resistor - 1
  • 10k Ohm Resistor - 1
  • 1M Ohm Resistor - 1

For simplifying the project you can use arduino nano or arduino pro mini .

Arduino Nano [Banggood]

Arduino Pro Mini [Banggood]

Step 2: Watch Video First!

The video gives you all the information you need to build your own simple musical keyboard using arduino. During the next steps however I will present you some additional information to make the project even more simpler.

Step 3: Circuiting

Here you can find the circuit on breadboard.

You can see my breadboard traces and it is easy to understand while making.

Place all the components on the breadboard according to schematic.

Step 4: Coding the Arduino Uno

Code is attached, you can download it.

Upload the code to the Arduino Uno.

Step 5: You Made It!

If you want to learn ​C Programming you can easily learn at ​codingtute. It will enhance your arduino programming skills.

That's all guys you made it.

Feel free to comment.

Invention Challenge 2017

Participated in the
Invention Challenge 2017

Makerspace Contest 2017

Participated in the
Makerspace Contest 2017

Be the First to Share


    • One Board Contest

      One Board Contest
    • Fix It Speed Challenge

      Fix It Speed Challenge
    • New Year, New Skill Student Design Challenge

      New Year, New Skill Student Design Challenge



    11 months ago on Step 5


    Your video is unavailable. Could you share the sound quality.Thanks.