Abstract
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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Michael McRoberts
About this chapter
Cite this chapter
McRoberts, M. (2013). Simple Sounders and Sensors. In: Beginning Arduino. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-5017-3_4
Download citation
DOI: https://doi.org/10.1007/978-1-4302-5017-3_4
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-5016-6
Online ISBN: 978-1-4302-5017-3
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)