What is the Servo 7-Segment Display?
It is a big 7-segment display, the same shape as the digits on a microwave clock, but every segment is a cardboard (or 3D printed) flap mounted on its own servo. One side of each flap is coloured, the other side is blank. To draw a 7, the ESP32 turns segments a, b and c to their coloured side and keeps the rest hidden.
The whole display is run by one ESP32 DevKit. It creates its own open Wi-Fi network called Servo-7Seg, and the dashboard opens on your phone as soon as you connect. No app and no internet are needed.
What you will learn
- Driving seven 360° continuous rotation servos from the ESP32 LEDC PWM channels.
- Turning a servo that only knows speed into a two-position flap with timed moves, and remembering where each flap is in flash.
- Mapping characters to segment patterns (bit 0 is segment a, bit 6 is g).
- Avoiding collisions: the upper flaps (b and f) swing over the middle segment g, so they close first while g turns.
- Serving a web dashboard and captive portal from the ESP32 and keeping a slow phone from ever delaying a servo stop.
- Testing the circuit and code in a simulator first, so you only wire it once.