Electronic Piano

In this project, we will learn how to use an Active Buzzer and a 4Duino to create an Electronic Piano. An active buzzer is an electric piezo device which is commonly used to produce sound. When subjected to an alternating electric field, a piezo ceramic material disc inside the buzzer is caused to stretch or compress, in accordance with the frequency of the signal thereby producing sound. Buzzers are widely used in computers, alarms, toys, telephone and so on. For this project 4Duino resistive touch display is used as a means for a graphical user interface to play the piano.

Electronic Piano

How It Works

Components

  • 4Duino
  • Active Buzzer
  • Jumper cables
  • Micro USB cable
  • µSD card

Implementation

Step 1 : Build

Build the circuit as shown in the following diagram and schematic.

Step 2: Program

Workshop 4 – 4Duino Extended Graphics environment is used to program this project.

This project requires the Arduino IDE to be installed as Workshop calls the Arduino IDE for compiling the Arduino sketches. The Arduino IDE however is not required to be opened or modified to program the 4Duino.

Open this file using Workshop 4.

Note: Download the project here.

Step 3: Comms Port

Connect the 4Duino to the PC using µUSB cable.

Then navigate to the Comms tab and select the Comms port to which the 4Duino connected.

Step4 : Compile and Upload

Finally, go back to “Home” tab and now click on the “Comp’nLoad” button.

The Workshop 4 IDE will prompt you to insert a µSD card to the PC in order to save the widget images. Insert µSD card, select the appropriate drive and press button “OK”.

If the µSD card has the widget images you can click button “No Thanks”

Electronic Piano schematic

Step 5 : Insert µSD card

After uploading the program in to the 4Duino, it will try to mount the µSD card. If the µSD card is not present it will prints an error message.

Read more: Electronic Piano

 


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top