Simple Sounders and Sensors

  • Michael McRoberts


We are now going to get our Arduino to make some simple sounds using a piezo sounder. Being able to produce sounds using the Arduino is a great way to add alarms, warning beeps, and alert notifications to the device we are creating. Since version 0018 of the Arduino IDE, a new command has been added that allowed tones to be created easily. We will also find out how to use the piezo as a sensor and learn how to read data from it. Finally, we will look at a light sensor. You will learn how to make simple sounds and pick up the basics of reading analog sensors along the way.


Main Loop Voltage Divider Light Sensor Alarm Sound Quarter Note 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Michael McRoberts 2013

Authors and Affiliations

  • Michael McRoberts
    • 1
  1. 1.KentUK

Personalised recommendations