Hi
I am doing my project on auto intensity control of street lights and vehicle detection. This project consist of a LDR to control the intensity of light automatically and it also consists of photoelectric sensor which is used to sense the vehicles during the night time. Whenever a vehicle is detected then only the street light ahead of it will be in on condition for some time. So, please anyone can provide me code for the microcontroller PIC16F877A.[/align][/align][/align]
Posts: 8,059
Threads: 1
Joined: Mar 2014
c code for vehicle detection and intensity control of street light
Basic purpose of this project is to make street lights intelligent so that it can turn it on and off itself. Another feature of this project is that street lights intensity vary according to intensity of light and number of vehicles on road. Followings are the main features of this project :
Street lights turns itself on automatically during night or darkness. They turn themself off automatically during day time and during visible intensity of light.
Street lights controls its intensity automatically according to intensity of light. For example in evening intensity of light start decreasing at the same time street lights start increasing its intensity. When there is no intensity of light in after evening, street lights turn themself on with full intensity till midnight at 12:00 am.
There is another feature included in this project that is vehicle detection. Infrared sensor circuit is used to detect vehicles on road. After 12:00am street lights start decreasing their intensity. At 1:00am street lights turn off automatically. After 1:00 am function of vehicle detection starts. If there is any vehicle on road after 1:00am, street lights turns on for 2 minutes. After that they turn off automatically. In other words, After 1:00am street lights turn on only if there is any vehicle on road. Otherwise they remain off. This process remains till morning. But after having visible intensity of light during moring street lights turn off automatically.