Robotics & Arduino
Lesson 3 · Hands on

Project 03

Potentiometer — four LEDs

What do we want to do?

Divide the pot’s range into four quarters.

Parts

  • Arduino Uno + USB cable, breadboard, and jumper wires.
  • Potentiometer
  • 4 colored LEDs and 4 × 330Ω resistors

What to expect

One LED lights at a time: red → yellow → green → blue as the reading increases.