Automatic Street Lights Using Ultrasonic Sensor

2,585

4

14

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

    • Anything Goes Contest

      Anything Goes Contest

    14 Comments

    0
    Yashaswi
    Yashaswi

    6 months ago

    Thanks for the code...Interesting subject. Can you please provide the code.

    0
    Mudit5246
    Mudit5246

    Reply 2 years ago

    Code has been shared. Thanks

    0
    ramyareddyvoodem
    ramyareddyvoodem

    Reply 1 year ago

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

    0
    Mudit5246
    Mudit5246

    Reply 1 year ago

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

    0
    kgiri
    kgiri

    Reply 2 years ago

    Thanks & Regards

    0
    PETERL13
    PETERL13

    Question 2 years 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

    1
    Mudit5246
    Mudit5246

    Answer 2 years ago

    Code has been shared thanks😄

    0
    Mudit5246
    Mudit5246

    Reply 2 years ago

    code has been shared to you.Thanks

    0
    VRK1944
    VRK1944

    Reply 2 years ago

    Thanks. I will study this.