M2M Demo – Lesson #6 : Sensing sound with a Buzzer
In this seventh tutorial, we will learn the principle of the piezoelectric effect. You will use the piezo buzzer to build a knock sensor that produces an electrical charge when the piezo element is oscillating. You will write an Android application in which the background changes each time a knock has been sensed. A simple ProgressBar UI element will visualize the current ADC value that has been sensed.
You will find :
– Arduino sketch
– Android code
– Documentation including : List of electronic components, Circuit diagram , Arduino sketch, Android main class script, and a photo of the result.
You can enhance the code or create new one 🙂
As usual all code is documented.