Sensor-driven intersection monitoring with live analytics

Smart Traffic Control

Sensor-driven intersection monitoring with live analytics

ShippedArduinoESP8266PythonMQTT

94%

Detection accuracy

4

Sensor nodes

Live

Dashboard uptime

The problem

Urban intersections in growing East African cities lack real-time traffic data. Manual counts are expensive and outdated within weeks. City planners need continuous flow metrics to justify signal timing changes.

Our approach

Ultrasonic sensors on ESP8266 nodes measure vehicle presence at each approach. Data streams via MQTT to a Python ingest service, aggregating into a live dashboard with peak-hour heatmaps and anomaly alerts for blocked lanes.

Technologies

  • ESP8266 firmware with ultrasonic ranging
  • MQTT broker for low-bandwidth telemetry
  • Python ingest + PostgreSQL time-series storage
  • Web dashboard with real-time charts
  • Alert thresholds for congestion events

Outcome

Deployed as a university capstone with production-grade documentation. Demonstrated 94% detection accuracy in controlled tests. Architecture spec adopted as reference design for municipal pilot discussions.