CHAPTER TWO
In this project two kinds of sensors will be used which are Photoresistor light-dependent
resistor: LDR is a light controlled variable resistor. The resistance of a photoresistor
decreases with increasing incident light intensity; in other words, it exhibits
photoconductivity. This sensor will detect darkness to activate the ON/OFF switch, so the
streetlights will be ready to turn ON by using the LDR we can operate the lights, i.e. during
the day or when there is surrounding light it will be in the OFF state and when it is dark the
light will be in ON state, it means LDR is inversely proportional to light. When the light
falls on the LDR it sends a command to the microcontroller that it should be in the OFF state
and then switches OFF the light, and the Ultrasonic sensor will detect movement by
measuring the distance of the object to increase the intensity of streetlights according to
the presence or absent of the object. LDR, which varies according to the amount of light
falling on its surface gives an induction for whether its day or night time, the ultrasonic
sensors are placed on the side of the road, which will be activated only at night. If any object
crosses the ultrasonic beam, a section of light bulbs will automatically come ON, all these
commands are sent to the microcontroller ATmega 32 on which the device operates. We
use a relay to act as an ON/OFF switch. By using this as a basic principle, the intelligent
system can be designed for the perfect usage of streetlights in any place.
The block diagram of street light system as shown in Fig. 1 consists of microcontroller,
LDR, LED, sensor and power supply.
1.1) BLOCK DIAGRAM