Green Flow is a hardware-based intelligent traffic management prototype designed to improve vehicle flow across general and service streets, especially in crowded cities such as Riyadh, Jeddah, Dammam, and Al-Khobar. Using sensors, adaptive timing logic, and microcontroller-based control, the system dynamically adjusts traffic signals based on real traffic conditions—reducing waiting time, preventing unnecessary stops, and enhancing overall road safety.
Traditional traffic lights operate on fixed timers, regardless of vehicle presence. This leads to delays, unnecessary red lights, and increased accident risks. Green Flow introduces a smarter, sensor-based approach.
Operates on a programmed cycle with timing adjustments based on real vehicle flow and detected traffic density.
Analyzes the status of the General Street and receives its signal (red/yellow/green) based on the main road traffic.The goal is to reduce risky sudden merges and minimize accidents caused by switching routes.
Both streets operate together to achieve:
- Reduced accident probability
- Shorter waiting time on low-traffic lanes
- Priority for the main (general) road
- Less idle time on red signals
- Overall smoother, safer traffic flow
- Sensors detect vehicle movement on both street types.
- Microcontroller logic (Arduino-based) decides signal switching.
- General Street follows a primary cycle with adaptive timing.
- Service Street adjusts its color signals based on main-road analysis.
- LED signals switch automatically according to lane priority and sensor states.
This approach balances efficiency,energy saving, and traffic responsiveness.
- Arduino Uno (microcontroller)
- Infrared / Ultrasonic vehicle detection sensors
- LEDs (Red, Yellow, Green)
- Resistors
- Wires & breadboard
- Power source
- Dual traffic-signal setup (General Street & Service Street)
A live demonstration of the system prototype can be viewed here: https://drive.google.com/file/d/13TIqSkRGOM9jObN_4wgO9IAUMzUO6Trk/view
- Code:
- GeneralStreet.ino
- ServiceStreet.ino
- Diagrams:
- Block Diagram.png
- General Circuit Design.png
- Service Circuit Design.png
- Add real-time traffic density measurement
- Integrate IoT dashboard for monitoring signal status
- Add emergency-vehicle priority detection
- Scale system to multi-lane or multi-intersection control
- Optimize timing using machine learning (predictive switching)