Project Name
Automatic Street Light Using Arduino and LDR
๐ Introduction
In this Arduino project, we will make an Automatic Street Light System using an Arduino UNO and an LDR (Light Dependent Resistor).
The light turns ON automatically at night and OFF during daytime.
This project is widely used in smart cities, energy saving systems, and home automation.
๐ง Working Principle
-
LDR senses sunlight
-
When light is high (day) → Resistance of LDR is low → LED OFF
-
When light is low (night) → Resistance of LDR is high → LED ON
-
Arduino reads LDR value and controls the LED automatically
๐งฐ Components Required
| Component | Quantity |
|---|---|
| Arduino UNO | 1 |
| LDR (Light Sensor) | 1 |
| LED | 1 |
| 220ฮฉ Resistor | 1 |
| 10kฮฉ Resistor | 1 |
| Breadboard | 1 |
| Jumper Wires | As required |
| USB Cable | 1 |
๐ Circuit Connections
๐ LDR Connections
| LDR Pin | Connection |
|---|---|
| One leg | 5V |
| Other leg | A0 + 10kฮฉ to GND |
๐ LED Connections
| LED Pin | Connection |
|---|---|
| Anode (+) | Digital Pin 9 |
| Cathode (–) | 220ฮฉ Resistor → GND |
๐งพ Arduino Code
⚙️ How to Upload Code
-
Open Arduino IDE
-
Select Board: Arduino UNO
-
Select correct COM Port
-
Paste the code
-
Click Upload
๐ฏ Advantages
✔ Saves electricity
✔ Fully automatic
✔ Low cost
✔ Easy to build
✔ Beginner friendly
๐ Conclusion
This Arduino Automatic Street Light Project is simple, useful, and perfect for students and beginners. It helps understand sensors, analog input, and automatic control systems.





