SlideShare a Scribd company logo
1 of 13
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 workshopEdward 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 dec13Singapore Makers Association
 
Ultrasonic touch guitar nxt
Ultrasonic touch guitar   nxtUltrasonic touch guitar   nxt
Ultrasonic touch guitar nxtjagatworld
 
Arduino workshop - hello real world
Arduino workshop - hello real worldArduino workshop - hello real world
Arduino workshop - hello real worldTom Luyten
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to ArduinoDavid Mellis
 
IoT Programming with IchigoJam
IoT Programming with IchigoJamIoT Programming with IchigoJam
IoT Programming with IchigoJamTaisuke Fukuno
 
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
 

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 Arduino Music Keyboard Project

Electronz_Chapter_7.pptx
Electronz_Chapter_7.pptxElectronz_Chapter_7.pptx
Electronz_Chapter_7.pptxMokete5
 
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 UNOMarcheryAlingal
 
Electronz_Chapter_15.pptx
Electronz_Chapter_15.pptxElectronz_Chapter_15.pptx
Electronz_Chapter_15.pptxMokete5
 
Robotics and Embedded Systems
Robotics and Embedded SystemsRobotics and Embedded Systems
Robotics and Embedded SystemsAnkan Naskar
 
Genuino and codebender
Genuino and codebenderGenuino and codebender
Genuino and codebenderLuca Mazzotti
 
Arduino Workshop Slides
Arduino Workshop SlidesArduino Workshop Slides
Arduino Workshop Slidesmkarlin14
 
Arduino slides
Arduino slidesArduino slides
Arduino slidessdcharle
 
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 v0004DO!MAKERS
 
Digital home automation with arduino bluetooth
Digital home automation with arduino bluetoothDigital home automation with arduino bluetooth
Digital home automation with arduino bluetoothShishupal03012015
 
Arduino electronics cookbook
Arduino electronics cookbookArduino electronics cookbook
Arduino electronics cookbookFelipe Belarmino
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixelssdcharle
 
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 ArduinoFahed Al Riachi
 

Similar to Arduino Music Keyboard Project (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 Workshop Slides
Arduino Workshop SlidesArduino Workshop Slides
Arduino Workshop Slides
 
Arduino slides
Arduino slidesArduino slides
Arduino 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-Jody Culkin-2011
Arduino Comic-Jody Culkin-2011Arduino Comic-Jody Culkin-2011
Arduino Comic-Jody Culkin-2011
 
Arduino comic v0004
Arduino comic v0004Arduino comic v0004
Arduino comic v0004
 
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

(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 

Recently uploaded (20)

Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 

Arduino Music Keyboard Project

  • 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