EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / STREET LIGHT THAT GLOWS ON DETECTING VEHICLE MOVEMENT

STREET LIGHT THAT GLOWS ON DETECTING VEHICLE MOVEMENT

|

Microcontroller › 8051 › STREET LIGHT THAT GLOWS ON DETECTING VEHICLE MOVEMENT

  • This topic has 9 replies, 6 voices, and was last updated 9 years, 3 months ago by Anonymous.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • July 20, 2013 at 3:47 am #2546
    Harshad
    Participant

              The project is designed to detect vehicle movement on highways to switch ON only a block of street lights ahead of it (vehicle), and to switch OFF the trailing lights to save energy. During night all the lights on the highway remain ON for the vehicles, but lots of energy is wasted when there is no vehicle movement.

     

              This proposed system provides a solution for energy saving. This is achieved by sensing an approaching vehicle and then switches ON a block of street lights ahead of the vehicle. As the vehicle passes by, the trailing lights switch OFF automatically. Thus, we save a lot of energy. So when there are no vehicles on the highway, then all the lights remain OFF. However, there is another mode of operation where instead of switching OFF the lights completely, they remain ON with 10% of the maximum intensity of the light. As the vehicle approaches, the block of street lights switch to 100% intensity and then as the vehicle passes by, the trailing lights revert back to 10% intensity again. High intensity discharge lamp (HID) presently used for urban street light are based on principle of gas discharge, thus the intensity is not controllable by any voltage reduction. White Light Emitting Diode (LED) based lamps are soon replacing the HID lamps in street light.  Intensity control is also possible by Pulse Width Modulation (PWM) generated by the microcontroller. Sensors used on either side of the road senses vehicle movement and sends logic commands to microcontroller to switch ON/OFF the LEDs. Thus this way of dynamically changing intensity ON/OFF helps in saving a lot of energy. The project uses an 8051 series microcontroller.

     

             Further the project can be enhanced by using appropriate sensors for detecting the failed street light and then sending an SMS to the control department via GSM modem for appropriate action.

     

     

     

     

     

     

     

     

     

     

    July 20, 2013 at 4:55 am #10171
    AJISH ALFRED
    Participant

    Hi Harshad,

    Nice project. Have you done it or need help from us?

    May 14, 2014 at 6:20 am #11728
    ajinkya
    Participant

        

           hi….Harshad,

            

                   i m doing this tye of project and i m  getting trouble in making code.

                  

                   i m using atmega32 microcontroller, LDR, IR sensors, and pwm concept for dimming the intensity of leds

                

                  please help me…………

    May 15, 2014 at 3:37 pm #11731
    Ashutosh Bhatt
    Participant

    your concept is perfect. but to develop even demonstration model you have to do lot of calculations, calibration, like

    1) how far you will detect a vehicle ?

    2) how many lights you will turn on n off at a time?

    3) how many vehicles you will detect at a time?

    4) how many inputs (sensors) and outputs (LED) you will use?

    5) how you fed PWM to multiple LEDs at a time?

     

    first try to put all these things on paper

    May 17, 2014 at 8:05 am #11738
    ajinkya
    Participant

    i have right down every thing on a paper only i want to know the how pwm is dimming the intensity

      

    please help me in writing the code………..

    May 18, 2014 at 12:19 pm #11743
    Ashutosh Bhatt
    Participant

    very good

    PWM gives variable DC output. the equation for PWM output is

       Vcc * Ton / Ttotal

    for example if Ton is 50% of Ttotal then output is Vcc / 2

    similarly if Ton is 25% – output is Vcc / 4 like wise

     

    so avg DC output varies as pulse width varies.

     

    if this voltage is applied to LED (any DC operated device) its intensity varies.

     

    generating PWM is very simple. if your controller does not have built in PWM channel then you can do this

     

    take two time variables Ton and Toff.

    make one delay subroutine that gives delay as per value passed of Ton or Toff

    set any one pin of microcontroller to 1

    give delay for Ton time

    reset that pin to 0

    give delay for Toff time

     

    now just change Ton and Toff values like to increase pulse width increase Ton and same time decrease Toff by same value e.g. Ton+=5 and Toff-=5;

     

     

    May 20, 2014 at 7:11 am #11748
    ajinkya
    Participant

     

     i m using atmega32 which has in built pwm

     

     i m connecting ldr at portA which are adc pin for distinguish between day and night

     

     IR sensors are coneected at portB via LM324 comparator ic

     

     and power leds which are 3v are conneted portD

     

     

          when LDR distiguish as night the o/p LEDs will glow at 40% intensity and as the IR sensor detects any vehicle the intensity of LEDs will increase at 100%  intensity with the help of PWM as soon as the vehicle passes over the IR sensor again the o/p LEDs regain its 40% intensity………

     

     how to generate PWM in atmega32 with inbuild PWM

     

     what to do to regain its intensity to 40%

     

     

    June 19, 2014 at 8:08 pm #11841
    samie
    Participant

    good day, pls am new here.. i want to build the exact street light control that glows when a vehicle is approaching. i dont have code and also i dont know anything about the project pls hear me

     

    June 21, 2014 at 12:32 pm #11842
    Ashutosh Bhatt
    Participant

    to generate PWM with ATMega32 pls follow tutorials given on this site on

    EG labs / micro controller / AVR

    February 6, 2017 at 5:31 pm #14411
    Anonymous
    Guest

    I need the coding fr this program

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Voltage comparator circuit verification May 10, 2026
  • What is this??? May 10, 2026
  • Why aren’t the power windows in my 2006 Volkswagen Polo 2006 working despite repairing the control unit circuit board? May 10, 2026
  • infiniBand Layer 1 specifications testing question May 8, 2026
  • block RF May 8, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise