Read a Potentiometer Knob
Wire a pot and watch its value change as you turn it.
Meet the Potentiometer
A potentiometer, or pot, is a knob you turn to change resistance. It is the easiest analog input to start experimenting with.
It Has Three Pins
A pot has three legs: two outer pins for power and ground, and a middle wiper pin that gives the changing voltage.
All lessons in this course
- Digital vs Analog Signals
- analogRead Returns 0–1023
- Read a Potentiometer Knob
- map() Values to a New Range