An IoT-based intelligent street lighting system built using Arduino UNO, ESP8266 WiFi module, LDR sensor, and ThingSpeak cloud platform.
The system automatically controls street lights based on ambient light conditions and sends real-time data to the cloud for monitoring.
Street lighting consumes a large portion of city electricity.
This project aims to reduce energy consumption through an automated lighting control system.
Benefits:
- Energy saving
- Remote monitoring
- Smart city infrastructure
- Reduced maintenance cost
✔ Automatic light detection using LDR
✔ Smart ON/OFF street light control
✔ Cloud monitoring via ThingSpeak
✔ Emergency panic button alert
✔ IoT based real-time monitoring
✔ Scalable design for smart city applications
| Component | Quantity |
|---|---|
| Arduino UNO | 1 |
| ESP8266 WiFi Module | 1 |
| LDR Sensor | 1 |
| Push Button | 1 |
| Breadboard | 1 |
| Resistors | Multiple |
- Arduino IDE
- ThingSpeak IoT Cloud
- Embedded C (Arduino)
LDR Sensor → Arduino UNO → ESP8266 WiFi → ThingSpeak Cloud ↓ Street Light LED
- LDR sensor detects ambient light.
- If environment becomes dark → street light turns ON.
- If environment becomes bright → street light turns OFF.
- System sends data to ThingSpeak cloud.
- Cloud dashboard displays real-time status.
| Field | Description |
|---|---|
| field1 | Street Light Status |
| field2 | Emergency Button Status |
if (ldrStatus <= 10) { digitalWrite(ledPin, HIGH); } else { digitalWrite(ledPin, LOW); }