PerfectMoney

Tuesday, February 24, 2015

Street Lights that Glow on Detecting Vehicle Movement

Generally, street lights are switched on for whole night and during the day, they are switched off. But during the night time, street lights are not necessary if there is no traffic. Saving of this energy is very important factor these days as energy resources are getting reduced day by day. Alternatives for natural resources are very less and our next generations may face lot of problems because of lack of these natural resources. We have already seen the circuit diagram and working of Auto Intensity Control of Street Lights circuit in the earlier post. This article describes about the circuit that switches the street lights on detecting vehicle movement and remains off after fixed time.

Principle Behind this Circuit:

The proposed system consists of Atmega8 microcontroller, LDR, PIR sensor and RTC. This system controls the street lights using light dependent resistor and PIR sensor.
Street lights are switched on depending on the intensity of the Sun light on LDR. If the intensity of Sunlight on light dependent resistor is low, its resistance value is high. This value increases and becomes high when it is completely in dark. This resistance value decides when the street lights are required to switch ON.
As the resistance value is maximum in the midnights, real time clock comes into the play. The controller checks peak time during which there is no traffic and switch OFF the lights. When there is any vehicle on the road, it is detected by the PIR sensor.
Whenever PIR sensor is detected it just indicates the microcontroller to switch on the street lights. Then lights are switched on for 2 to 3minutes and switched off automatically.
Another way to this approach is, one can maintain minimum intensity without completely switching off the lights by using PWM and switch them on to maximum intensity whenever it detects the vehicle. But in this article the circuit is designed in such a way that lights are completely switched OFF and will be switched ON only when there is any vehicle. 

Circuit Diagram of Street Lights that Glow on Detecting Vehicle Movement Project:

Street Lights That Glow on Vehicle Movement Circuit Diagram
Circuit Diagram of Street Lights That Glow on Vehicle Movement – Electronics Hub
 Circuit Components:
  • ATmega8 microcontroller
  • DS1307 IC
  • PIR sensor
  • LDR
  • LCD
  • LED array

Street Lights that Glow on Detecting Vehicle Movement Circuit Design:

The proposed circuit consists of ATmega8 microcontroller, PIR sensor, light dependent resistor and real time clock, Liquid Crystal Display.
Passive Infrared sensor, also called as PIR sensor is connected to the PD0 pin of the microcontroller. PIR sensor senses the motion of the objects.
The PIR sensor internally will have an IR detector. Every object in the world radiates some IR rays. These are invisible to the human eye but electronic components can detect them. Different objects will emit IR rays of different wavelength. These rays were detected by the PIR sensor. PIR is initially high and is set to low automatically after sometime. Whenever it detects the motion of any object, it becomes low.
LDR is connected to the ADC pin – ADC0 of the microcontroller as LDR will produce analog value which is converted to digital by the ADC.
Light dependent resistors will have low resistance in light and high resistance in dark. The resistance of Light dependent resistor in dark is in range of ohms and in dark its resistance is in the range of mega ohms. When the light falls on LDR it resistance is reduced to a great extent.
Real time clock IC used is DS1307, which is I2C compatible. Real time clock has 8 pins.1 and 2 pins are connected to the crystal oscillator.3rd pin is connected to a battery.6th pin of RTC is connected to PC5 pin of microcontroller.5th pin is connected to PC4 pin of microcontroller.
I2C is inter integrated circuit. This is two wire interface protocol in which only two signals were used to transmit the data between two devices.
LCD is used for displaying time. LCD interfacing in 4bit mode is shown in the circuit diagram. Time from RTC is read and displayed on the LCD.

How to Operate this Circuit?

  1. Initially power the circuit.
  2. LCD displays the time read from RTC.
  3. Place the LDR in darkness. Now street light is switched ON.
  4. Now micro controller continuously checks the time. Street Light is switched on for fixed timings written in the code.
  5. After this time, they are switched of automatically.
  6. Place your hand in front of PIR sensor, this switches the street lights again, indicating that on the detection of any object street light is ON.
  7. After 2-3 seconds delay, lights are again switched of automatically.

    Street Lights that Glow on Detecting Vehicle Movement Circuit Applications:

    1. This circuit can be used in real time street lights and highways also.
    2. This can be used for lights in parking areas of industries, hotels, restaurants, etc. 
    Main Advantages of this Circuit:
    • This circuit uses LED Bulbs, so it is very low cost and it has more life span.
    • Maximum energy can be saved.

No comments:

Post a Comment

some simple projects for Electrical&Electronics students