Vous êtes sur la page 1sur 15

ELECTRIC PIANO USING ARDUINO

 BY AKHIL GHARU
GAGAN KOTIYA

under the supervision of Mrs. VATSALA KHANNA ,


ASSISTANT PROFESSOR
MAHARAJA AGRASEN INSTITUTE OF TECHNOLOGY
ELECTRIC PIANO USING ARDUINO

 This project focuses on the design and


development of electric piano keys by physical
computing based on a microcontroller board called
arduino board.

 The focus also lies on the measurement


methodologies and the instrumentation employed
in this systems.
FLOW DIAGRAM

1. INTRODUCTION TO ARDUINO
2. COMPONENTS AND SUPPLIES
3. APPLICATION OF ARDUINO-ELECTRONIC KEYBOARD.
4. SETUP OF THE HARDWARE
5. PROCEDURE FOR MAKING THE HARDWARE
6. PRECAUTIONS
7. CONCLUSION
INTRODUCTION TO ARDUINO

 Arduino is an open-source physical computing platform based on a


simple i/o board and a development environment that implements the
Processing/Wiring language. Arduino can be used to develop stand-
alone interactive objects or can be connected to software on your
computer.
 It is a platform in which a physical Input/output board(I/O) is present
with a programmable Integrated circuit(IC).
COMPONENTS AND SUPPLIES

S. No. Components Number


1 Arduino UNO & Genuino UNO 1
2 Adafruit Standard LCD-16x2 White on Blue 1
3 Tactile Button Switch(6mm) Single 8
4 Resistor 220ohm 4
5 Resistor 560ohm 1
6 Resistor 1k ohm 1
7 Resistor 4.7k ohm 1
8 Resistor 10k ohm 3
9 Resistor 1M ohm 1
10 Buzzer 1
11 LED(generic) 1
12 Single Turn Potentiometer-10k ohms 1
13 Jumper wires(generic) 1
14 Breadboard(generic) 1
APPLICATION OF ARDUINO-ELECTRONIC
KEYBOARD.

 An electronic keyboard or digital keyboard is an electronic musical


instrument, an electronic or digital derivative of keyboard instruments.
An electronic keyboard is an inexpensive synthesizer equipped with
built-in power amplifier and small loudspeakers.
 By using Arduino and various other components we can create our
own Electronic keyboard.
 An electronic keyboard with 7 piano keys, programmed to Middle
B/A/G/F/E/D/C, and an 8th button used to access a menu of preset
songs.
SETUP OF THE HARDWARE

1. The Piano keys


 The piano key switches were connected using a resistor ladder. The resistors
are placed in sequential order, connecting each switch to power. In this project
1M, 10k, 4.7K, 1K, 560, and 220(in ohms) resistors are used. The first piano
switch is connected to power, and also to the next switch in the circuit. The
second switch is connected to the smallest resistor, and each switch after that
connects to the next largest resistor in the series. The last switch grounds the
connection via a 10k ohm resistor and also connects all 7 switches to the
"analog in“ pin A0 on the Arduino.
2. The LCD screen
 Connect LCD pin 3 to the Potentiometer for contrast control of the screen. The
outside pins of the Potentiometer are connected to power and ground to
complete this circuit. LCD pin 15 is connected to power via a 220 ohm
resistor. If any of these pins change on your own project, update the code
accordingly.
SETUP OF THE HARDWARE

3. The Menu switch


 Connect the menu switch to power, and ground it through a 10K ohm
resistor. This switch should also be connected to pin 7 on the Arduino
so that it can be controlled via coding.

4. The LED
 The LED is used to indicated when you're in "menu mode", and the
piano keys have been disabled. The LED light turns on once the menu
switch is pressed. Connect the anode (positive) of the LED to pin 6 of
the Arduino, and ground the LED through a 220 ohm resistor.
SETUP OF THE HARDWARE

5. The Piezo buzzer


 To integrate the Piezo Buzzer, simply connect one end to

the Arduino pin 8, and the other side to ground via a 220
ohm resistor. The "tone" function in the code will look for
this pin in order to play the note called.
PROCEDURE FOR MAKING THE HARDWARE

MOUNTING & SOLDERING: Soldering is process of joining together


two metallic parts. It is actually a process of function in which an
alloy, the solder, with a comparatively low melting point penetrates the
surface of the metal being joined & makes a firm joint between them
on cooling & solidifying.
THE SOLDERING KIT

1. SOLDERING IRON:
 As soldering is a process of joining together two metallic parts, the
instrument, which is used, for doing this job is known as soldering
Iron. Thus it is meant for melting the solder and to setup the metal
parts being joined. Soldering Iron is rated according to their wattage,
which varies from 10- 200 watts.

2. SOLDER:
 The raw material used for soldering is solder. It is composition of lead
& tin. The good quality solder (a type of flexible naked wire) is 60%
Tin +40% Lead which will melt between 180 degree to 200 degree C
temperature.
THE SOLDERING KIT

3. BLADES OR KNIFE:
 To clean the surface & leads of components to be soldered

is done by this common instrument.


4. SAND PAPER:
 The oxide formation may attack at the tip of your soldering
iron & create the problem. To prevent this, clean the tip
with the help of sand paper time to time or you may use
blade for doing this job. Apart from all these tools, the
working bench for soldering also includes desoldering
pump, wink wire (used for desoldering purpose), file etc.
PRECAUTIONS

1. Mount the components at the appropriate places before soldering.


Follow the circuit description and components details, leads
identification etc. Do not start soldering before making it confirm that
all the components are mounted at the right place.
2. Do not over heat the components at the board. Excess heat may
damage the components or board.
3. Do not put the kit under or over voltage source. Be sure about the
voltage either dc or ac while operating the gadget.
4. Do make loose wire connections especially with cell holder, speaker,
probes etc. Put knots while connections to the circuit board, otherwise
it may get loose.
CONCLUSION

Electric piano to play preset songs was made. The project helped
us to acquire knowledge of arduino and was a great learning
experience.
Classification module can be used either before the segmentation
process or after, depending on what the system is used for. In the
segmentation phase the system performed well and detected the
tumors in the images. Although, some medical assistance would be
necessary taking into account that such a project represents an
interdisciplinary work and both computer knowledge and medical
are needed.
More research is to be done on this project and we will surely do
the same.
THANKYOU

Vous aimerez peut-être aussi