Work · AI, vision and IoT

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
Smart traffic lights (ESP8266 + Raspberry Pi) screenshot

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

YOLOv8 traffic-light controller demo (61 s) · 1:02

More ai, vision and iot