Energy conservation is a major global priority. The Automatic Street Light Controller is a simple yet highly effective project that demonstrates how automation can save massive amounts of electricity. Using a Light Dependent Resistor (LDR), the system detects ambient light levels and automatically turns the street lights on at dusk and off at dawn. It is an ideal introductory project for students learning about analog sensors and relay switching.
This project is popular because it solves a real-world problem with an elegant, low-cost solution. It is often the first project where students learn how to read an analog voltage divider circuit. The concept is easy to understand, the circuit is simple to build, and the impact—saving energy by eliminating manual operation of streetlights—is immediately obvious, making it a favorite for science fairs.
There are several ways to build an automatic lighting system, ranging from simple to advanced:
Illuminate your learning with these automation kits from TecnoMate:
A kit that applies the same principles to indoor lighting, often incorporating PIR motion sensors alongside light sensors.
Expand your lighting project to control multiple appliances throughout a smart home environment.
Apply the analog sensor logic you learned with the LDR to a soil moisture sensor to automate gardening.
To build an Arduino-based street light controller, you need:
Q: How does the LDR work?
A: An LDR (Light Dependent Resistor) is a photoresistor whose resistance changes based on light intensity. In the dark, its resistance is very high (up to 1 MegaOhm). In bright light, its resistance drops significantly (down to a few hundred Ohms). By placing it in a voltage divider circuit, this changing resistance is converted into a changing voltage that the Arduino can measure.
Q: The relay clicks on and off rapidly at twilight. How do I fix this?
A: This "chatter" happens when the light level is hovering exactly at your threshold. To fix this, you must implement "hysteresis" in your code. Instead of one threshold, use two: turn the light ON when the value drops below 400, but don't turn it OFF until the value rises above 500.
The Automatic Street Light Controller is a brilliant, energy-saving project that teaches fundamental skills in analog sensing and threshold programming. It is the perfect first step into the world of automated systems. Grab your components from TecnoMate and start building smarter, greener electronics!
Explore our collection of DIY kits and components. All project components mentioned in this guide are available in our store.
Browse All Projects