SlideShare a Scribd company logo
BATCH 9
SEC 10
TABLE OF CONTENTS
Introduction
Principle of Methodology
Architecture of Project
Components required
Working
Output
References
INTRODUCTION
The objective of this report was to create a user-friendly device capable of
playing music based off of an operator’s commands.
From the beginning, we knew that we wanted a project that relied heavily
on user interaction.
We decided to venture down the path of music, based on
our mutual interest of learning and playing musical instruments.
The Arduino in combination with the
Musical Instrument Shield and piezodiscs are the three main components in this project.
When the piezodiscs are distorted in tension or compression,
a note is played through a speaker
Arduino is an open-source electronics
platform based
on easy-to-use hardware and
software.
Arduino boards are able to read
inputs –
light on a sensor, a finger on a button,
or a Twitter message - and turn it into
an output
- activating a motor, turning on an
LED,
publishing something online.
What is an aurdino..?
COMPONENTS REQUIRED
1. Breadboard
2. x Piezo buzzer
3. 4 x Switches
4. 1 x 220-ohms resistor
5. 2 x 10-kilohm resistors
6. 1 x 1-megohm resistor
7. 9 x Jumper wires
PRINCIPLE OF METHODLOGY
While it’s possible to simply hook up a number of momentary switches
to digital inputs to key of different tones, in this project, you’ll be constructing
something called a resistor ladder.
This is a way to read a number of switches using the analog input.
It’s a helpful technique if you find yourself short on digital inputs.
You’ll hook up a number of switches that are connected in parallel to
analog in 0. Most of these will connect to power through a resistor.
When you press each button, a different voltage level will pass to the input pin.
If you press two buttons at the same time, you’ll get a unique input based on the
relationship between the two resistors in parallel
ARCHITECTURE OF PROJECT
BODY OF THE PROJECT
Wire up your breadboard with power and ground as in the previous projects.
Connect one end of the piezo to ground. Connect the other end to pin 8 on your Arduino.
Place your switches on the breadboard as shown in the circuit.
The arrangement of resistors and switches feeding into an analog input is
called a resistor ladder. Connect the first one directly to power. Connect the second,
third and fourth switches to power through a 220-ohm, 10-kilohm and
1-megohm resistor, respectively. Connect all the switches’ outputs
together in one junction.
Connect this junction to ground with a 10-kilohm resistor, and also connect it to Analog In 0.
Each of these acts as a voltage divider.
If you press the first button, notes[0] will play. If you press the second,
notes[1] will play,
and if you press the third, notes[2] will play. This is when arrays become really
handy.
Only one frequency can play on a pin at any given time, so if you’re pressing
multiple
keys, you’ll only hear one sound.
To stop playing notes when there is no button being pressed, call the noTone()
function,
providing the pin number to stop playing sound on.
RESULTS
If your resistors are close in value to the values in the example program,
you should hear some sounds from the piezo when you press the buttons.
If not, check the serial monitor to make sure each of the buttons is
a range that corresponds to the notes in the if()...else statement.
If you’re hearing a sound that seems to stutter, try increasing the range a
little bit.
Press multiple buttons at the same time, and we get different sort of
values in the serial monitor.
We can Use these new values to trigger even more sounds.
Experiment with different frequencies to expand your musical output.
We can find frequencies of musical notes on this page:
Over the years Arduino has been used as the “brain” in thousands of projects,
one morecreative than the last. A worldwide community of makers has
gathered around this open-source platform, moving from personal
computing to personal fabrication,
and contributing to a new world of participation, cooperation and sharing.
Think about an enclosure for the keyboard. While old analog synthesizers had
wires poking out all over the place, your keyboard is sleek and digital. Prepare a
small piece of cardboard that can be cut out to accommodate your buttons.
Label the keys, so we know what notes are triggered by each key.
CONCLUSION
THANK YOU
BY
V.SONY -180040579
M.RASHMI SRI-180040504
D.HARSHITHA-180040591

More Related Content

What's hot

TouchTable Interactive MP3 Player- David Novak (TheGadgetGuycolumn.com)
TouchTable Interactive MP3 Player- David Novak (TheGadgetGuycolumn.com)TouchTable Interactive MP3 Player- David Novak (TheGadgetGuycolumn.com)
TouchTable Interactive MP3 Player- David Novak (TheGadgetGuycolumn.com)
motiondynamicsgadgetguy
 
Camp Cosmos robotics workshop
Camp Cosmos robotics workshopCamp Cosmos robotics workshop
Camp Cosmos robotics workshop
Edward Gomez
 
Build cool stuff with arduino for sci camp 16 dec13
Build cool stuff with arduino for sci camp 16 dec13Build cool stuff with arduino for sci camp 16 dec13
Build cool stuff with arduino for sci camp 16 dec13
Singapore Makers Association
 
Using Arduino
Using ArduinoUsing Arduino
Using Arduino
Fun2Do Labs
 
Ultrasonic touch guitar nxt
Ultrasonic touch guitar   nxtUltrasonic touch guitar   nxt
Ultrasonic touch guitar nxt
jagatworld
 
Arduino workshop - hello real world
Arduino workshop - hello real worldArduino workshop - hello real world
Arduino workshop - hello real worldTom Luyten
 
Arduino Basics
Arduino BasicsArduino Basics
Arduino Basics
Jeremy Abbett
 
Door bell for deaf
Door bell for deafDoor bell for deaf
Door bell for deaf
Srikant Mohanty
 
Fun with Circuitry and Electronics
Fun with Circuitry and ElectronicsFun with Circuitry and Electronics
Fun with Circuitry and Electronics
St. Petersburg College
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
David Mellis
 
IoT Programming with IchigoJam
IoT Programming with IchigoJamIoT Programming with IchigoJam
IoT Programming with IchigoJam
Taisuke Fukuno
 
E book
E bookE book
E book
danniebonner
 
Arduino Basics
Arduino BasicsArduino Basics
Arduino Basics
ESRI Bulgaria
 
Programming sounds into my game annotation
Programming sounds into my game annotationProgramming sounds into my game annotation
Programming sounds into my game annotationamybrockbank
 
Ig3 task 2 annotation
Ig3 task 2 annotationIg3 task 2 annotation
Ig3 task 2 annotationluisfvazquez1
 
Computer1
Computer1Computer1
Computer1
nehalohiaa
 
Computer
ComputerComputer
Computer
amitmwai
 

What's hot (17)

TouchTable Interactive MP3 Player- David Novak (TheGadgetGuycolumn.com)
TouchTable Interactive MP3 Player- David Novak (TheGadgetGuycolumn.com)TouchTable Interactive MP3 Player- David Novak (TheGadgetGuycolumn.com)
TouchTable Interactive MP3 Player- David Novak (TheGadgetGuycolumn.com)
 
Camp Cosmos robotics workshop
Camp Cosmos robotics workshopCamp Cosmos robotics workshop
Camp Cosmos robotics workshop
 
Build cool stuff with arduino for sci camp 16 dec13
Build cool stuff with arduino for sci camp 16 dec13Build cool stuff with arduino for sci camp 16 dec13
Build cool stuff with arduino for sci camp 16 dec13
 
Using Arduino
Using ArduinoUsing Arduino
Using Arduino
 
Ultrasonic touch guitar nxt
Ultrasonic touch guitar   nxtUltrasonic touch guitar   nxt
Ultrasonic touch guitar nxt
 
Arduino workshop - hello real world
Arduino workshop - hello real worldArduino workshop - hello real world
Arduino workshop - hello real world
 
Arduino Basics
Arduino BasicsArduino Basics
Arduino Basics
 
Door bell for deaf
Door bell for deafDoor bell for deaf
Door bell for deaf
 
Fun with Circuitry and Electronics
Fun with Circuitry and ElectronicsFun with Circuitry and Electronics
Fun with Circuitry and Electronics
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
IoT Programming with IchigoJam
IoT Programming with IchigoJamIoT Programming with IchigoJam
IoT Programming with IchigoJam
 
E book
E bookE book
E book
 
Arduino Basics
Arduino BasicsArduino Basics
Arduino Basics
 
Programming sounds into my game annotation
Programming sounds into my game annotationProgramming sounds into my game annotation
Programming sounds into my game annotation
 
Ig3 task 2 annotation
Ig3 task 2 annotationIg3 task 2 annotation
Ig3 task 2 annotation
 
Computer1
Computer1Computer1
Computer1
 
Computer
ComputerComputer
Computer
 

Similar to KEYBOARD INSTRUMENT

Electronz_Chapter_7.pptx
Electronz_Chapter_7.pptxElectronz_Chapter_7.pptx
Electronz_Chapter_7.pptx
Mokete5
 
POWERPOINT PRESENTATION ABOUT THE PARTS OF ARDUINO UNO
POWERPOINT PRESENTATION ABOUT THE PARTS OF ARDUINO UNOPOWERPOINT PRESENTATION ABOUT THE PARTS OF ARDUINO UNO
POWERPOINT PRESENTATION ABOUT THE PARTS OF ARDUINO UNO
MarcheryAlingal
 
Electronz_Chapter_15.pptx
Electronz_Chapter_15.pptxElectronz_Chapter_15.pptx
Electronz_Chapter_15.pptx
Mokete5
 
Robotics and Embedded Systems
Robotics and Embedded SystemsRobotics and Embedded Systems
Robotics and Embedded Systems
Ankan Naskar
 
Genuino and codebender
Genuino and codebenderGenuino and codebender
Genuino and codebender
Luca Mazzotti
 
Arduino slides
Arduino slidesArduino slides
Arduino slides
sdcharle
 
Arduino Workshop Slides
Arduino Workshop SlidesArduino Workshop Slides
Arduino Workshop Slides
mkarlin14
 
Oop 2014 embedded systems with open source hardware v2
Oop 2014 embedded systems with open source hardware v2Oop 2014 embedded systems with open source hardware v2
Oop 2014 embedded systems with open source hardware v2Michael Stal
 
Arduino comic v0004
Arduino comic v0004Arduino comic v0004
Arduino comic v0004
DO!MAKERS
 
Arduino Comic-Jody Culkin-2011
Arduino Comic-Jody Culkin-2011Arduino Comic-Jody Culkin-2011
Arduino Comic-Jody Culkin-2011
ΚΔΑΠ Δήμου Θέρμης
 
Arduino
ArduinoArduino
Arduino
Geet Patel
 
Arduino
ArduinoArduino
Arduino
VigneshABME
 
Digital home automation with arduino bluetooth
Digital home automation with arduino bluetoothDigital home automation with arduino bluetooth
Digital home automation with arduino bluetooth
Shishupal03012015
 
Arduino: Arduino starter kit
Arduino: Arduino starter kitArduino: Arduino starter kit
Arduino: Arduino starter kit
SANTIAGO PABLO ALBERTO
 
Arduino electronics cookbook
Arduino electronics cookbookArduino electronics cookbook
Arduino electronics cookbook
Felipe Belarmino
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixels
sdcharle
 
Robotics Session day 1
Robotics Session day 1Robotics Session day 1
Robotics Session day 1Afzal Ahmad
 
Designers, please mind the gap! Let's get started with Arduino
Designers, please mind the gap! Let's get started with ArduinoDesigners, please mind the gap! Let's get started with Arduino
Designers, please mind the gap! Let's get started with Arduino
Fahed Al Riachi
 

Similar to KEYBOARD INSTRUMENT (20)

Electronz_Chapter_7.pptx
Electronz_Chapter_7.pptxElectronz_Chapter_7.pptx
Electronz_Chapter_7.pptx
 
POWERPOINT PRESENTATION ABOUT THE PARTS OF ARDUINO UNO
POWERPOINT PRESENTATION ABOUT THE PARTS OF ARDUINO UNOPOWERPOINT PRESENTATION ABOUT THE PARTS OF ARDUINO UNO
POWERPOINT PRESENTATION ABOUT THE PARTS OF ARDUINO UNO
 
Electronz_Chapter_15.pptx
Electronz_Chapter_15.pptxElectronz_Chapter_15.pptx
Electronz_Chapter_15.pptx
 
Arduino workshop sensors
Arduino workshop sensorsArduino workshop sensors
Arduino workshop sensors
 
Robotics and Embedded Systems
Robotics and Embedded SystemsRobotics and Embedded Systems
Robotics and Embedded Systems
 
Genuino and codebender
Genuino and codebenderGenuino and codebender
Genuino and codebender
 
Arduino slides
Arduino slidesArduino slides
Arduino slides
 
Arduino Workshop Slides
Arduino Workshop SlidesArduino Workshop Slides
Arduino Workshop Slides
 
Oop 2014 embedded systems with open source hardware v2
Oop 2014 embedded systems with open source hardware v2Oop 2014 embedded systems with open source hardware v2
Oop 2014 embedded systems with open source hardware v2
 
Arduino comic v0004
Arduino comic v0004Arduino comic v0004
Arduino comic v0004
 
Arduino Comic-Jody Culkin-2011
Arduino Comic-Jody Culkin-2011Arduino Comic-Jody Culkin-2011
Arduino Comic-Jody Culkin-2011
 
Arduino
ArduinoArduino
Arduino
 
raushan
raushanraushan
raushan
 
Arduino
ArduinoArduino
Arduino
 
Digital home automation with arduino bluetooth
Digital home automation with arduino bluetoothDigital home automation with arduino bluetooth
Digital home automation with arduino bluetooth
 
Arduino: Arduino starter kit
Arduino: Arduino starter kitArduino: Arduino starter kit
Arduino: Arduino starter kit
 
Arduino electronics cookbook
Arduino electronics cookbookArduino electronics cookbook
Arduino electronics cookbook
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixels
 
Robotics Session day 1
Robotics Session day 1Robotics Session day 1
Robotics Session day 1
 
Designers, please mind the gap! Let's get started with Arduino
Designers, please mind the gap! Let's get started with ArduinoDesigners, please mind the gap! Let's get started with Arduino
Designers, please mind the gap! Let's get started with Arduino
 

Recently uploaded

一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
BrazilAccount1
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
symbo111
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 

Recently uploaded (20)

一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 

KEYBOARD INSTRUMENT

  • 2. TABLE OF CONTENTS Introduction Principle of Methodology Architecture of Project Components required Working Output References
  • 3. INTRODUCTION The objective of this report was to create a user-friendly device capable of playing music based off of an operator’s commands. From the beginning, we knew that we wanted a project that relied heavily on user interaction. We decided to venture down the path of music, based on our mutual interest of learning and playing musical instruments. The Arduino in combination with the Musical Instrument Shield and piezodiscs are the three main components in this project. When the piezodiscs are distorted in tension or compression, a note is played through a speaker
  • 4. Arduino is an open-source electronics platform based on easy-to-use hardware and software. Arduino boards are able to read inputs – light on a sensor, a finger on a button, or a Twitter message - and turn it into an output - activating a motor, turning on an LED, publishing something online. What is an aurdino..?
  • 5. COMPONENTS REQUIRED 1. Breadboard 2. x Piezo buzzer 3. 4 x Switches 4. 1 x 220-ohms resistor 5. 2 x 10-kilohm resistors 6. 1 x 1-megohm resistor 7. 9 x Jumper wires
  • 6. PRINCIPLE OF METHODLOGY While it’s possible to simply hook up a number of momentary switches to digital inputs to key of different tones, in this project, you’ll be constructing something called a resistor ladder. This is a way to read a number of switches using the analog input. It’s a helpful technique if you find yourself short on digital inputs. You’ll hook up a number of switches that are connected in parallel to analog in 0. Most of these will connect to power through a resistor. When you press each button, a different voltage level will pass to the input pin. If you press two buttons at the same time, you’ll get a unique input based on the relationship between the two resistors in parallel
  • 8.
  • 9. BODY OF THE PROJECT Wire up your breadboard with power and ground as in the previous projects. Connect one end of the piezo to ground. Connect the other end to pin 8 on your Arduino. Place your switches on the breadboard as shown in the circuit. The arrangement of resistors and switches feeding into an analog input is called a resistor ladder. Connect the first one directly to power. Connect the second, third and fourth switches to power through a 220-ohm, 10-kilohm and 1-megohm resistor, respectively. Connect all the switches’ outputs together in one junction. Connect this junction to ground with a 10-kilohm resistor, and also connect it to Analog In 0. Each of these acts as a voltage divider.
  • 10. If you press the first button, notes[0] will play. If you press the second, notes[1] will play, and if you press the third, notes[2] will play. This is when arrays become really handy. Only one frequency can play on a pin at any given time, so if you’re pressing multiple keys, you’ll only hear one sound. To stop playing notes when there is no button being pressed, call the noTone() function, providing the pin number to stop playing sound on. RESULTS
  • 11. If your resistors are close in value to the values in the example program, you should hear some sounds from the piezo when you press the buttons. If not, check the serial monitor to make sure each of the buttons is a range that corresponds to the notes in the if()...else statement. If you’re hearing a sound that seems to stutter, try increasing the range a little bit. Press multiple buttons at the same time, and we get different sort of values in the serial monitor. We can Use these new values to trigger even more sounds. Experiment with different frequencies to expand your musical output. We can find frequencies of musical notes on this page:
  • 12. Over the years Arduino has been used as the “brain” in thousands of projects, one morecreative than the last. A worldwide community of makers has gathered around this open-source platform, moving from personal computing to personal fabrication, and contributing to a new world of participation, cooperation and sharing. Think about an enclosure for the keyboard. While old analog synthesizers had wires poking out all over the place, your keyboard is sleek and digital. Prepare a small piece of cardboard that can be cut out to accommodate your buttons. Label the keys, so we know what notes are triggered by each key. CONCLUSION
  • 13. THANK YOU BY V.SONY -180040579 M.RASHMI SRI-180040504 D.HARSHITHA-180040591