| 6 | |
| 7 | Your kit includes a tiny speaker [[Image(http://i.ebayimg.com/00/s/MTI4MFgxNjAw/z/iq4AAOSwgQ9Vli0r/$_35.JPG, align=right)]]. |
| 8 | You can use the speaker with your Arduino to make sounds and even play music. |
| 9 | |
| 10 | * [http://playground.arduino.cc/Code/MusicalAlgoFun a music program] |
| 11 | * [https://www.arduino.cc/en/Tutorial/PlayMelody music with volume control] |
| 12 | * [http://www.instructables.com/id/Arduino-Basics-Making-Sound/ Instructable] |
| 13 | * [http://makezine.com/projects/make-35/advanced-arduino-sound-synthesis/ Advanced sound and waveform generator] |
| 14 | |
| 15 | **Exercises**: |
| 16 | * Make a sound |
| 17 | * Play a song (use an array for the notes and lookup tables for the frequencies) |
| 18 | * Use switches to make an instrument |
| 19 | * Examine the signal being sent to the speaker using an oscilloscope |
| 20 | * NOTE: later, we'll build a thermain |
| 21 | |
| 22 | == Advanced Projects == |
| 23 | [http://www.tehnorama.ro/wp-content/uploads/2010/06/Arduino-LM386.png better sound] |
| 24 | [http://blogspot.tenettech.com/?p=518 text to speech] |