Arduino Project - Smart street light system Part- II

Поделиться
HTML-код
  • Опубликовано: 23 окт 2024
  • Visit My Website For More Details -
    stauseef123.bl...
    Hello GYZ welcome to Arduino Project and in this tutorial, i will show how to make a smart street light system easily.
    WORKING: -
    When it's Dark the LDR will switch on all the LED's and their brightness will be full / 5 (255 / 5) and when any obstacle is detected by the IR sensor the respected LED will glow with full brightness for 3 sec
    If required do the modification in the code and Do the connection as per the code
    I will show -
    How to connect LRD to Arduino
    How to connect IR sensor to Arduino
    How to connect LED to Arduino
    Components Required: - Amazon Trusted Links
    1- Arduino Uno Best price - amzn.to/44ogVBo
    2- IR Sensors (2) Best price - amzn.to/43v0f9T
    3- LED 's Best price - amzn.to/2IE1uub
    4- LDR Best price - amzn.to/2lIlhj1
    5- Resistor Best price - amzn.to/3XNOaM0
    6- Jumper Wires Best price - amzn.to/2RoW1Od
    My Email ID (Contact Me Here)
    stauseef123@gmail.com
    Code: -
    fumacrom.com/1IuDy
    Or
    www.mediafire....
    Link for Circuit diagram
    fumacrom.com/1Jy2q
    OR
    www.mediafire.c...
    THANKS FOR WATCHING
    Plzz like and subscribe

Комментарии • 107

  • @kevalproject5164
    @kevalproject5164 5 лет назад

    Nice tutorial..मैं भी यहाँ से सीख कर अपना project बनाया हूँ ..bhai please ऐसे ही और vedio banavo ..

  • @paofran6746
    @paofran6746 4 года назад +3

    Is it possible for two LEDS to respond in a single IR Sensor?

  • @kavinkavin1220
    @kavinkavin1220 Год назад

    It's working 100 % only two light

  • @yogeshagre2761
    @yogeshagre2761 2 года назад

    You saved my life thank you so much

  • @bkharshit
    @bkharshit 5 лет назад +2

    Can I use your code directly? Or do I need some file for IR sensor in Arduino software in my laptop

  • @KushagraGuptaMusic
    @KushagraGuptaMusic 5 лет назад +1

    hey plz answer...that will value of resistors change if we use less than 5 ir sensors???..plz answer

  • @shivamagrahari4046
    @shivamagrahari4046 6 лет назад +2

    thanks man can i add a rf receiver to further switch on red lights for AMBULANCE and other emergency vehicles

  • @prakharpandey6405
    @prakharpandey6405 4 года назад

    Can I use more than 5ir sensor for more street light . If yes please tell how

  • @joejungle2949
    @joejungle2949 5 лет назад

    Sir is there any command beside delay(); ? im having trouble with my project. cuz Blocking functions prevent a program from doing anything else until that particular task has completed. this project need multitasking command right?

    • @electro_king_official
      @electro_king_official  5 лет назад

      No delay function is used to keep the lights ON for few seconds and the code is 100% working
      And the code is not multitasking, set of instructions get implemented when the condition is true

  • @alfalahenglishschoolghatko9434
    @alfalahenglishschoolghatko9434 5 лет назад +1

    Thanks

  • @syedamuqadas5625
    @syedamuqadas5625 3 года назад

    You are a life saver 👍👍❤️❤️

  • @MdMijanurRahman-zv7lt
    @MdMijanurRahman-zv7lt 2 года назад

    I can't download the from this site that you given in description box. Can you help me to download the code?

  • @jayeshambulkar9079
    @jayeshambulkar9079 5 лет назад

    Can we use SONAR instead of IR sensor here? N what's difference will it cause if no

    • @electro_king_official
      @electro_king_official  5 лет назад +1

      IR and sonar (ultrasonic sensor) both work very differently, ir sensor uses infrared light and sonar sensor uses sound waves and i have written code code for ir and if you want to use sonar sensor then you have to change the code because we have to declare triggering destance in that case

    • @jayeshambulkar9079
      @jayeshambulkar9079 5 лет назад

      @@electro_king_official which will be better to use ? I already have an ultrasonic sensor

    • @electro_king_official
      @electro_king_official  5 лет назад

      @@jayeshambulkar9079
      It depends on you, both the sensors are accurate but in ultrasonic sensor you have advantage of long distance and during sunlight ir sensor dont work properly but ultrasonic works well and if you use ultrasonic sensor then you have to write a new code for it and if you use ir sensor then use my code directly

    • @jayeshambulkar9079
      @jayeshambulkar9079 5 лет назад

      @@electro_king_official okay thank you so much for the help

  • @VinaySingh-et8bu
    @VinaySingh-et8bu 3 года назад

    What is the IOT thing in this whole project?. Coz its only related to Arduino. What if we want to use IOT?. How can we do that plz say

  • @PYUNGIAKHIZAW
    @PYUNGIAKHIZAW 4 года назад

    Brother, how LED light without battery 🔋?? We don’t need battery in this?? Please explain.

  • @jhenkar_2008
    @jhenkar_2008 2 года назад

    IF I REMOVE LDR WILL IT WORK

  • @vikasgupta293
    @vikasgupta293 5 лет назад

    what do you connected for power 🔋 supply ???
    a laptop or something else

  • @dhananjaythakur7754
    @dhananjaythakur7754 3 года назад

    Sir, i don't want to use LDR sensor. What to change in code for it?

  • @himanshumadhukar2618
    @himanshumadhukar2618 5 лет назад

    How we gonna supply power to all the led and adruino ....if battery then where it will be connected? Please help out

    • @electro_king_official
      @electro_king_official  5 лет назад +1

      Directly through usb cable comes with arduino or if you want to use external power supply then connect the positive terminal of the battery to vin pin of arduino and negative terminal to gnd

    • @himanshumadhukar2618
      @himanshumadhukar2618 5 лет назад

      @@electro_king_official thanku

  • @rizalrawk3870
    @rizalrawk3870 4 года назад

    can you do if with gsm ? sim900A?

  • @tayyababbasi3785
    @tayyababbasi3785 2 года назад

    how it works on cloud please explain.

  • @mousumisaha2303
    @mousumisaha2303 5 лет назад +1

    sir, from the links you have provided for the arduino code is loading for this project .Sir please help me out.

  • @RezwanulIslamRawnaqueNSU
    @RezwanulIslamRawnaqueNSU 2 года назад

    LDR sensor didn’t get connection though i connect as you showed

  • @shivverma1459
    @shivverma1459 5 лет назад

    sir it is doing opposite of what it should be doing that is glowing in brightness and getting off in dark
    please help

  • @hammadghumman7223
    @hammadghumman7223 5 лет назад +1

    bhai code upload krne pr leds glow krna shoro kr deti hain ldr pe hath rkho ya na rkho ldr is mei kam ni kr rha .. plz tell what is the problem.. or there is problem in code.. help me bro

    • @electro_king_official
      @electro_king_official  5 лет назад

      Nope code is 💯 working and do the connection as per the code it will work for sure

    • @electro_king_official
      @electro_king_official  5 лет назад

      And download the new code, you will find the link right down in the description

  • @chandanmishra8211
    @chandanmishra8211 6 лет назад

    Can u explain the ckt diagram i want to do it first on proteus also can i do it in proteus or not also the code part

    • @electro_king_official
      @electro_king_official  5 лет назад

      Circuit diagram is very simple, once you open it you will understand how the connection is dne

    • @khaledbendaoud7664
      @khaledbendaoud7664 4 года назад

      can you send to me simulation in Proteus

  • @shreetejakulkarni8826
    @shreetejakulkarni8826 3 года назад

    We have made the connection as you show in the video but it is not working

  • @alfalahenglishschoolghatko9434
    @alfalahenglishschoolghatko9434 5 лет назад +1

    Where to put positive and negative leg of led

    • @electro_king_official
      @electro_king_official  5 лет назад +2

      Positive the longer 1 will go to digital pin of arduino and negative the shorter 1 will go to gnd

  • @KushagraGuptaMusic
    @KushagraGuptaMusic 5 лет назад

    Can we connect two Leds two single ir sensor? ?

    • @electro_king_official
      @electro_king_official  5 лет назад

      Yes you can but you have to initialise the pin no of the led and set them high when there is a car in if else loop

    • @KushagraGuptaMusic
      @KushagraGuptaMusic 5 лет назад

      Instead can be join the negative legs of two leds together...and the same we we can do with positive legs and then follow the same circuit by treating that as a single led joint (as shown in the circuit i.e. one led with one ir sensor) ??

    • @electro_king_official
      @electro_king_official  5 лет назад

      @@KushagraGuptaMusic
      But prower will be divided between both the leds...
      Try it will work ..connect the negative of both the leds to gnd and positive to the signal pin of arduino

    • @KushagraGuptaMusic
      @KushagraGuptaMusic 5 лет назад

      @@electro_king_official OK thank you✌

    • @KushagraGuptaMusic
      @KushagraGuptaMusic 5 лет назад

      Bhai agar sirf 3 ir sensor use kre toh resistor ki value change hogi?

  • @salonilohar2176
    @salonilohar2176 6 лет назад +1

    Thanks a ton tauseef ..really helped me a lot..♡♡

    • @electro_king_official
      @electro_king_official  5 лет назад

      you welcome saloni

    • @rafaelbbl8298
      @rafaelbbl8298 5 лет назад +1

      Can you gave me a schematic and block diagram for educational purposes only thank you in advance❤

    • @electro_king_official
      @electro_king_official  5 лет назад +1

      @@rafaelbbl8298
      link is in the description you can download it from their
      if you need any help you can contact me here
      stauseef123@gmail.com

  • @hirdeshkumar6648
    @hirdeshkumar6648 3 года назад

    Sir Please give the circuit diagram because it is not available in your given link.

  • @uniquetechunter9419
    @uniquetechunter9419 2 года назад

    I can't download the code can u help me

  • @alexjung40909
    @alexjung40909 5 лет назад +1

    Your website seems to be not working

  • @indranilbarman895
    @indranilbarman895 6 лет назад +1

    Love you man..

  • @104-pranavshetty3
    @104-pranavshetty3 4 года назад +1

    Bro which software to use

  • @zion382
    @zion382 4 года назад

    Sir. That link you have provided for Arduino is not working. Please resend the link which is working

  • @Mika-mg6hw
    @Mika-mg6hw 5 лет назад

    Hai can anyone help? My 1st and 3rd led doesn't light up well in normal situation but it's working fine when ir sensor is being hit. I've follow every step in the video and i just couldn't figure it out what's wrong here

    • @Mika-mg6hw
      @Mika-mg6hw 5 лет назад

      I've change the led, change the led wire, change the led position but still it's the same. The 1st and the 3rd led not working correctly

  • @KushagraGuptaMusic
    @KushagraGuptaMusic 5 лет назад

    bhak why some leds gets off when brightness of other leds is increased ??...plz tell any solution
    ...

    • @tejark1059
      @tejark1059 4 года назад

      Give supply to ir sensors through separate source

  • @shivverma1459
    @shivverma1459 5 лет назад

    Same code for doing on cloud?

  • @artheesonm559
    @artheesonm559 4 года назад

    link in description is not working

  • @AK-uq9hz
    @AK-uq9hz 5 лет назад

    Why are you using both analogWrite and DigitalWrite in your code in every if statement ?

    • @AK-uq9hz
      @AK-uq9hz 5 лет назад

      Can someone reply I have a simulation in 2 days

  • @chandanimourya2606
    @chandanimourya2606 4 года назад

    I can't find any ckt please help me

  • @aneeshkonduri5453
    @aneeshkonduri5453 4 года назад

    is the explanation of the code available plss respond

  • @abhilashsudipaka4571
    @abhilashsudipaka4571 3 года назад

    Code not working bro errors occurs Analog pins bro

  • @aishwaryabhandare4363
    @aishwaryabhandare4363 3 года назад

    Sir I want flowchart of this project.. plz help

  • @rahulkolisto7765
    @rahulkolisto7765 5 лет назад

    Sir please provide me your code which have you used in 5 IR sensors

  • @vikasgupta293
    @vikasgupta293 5 лет назад +1

    and how i can instaall ur codes in arduino

    • @electro_king_official
      @electro_king_official  5 лет назад

      hi
      just download the code from the link in the description and upload it on your arduino

  • @lakshmivishnavi8176
    @lakshmivishnavi8176 2 года назад

    Arduino IDE download link please

  • @104-pranavshetty3
    @104-pranavshetty3 4 года назад

    Which programming Language

  • @rafaelbbl8298
    @rafaelbbl8298 5 лет назад

    Can you gave me a schematic and block diagram for educational purposes only thank you in advance❤

    • @electro_king_official
      @electro_king_official  5 лет назад

      @Rafael Babael
      link is in the description you can download it from their
      if you need any help you can contact me here
      stauseef123@gmail.com

    • @nitinforu4650
      @nitinforu4650 5 лет назад

      @@electro_king_official have u report on this project.

  • @shivverma1459
    @shivverma1459 5 лет назад

    says cant recognize com12 port

    • @electro_king_official
      @electro_king_official  5 лет назад

      This is my email address stauseef123@gmail.com
      Send the the image of the error

  • @hirdeshkumar6648
    @hirdeshkumar6648 3 года назад

    Sir Your project is not working

  • @resistance7326
    @resistance7326 4 года назад

    Not working

  • @sazzadhossainshazu2716
    @sazzadhossainshazu2716 4 года назад

    It Shows Error

  • @fadelzizi3579
    @fadelzizi3579 5 лет назад

    Can you explain to me the simulation of this project in isis?

  • @ayshakadiri8474
    @ayshakadiri8474 5 лет назад +1

    Ur code file is not opening

    • @electro_king_official
      @electro_king_official  5 лет назад

      Web page is not opening or after downloading the file is not opening ?

    • @AK-uq9hz
      @AK-uq9hz 5 лет назад +1

      @@electro_king_official after downloading there is no app which opens the file

    • @electro_king_official
      @electro_king_official  5 лет назад

      @@AK-uq9hz yes you need to download Arduino IDE to open the code

  • @shreetejakulkarni8826
    @shreetejakulkarni8826 3 года назад

    Code for 4 sensors

  • @sazzadhossainshazu2716
    @sazzadhossainshazu2716 4 года назад

    Arduino: 1.8.11 Hourly Build 2019/10/22 10:16 (Windows 7), Board: "Arduino/Genuino Uno"
    Sketch uses 2928 bytes (9%) of program storage space. Maximum is 32256 bytes.
    Global variables use 188 bytes (9%) of dynamic memory, leaving 1860 bytes for local variables. Maximum is 2048 bytes.
    An error occurred while uploading the sketch
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x8f
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x8f
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x8f
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x8f
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x8f
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x8f
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x8f
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x8f
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x8f
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x8f
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

  • @santhoshn1487
    @santhoshn1487 4 года назад

    It's not working can u please help