Piano with Maker UNO

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.