Changes

Jump to: navigation, search

Classes/2010/VIS147A/Lab8

2 bytes added, 15:15, 2 March 2010
Potentiometer
[[Image:Pot_in.png]] [[Image:Pot_photo.JPG|400px]]
The simple potentiometer voltage divider can be connected to an of the Analog In pins (0-5) on your Arduino. By default, the ''AnalogPinputAnalogInput'' code program expects the potentiometer to be connected on Analog In 0, the value of <code>sensorPin</code> variable at the top of the program.
QUESTION: What will the voltage at the analog input be? What are the upper ____ and lower ____ values as you turn the knob? (HINT: this is a voltage divider. How do you calculate the voltage in a voltage divider?)

Navigation menu