Download Making sounds with a piezo

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Power inverter wikipedia , lookup

Power over Ethernet wikipedia , lookup

Decibel wikipedia , lookup

Rectifier wikipedia , lookup

Opto-isolator wikipedia , lookup

Islanding wikipedia , lookup

Electrification wikipedia , lookup

Ground loop (electricity) wikipedia , lookup

Three-phase electric power wikipedia , lookup

Electric power system wikipedia , lookup

Electrical substation wikipedia , lookup

Audio power wikipedia , lookup

Voltage regulator wikipedia , lookup

Ground (electricity) wikipedia , lookup

Buck converter wikipedia , lookup

Amtrak's 25 Hz traction power system wikipedia , lookup

Power electronics wikipedia , lookup

History of electric power transmission wikipedia , lookup

Rectiverter wikipedia , lookup

Distribution management system wikipedia , lookup

Surge protector wikipedia , lookup

Power engineering wikipedia , lookup

Piezoelectricity wikipedia , lookup

Switched-mode power supply wikipedia , lookup

National Electrical Code wikipedia , lookup

Stray voltage wikipedia , lookup

Alternating current wikipedia , lookup

Voltage optimisation wikipedia , lookup

Electrical wiring wikipedia , lookup

Mains electricity wikipedia , lookup

Electrical wiring in the United Kingdom wikipedia , lookup

Transcript
Making sounds with a piezo
What is a piezo?
'Piezo' normally refers to an electrical component which can be used to make sound, however
more broadly a piezo is a component that is susceptible to the two-way piezoelectric effect where
pressing or squeezing the piezo element can create a small voltage, and vice versa a small
voltage can create a small expanding/contracting movement.
Practically this means you can use a piezo to make sounds like a simple speaker, or act as a
contact microphone.
In this tutorial we'll look at wiring it up to Arduino with the Tone feature to create a melody.
Wiring
Wiring is simple, there are just two wires, applying power causes the piezo to expand, just as
applying power to an LED causes it to illuminate.
1. Ground
2. Power
Getting started
To get started quickly you can use one of the examples from the Arduino examples menu:
Read more about tone()
Revision #1
Created 1 month ago by Tom Lynch
Updated 1 month ago by Tom Lynch