0PricingLogin
Arduino & IoT Academy · Lesson

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

  1. Digital vs Analog Signals
  2. analogRead Returns 0–1023
  3. Read a Potentiometer Knob
  4. map() Values to a New Range
← Back to Arduino & IoT Academy