RGB Color Mixer
Lighting · Board: ESP32 · Day 6 of 100
Three potentiometers blend red, green, and blue channels on an ESP32-driven RGB LED. A hands-on way to learn multi-channel PWM.

How it works
Three potentiometers feed three analog channels, one per color. Each reading sets the PWM duty of the red, green, or blue leg of the RGB LED. Because the channels mix additively, every knob position produces a different blended color.
What you'll learn
- Multi-channel PWM
- Additive color mixing
- Parallel analog inputs
- Mapping inputs to outputs
Full project: code, wiring diagram & Wokwi simulation
The complete build guide lives in the original repo. Ours is a summary — the real thing is one click away.
Open full project on GitHub ↗Summary by SkillShop. Project by Kritish Mohapatra — code and diagrams belong to the original repo.
More Lighting builds
ESP32
Auto Night Light
An ESP32 reads ambient light through an LDR and switches an LED on automatically after dark. A gentle first project covering analog input and threshol…
Read case →
ESP32
Dimmer LED
Turn a potentiometer to fade an LED smoothly using PWM on the ESP32. Teaches analog-to-digital conversion and duty-cycle control in one evening.
Read case →
ESP32
LED Bar Graph
Ten LEDs light up in sequence as you turn a potentiometer, visualizing analog levels on the ESP32. Simple ADC-to-output mapping made visible.
Read case →