5,710
edits
Changes
→Analog Input
from [[Electronic Technologies for Art]]
== Analog Input ==
* 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!!
=== other loads ===
==== strain gauge ====
==== flex sensor ====
== Analog Output ==
Continually varying signals, rather than discrete "steps".