Piano with Maker UNO

INTRODUCTION

I have a nephew age 10 years old. I tried to make electronic looks easy and fun to him. Since he really like to play a music instrument, I made this small piano for him so that he can learn piano and electronics at the same time. I share this with the hope that you can also enjoy this with your loved one <3

HARDWARE PREPARATION

This tutorial use :

  1. Maker UNO
  2. Push Button
  3. Breadboard Jumper Wire Kit
  4. Male to Male Jumper Wire
  5. Breadboard
  6. Micro B USB

You can make the hardware connection based on the diagram and table below.

CONNECTION
Maker UNO : GNDBreadboard GND
Maker UNO : Pin 3Push Button : 1 (C)
Maker UNO : Pin 4Push Button : 2 (D)
Maker UNO : Pin 5Push Button : 3 (E)
Maker UNO : Pin 6Push Button : 4 (F)
Maker UNO : Pin 7Push Button : 5 (G)
Maker UNO : Pin 9Push Button : 6 (A)
Maker UNO : Pin 10Push Button : 7 (B)

*Another leg of the Push Button is connected to the GND of Breadboard

Figure 1 : The hardware connection for piano
Figure 2 : Piano

SAMPLE CODE

This is the sample code used for this tutorial. Try it!

Thank you

Thank you for reading this tutorial and we hope it helps your project development. If you have any technical inquiry, please post at Cytron Technical Forum.

4 thoughts on “Piano with Maker UNO”

  1. Hi, may I ask u something. During compiling the sketches why there is an error at #include “pitches.h” it stated that there is no such file or directory. I hope u can help me out.

  2. Hi, may I ask u something. During compiling the sketches why there is an error at #include “pitches.h” it stated that there is no such file or directory. I hope u can help me out.

  3. Hi, may I ask u something. During compiling the sketches why there is an error at #include “pitches.h” it stated that there is no such file or directory. I hope u can help me out. Thank you.

  4. Hi, may I ask u something. During compiling the sketches why there is an error at #include “pitches.h” it stated that there is no such file or directory. I hope u can help me out. Thank you.

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorial

Read Surrounding Temperature and Humidity Using Grove Beginner Kit
Program Seeeduino XIAO Using CircuitPython
Does Technology Make Us Feel Safe
Send Video to Telegram Bot Using Raspberry Pi Camera
Playing Flappy Astronaut Game on Raspberry Pi Sense HAT
Scroll to Top