Changes

Jump to: navigation, search

Week 3 Lab

390 bytes added, 15:35, 14 April 2009
Sound, Tone Generation
Q: Drive it with the input from the potentiometer.
=== Sound, /Tone Generation ! For Sound People (optional) ===A kind of An analog output. (but , different from the light dimming)dimmer. To make a varying sound, you would want to change the frequency of the output signal, not the amplitude.* With This is more like the light blinking from part one, where changing the input voltage will change the rate of the light. But now you will do it with a Piezo, adjusting the time delayin microseconds.* If you like sound, try this: http://www.arduino.cc/en/Tutorial/PlayMelody, I have a piezo you can use. (Or you can get one at RadioShack).* this This example adjusts the frequency of the output (tone) not the magnitude. * the light fading above (<code>analogWrite()</code>) adjusted adjusts the brightness of the light (magnitude) with PWM.
== Homework ==

Navigation menu