Flask LED Control
Lighting · Board: ESP32 · Day 44 of 100
A Python Flask web app toggles an LED on ESP32 or Pico W. Full-stack IoT with a real backend framework.

How it works
A Flask application on your computer exposes a web route that the microcontroller polls over HTTP. When you click the page's button, the next poll carries the new state back and the LED flips. It is genuine full-stack IoT: browser frontend, Python backend, embedded client.
What you'll learn
- Flask web backends
- HTTP polling pattern
- Full-stack IoT architecture
- Frontend/backend separation
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
RGB Color Mixer
Three potentiometers blend red, green, and blue channels on an ESP32-driven RGB LED. A hands-on way to learn multi-channel PWM.
Read case →