Hardware Reference
In-Depth Information
Solution
Use the Bone's analog-to-digital converters (ADCs) and a resistor divider circuit to detect
the resistance in the sensor.
The Bone has seven built-in analog inputs that can easily read a resistive value.
Figure 2-7
shows them on the lower part of the
P9
header.
Figure 2-7. Seven analog inputs on the
P9
header
To make this recipe, you will need:
▪ Breadboard and jumper wires (see
“Prototyping Equipment”
)
▪ 10 kΩ trimpot (see
“Resistors”
)
or
▪ Flex resistor (optional, see
“Resistors”
)