Robotics & Arduino
Lesson 3 · Hands on

Project 04

Potentiometer — LED wave

What do we want to do?

Change brightness within each quarter of the pot’s range.

Parts

  • Arduino Uno + USB cable, breadboard, and jumper wires.
  • Potentiometer
  • 4 LEDs connected to PWM-capable pins
  • 4 × 330Ω resistors

What to expect

Each LED fades up and down as the knob passes through its quarter.