SunFounder ESP32 Starter Kit
1.24 5.8 Turn the Knob
A potentiometer is a three-terminal device that is commonly used to adjust the resistance in a circuit. It features a knob
or a sliding lever that can be used to vary the resistance value of the potentiometer. In this project, we will utilize it to
control the brightness of an LED, similar to a desk lamp in our daily life. By adjusting the position of the potentiometer,
we can change the resistance in the circuit, thereby regulating the current flowing through the LED and adjusting its
brightness accordingly. This allows us to create a customizable and adjustable lighting experience, similar to that of a
desk lamp.
Required Components
In this project, we need the following components.
It’s definitely convenient to buy a whole kit, here’s the link:
Name ITEMS IN THIS KIT LINK
ESP32 Starter Kit 320+
You can also buy them separately from the links below.
COMPONENT INTRODUCTION PURCHASE LINK
ESP32 WROOM 32E
ESP32 Camera Extension -
Breadboard
Jumper Wires
Resistor
LED
Potentiometer
Available Pins
• Available Pins
Here is a list of available pins on the ESP32 board for this project.
Available Pins IO14, IO25, I35, I34, I39, I36
• Strapping Pins
The following pins are strapping pins, which affect the startup process of the ESP32 during power on
or reset. However, once the ESP32 is booted up successfully, they can be used as regular pins.
Strapping Pins IO0, IO12
Schematic
86 Chapter 1. For Arduino User