Smart traffic lights (ESP8266 + Raspberry Pi)
Two coordinated intersections on commodity hardware, and a YOLO-driven signal demo.
- Status
- PrototypeWorking proof of concept with demo video
- Period
- Sep 2025
- Role
- Hardware, firmware and control algorithm
- Brand
- Tuchopini
ESP8266 sensor nodes at each approach report vehicle presence over Wi-Fi to a Raspberry Pi controller per intersection; the two Pis talk to each other so each one's timing accounts for the other's queue. A companion demo counts vehicles per approach with YOLOv8 and adjusts LED signal timing live. A simulation harness allows a thousand scenarios in an afternoon before touching the boards.
What it does
- ESP8266 nodes, Pi controllers, Pi-to-Pi coordination
- Modular hardware abstraction and GPIO test scripts
- Dual-intersection simulation mode
- YOLOv8 vehicle density → LED timing demo
You cannot iterate a signal algorithm by standing at a junction. The simulation harness is what made the hardware work tractable.
Watch
More ai, vision and iot
Built ▶ 1 AI, vision and IoT
AI traffic survey and vehicle counting
Survey-grade counts from video: 14 categories, by direction, in 15-minute slots.
Python · YOLOv8 · OpenCV · SQLite
Prototype AI, vision and IoT
AI traffic management on Google Cloud
Camera feeds to adaptive signal timing, with a human override.
Google Cloud · Vertex AI · Pub/Sub · Dataflow
AI, vision and IoT
Smart parking occupancy
Two Raspberry Pis, two sensors, one live bay count you can trust.
Raspberry Pi 4 · Python · OpenCV · YOLO