Changes

Week 3 Lab

10 bytes removed, 07:10, 13 April 2009
Analog Input
from [[Electronic Technologies for Art]]
== Analog Input ==
* now... driving it with input data, instead of with a loop.
* File->Sketchbook->Analog->AnalogInput
 
The value of the input signal changes the timing of the light: the lower the signal the lower the on-off frequency, the higher the signal, the higher the frequency. We can return to this at the end of the lab.
 
First we will use a potentiometer as our input.
=== Potentiometer ===
[[Image:Pot_in.png]]
* Q: Looking at the Arduino help for that function (<code>analogRead()</code>), what do you think the value <code>val</code> will be for those highest and lowest voltages at your A_IN pin?
* Q: How can you verify your guess? Try and verify your values, in some plausible manner. Anything goes!!
* The value of the input signal changes the timing of the light: the lower the signal the lower the on-off frequency, the higher the signal, the higher the frequency. We can return to this at the end of the lab.
=== other loads ===
==== strain gauge ====
==== flex sensor ====
 
== Analog Output ==
Continually varying signals, rather than discrete "steps".