Automatic Street Lights Using Ultrasonic Sensor

Introduction: Automatic Street Lights Using Ultrasonic Sensor

Did you ever think that how the street lights automatically turn ON in the night and turn OFF automatically in the morning? Is there any person who comes to ON/OFF these lights? There are several ways to turn on the street lights but the following circuit describes an Automatic Street Light Controller Circuit that uses an ultrasonic sensor to perform this job automatically.

Step 1: Components Required:

1. Arduino UNO

2. LEDs*12

3. Ultrasonic sensor

4. Breadboard

5. Jumper wires

6. Resistors*12 (220 ohms)

Step 2: Circuit Diagram:

Whenever a car passes from the ultrasonic sensor the led will get automatically on in series. I have programmed the led in such a manner that when the car passes from 3rd led the 1st first led get automatically off and same as for other LEDs.

The project can be implemented in National highways to save electricity and also no person is required to switch on/off the street lights.

If you are new to the Arduino, please visit the link first to know how to interface the components :

https://www.youtube.com/channel/UCTS10_CRYJhT-vb9-pvKzzg

Step 3: Code:

For credit, please follow my following accounts.
Thanks

For more interesting projects connect with me on:

Youtube:https://www.youtube.com/channel/UCTS10_CRYJhT-vb9...
Facebook page: https://www.facebook.com/techeor1/

Instagram:https://instagram.com/official_techeor?igshid=uc8...

Arduino Contest 2020

Participated in the
Arduino Contest 2020

Be the First to Share

    Recommendations

    • Lamps and Lighting Contest

      Lamps and Lighting Contest
    • Tinkercad Student Design Contest

      Tinkercad Student Design Contest
    • Back to School: Student Design Challenge

      Back to School: Student Design Challenge

    13 Comments

    0
    Mudit5246
    Mudit5246

    Reply 1 year ago

    Code has been shared. Thanks

    0
    ramyareddyvoodem
    ramyareddyvoodem

    Reply 8 months ago

    Hi , very interesting project just what I need for my project.Could you please send me the code.

    0
    Mudit5246
    Mudit5246

    Reply 8 months ago

    I have attached the code above you can download from there.
    Thanks

    0
    kgiri
    kgiri

    Reply 1 year ago

    Thanks & Regards

    0
    PETERL13
    PETERL13

    Question 1 year ago

    Hi , very interesting project just what I need for my long driveway.Could you please send me the code it would be appreciated.

    comsys2002@gmail.com

    0
    Mudit5246
    Mudit5246

    Answer 1 year ago

    Code has been shared thanks😄

    0
    Mudit5246
    Mudit5246

    Reply 1 year ago

    code has been shared to you.Thanks

    0
    VRK1944
    VRK1944

    Reply 1 year ago

    Thanks. I will study this.