Changes between Version 2 and Version 3 of ControlSystems/Electrical/Training/Arduino/Lesson4


Ignore:
Timestamp:
Sep 28, 2015, 12:27:52 AM (10 years ago)
Author:
David Albert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ControlSystems/Electrical/Training/Arduino/Lesson4

    v2 v3  
    11= Making Music =
    2 * DEVICES: Speaker
    3 * THEORY: frequency, amplitude, software lookup tables
    4 * TOOLS: frequency counter and/or oscilloscope
    5 * HANDS-ON: use switches to make different tones. Make music using notes and note-to-frequency LUTs
    62
    7 Your kit includes a tiny speaker [[Image(http://i.ebayimg.com/00/s/MTI4MFgxNjAw/z/iq4AAOSwgQ9Vli0r/$_35.JPG, align=right)]].
     3Your kit includes a tiny [http://electronics.howstuffworks.com/speaker6.htm audio speaker] [[Image(http://i.ebayimg.com/00/s/MTI4MFgxNjAw/z/iq4AAOSwgQ9Vli0r/$_35.JPG, align=right)]].
    84You can use the speaker with your Arduino to make sounds and even play music.
    95
     6You can connect your speaker to one of the arduino digital pins (red wire) and ground (black wire) and use the tone() function to generate sound!  Because the wires on the speaker are very thin, it may be hard to get them into the holes on the arduino or breadboard.  You can try using one lead from a resistor to push them in or ask a mentor or senior student for help.  If needed, we can solder thicker wire leads to the ends of the speaker wires.
     7
     8* [http://www.instructables.com/id/Arduino-Basics-Making-Sound/ Instructable]
    109* [http://playground.arduino.cc/Code/MusicalAlgoFun a music program]
    1110* [https://www.arduino.cc/en/Tutorial/PlayMelody music with volume control]
    12 * [http://www.instructables.com/id/Arduino-Basics-Making-Sound/ Instructable]
    1311* [http://makezine.com/projects/make-35/advanced-arduino-sound-synthesis/ Advanced sound and waveform generator]
    1412
     
    1816  * Use switches to make an instrument
    1917  * Examine the signal being sent to the speaker using an oscilloscope
    20   * NOTE: later, we'll build a thermain
     18  * NOTE: later, we'll build a [https://learn.adafruit.com/adafruit-arduino-lesson-10-making-sounds/pseudo-theramin Thermin]
    2119
    2220== Advanced Projects ==