SkillShop
SkillShop › IoT Cases › LED Bar Graph
Day 7 of 100

LED Bar Graph

Lighting · Board: ESP32 · Day 7 of 100

Ten LEDs light up in sequence as you turn a potentiometer, visualizing analog levels on the ESP32. Simple ADC-to-output mapping made visible.

How it works

The potentiometer's analog value is scaled from its full range down to a count between zero and ten. That count decides how many of the ten LEDs light up, so the row of LEDs behaves like a physical meter for the knob position.

What you'll learn

  • Value scaling and mapping
  • LED array driving
  • Analog visualization
  • Range quantization

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