Difference between revisions of "Classes/2010/VIS147A/offcuts"

From Robert-Depot
Jump to: navigation, search
(New page: === Week 8 - Motors, Coils, Inductors === * Reference: MedTech **http://www.swharden.com/blog/2009-08-14-diy-ecg-machine-on-the-cheap/ **artificial facial muscles - http://archfaci.ama-ass...)
 
Line 15: Line 15:
 
*Homework 8:
 
*Homework 8:
 
*Lab 8:
 
*Lab 8:
 +
 +
 +
=== Sound/Tone Generation! For Sound People (optional) ===
 +
An analog output, different from the light dimmer.  To make a varying sound, you would want to change the frequency of the output signal, not the amplitude.
 +
* 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 delay in 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 example adjusts the frequency of the output (tone) not the magnitude.
 +
* the light fading above (<code>analogWrite()</code>) adjusts the brightness of the light (magnitude) with PWM.

Revision as of 08:48, 2 March 2010

Week 8 - Motors, Coils, Inductors


Sound/Tone Generation! For Sound People (optional)

An analog output, different from the light dimmer. To make a varying sound, you would want to change the frequency of the output signal, not the amplitude.

  • 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 delay in 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 example adjusts the frequency of the output (tone) not the magnitude.
  • the light fading above (analogWrite()) adjusts the brightness of the light (magnitude) with PWM.