Hardware Reference
In-Depth Information
To +V
To +V
To ground
To ground
To Microcontroller
analog input
To Microcontroller
analog input
Input voltage
Input voltage
Variable resistor
(photocell, flex
sensor, etc.)
To microcontroller
analog input
To microcontroller
analog input
Potentiometer
Fixed resistor
Figure 1-17
Voltage divider used as analog input to a microcontroller.
Top : breadboard view.
Bottom : schematic view.
Figure 1-18
Potentiometer used as analog input to a microcontroller.
Top : breadboard view.
Bottom : schematic view.
Search WWH ::




Custom Search