Welcome to Building:bit Superkit repository
1.3 About potentiometers
About potentiometers
1.Potentiometer Introduction
Potentiometer, also known as adjustable resistor, is a resistor element with three terminals and whose resistance value can be adjusted according to a certain law of change. It is usually composed of a resistor body and a rotating or sliding system, that is, a moving contact moves on the resistor body to obtain partial voltage output.
The analog value output by the OUT pin of this potentiometer ranges from 0 to 1023. The positive direction of the potentiometer is when the terminal is facing down. When the white mark on the potentiometer is in the lower right corner, it is the starting point of the potentiometer. Counterclockwise rotation is from 0 to 1023, and clockwise rotation is from 1023 to 0.
2.Sensor parameters