Potentiometer Rotation
Potentiometer
The potentiometer is a resistive element between two terminals with a middle “wiper” terminal that contacts that element somewhere along its length. The contact point is adjusted by turning the adjustment knob on top of the device. With its end terminals connected to a voltage supply, the wiper terminal voltage indicates how fare between the terminals the knob has been turned.
Parts
(1) Potentiometer 152-01031
(1) 220 Ω resistor (red-red-brown-gold)
Jumper wires: red, black
Schematic
Wiring
Script
Tests
As you twist the potentiometer from one end of its range of motion to the other, the measurements displayed by the micro:bit module’s 5×5 LED matrix display should range from 0 to 3.3 V.