🚦 IoT URL-Based Highway Toll Traffic Light
A smart web-controlled traffic light system for highways and toll booths. Red and green LED arrays signal "Stop & Pay" or "Payment Complete", controlled over a web interface using Arduino Nano, ESP32, and ENC28J60 Ethernet module.

Connections for Network and Web Control

Arduino Nano, Relay Module, and High-Power LED Arrays
✨ Features
- 🌐 Web-Controlled – Change light states via URL commands.
- 🔌 ESP32 + ENC28J60 – Network-enabled IoT device for high-speed response.
- ⚡ High-Power LEDs – 354 LEDs per unit, split between green and red arrays.
- 🔁 Relay Control – Separate drivers for red and green signals, switching with relays.
- 🚦 Toll Booth Ready – Mounted above highways for secure payment verification.
⚙️ Working Principle
The system uses an Arduino Nano to manage relay switching for high-powered LED drivers. Green LEDs indicate successful toll payment, while Red LEDs alert the driver to stop and pay. A separate ESP32 with ENC28J60 Ethernet module provides a web-based control panel, allowing operators to manage traffic signals remotely over a network connection.
🌍 Importance
This system is designed to automate highway toll collection checkpoints, reducing human error and increasing vehicle throughput. By integrating IoT controls, it can be expanded into a smart-city infrastructure, ensuring smoother traffic flow and safer highway management.
🔧 How to Build
- Assemble Arduino Nano with an 8-channel relay module and LED drivers.
- Wire the ESP32 and ENC28J60 Ethernet module to provide network connectivity.
- Create a web server interface on ESP32 to send commands via URL endpoints.
- Mount LED arrays on highway poles for visibility, with a STOP/GO light pattern.
- Deploy system at toll booths to automate payment verification signaling.
📦 Repository
❤️ Acknowledgements
- ESP32 and ENC28J60 official documentation
- Arduino Relay Module references
- IoT traffic control projects inspiration
MIT Licensed — Innovate, build, and deploy smart traffic systems. ⭐ the repository if this inspires you!