Controlling the LED Brightness Using Potentiometer

Aim

The goal of this activity is to control the brightness of an LED using a potentiometer. 

Materials Required

  1. ESP32-1
  2. Micro USB Cable
  3. Resistors – 1
  4. LEDs-1
  5. Several Jumper Wires
  6. Potentiometer – 1

Wiring Diagram

Desired Outcome

You can adjust the potentiometer to control the brightness of an LED.