How to use LDR Sensor with Arduino | Make Automatic street light 💡

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

ความคิดเห็น • 26

  • @prabhatverma7538
    @prabhatverma7538 3 ปีที่แล้ว +1

    Awesome... This is useful... Thanks 👍

  • @Roshni-aBrightnessinLife
    @Roshni-aBrightnessinLife 3 ปีที่แล้ว +1

    Very well explained 👏👏👍

  • @MehulAcharya26
    @MehulAcharya26 15 วันที่ผ่านมา +1

    Willnt there be any polarity issues??

  • @oyeniyiojo3523
    @oyeniyiojo3523 2 ปีที่แล้ว +1

    What of if I want I use a 40W bulb and solar panel?

    • @hashincludeelectronics
      @hashincludeelectronics  2 ปีที่แล้ว

      That’s a nice idea . However I have not used solar panel yet . You can try and let us know 👍🏻

  • @VirginiaZaki
    @VirginiaZaki ปีที่แล้ว +1

    I do not understand how do we connect the AC plug does not automatically light up when plugged. how do I prevent it from doing that?

    • @hashincludeelectronics
      @hashincludeelectronics  ปีที่แล้ว

      Please check the video slowly and carefully for any missing step 👍🏻

  • @abusufian2434
    @abusufian2434 ปีที่แล้ว

    Can we adjust(high,medium,low) the brightness of AC bulb automatically with the outside brightness??

    • @hashincludeelectronics
      @hashincludeelectronics  ปีที่แล้ว

      We can but not in this project . In that case you will need dimmer module . Also the LDR sensor should have the analog output .

    • @abusufian2434
      @abusufian2434 ปีที่แล้ว

      @@hashincludeelectronics Can you please help me in anyway to make this project?? I am trying a lot to find a project like this but have not found any on internet.
      i have found some where they use potentiometer. But that was not automatic.

  • @radiamoon2395
    @radiamoon2395 2 ปีที่แล้ว +1

    hi, first thank you so much for sharing this tuturial, i have an issue with my light sensor, i'm trying to make it print if its HIGH then its the night, if LOW than its the morning but it keeps sending me 0 value
    this is my code, can you please help me:
    #define LDR 2
    void setup() {
    Serial.begin(9600);
    pinMode(LDR,INPUT);
    }
    void loop() {
    int mia=digitalRead(LDR);
    Serial.println(mia);
    delay(1000);
    if (mia==HIGH){
    Serial.println("NIGHT");
    delay(1000);
    }
    else{
    Serial.println("MORNING");
    delay(1000);
    }
    }

    • @hashincludeelectronics
      @hashincludeelectronics  2 ปีที่แล้ว +1

      You need to calibrate the sensors sensitivity. Try changing the knob on sensor

    • @radiamoon2395
      @radiamoon2395 2 ปีที่แล้ว +1

      @@hashincludeelectronics it worked sir thank you

    • @hashincludeelectronics
      @hashincludeelectronics  2 ปีที่แล้ว

      @@radiamoon2395 glad that it worked . Good job 👍🏻

    • @biswanathghosh9975
      @biswanathghosh9975 2 ปีที่แล้ว

      Good one❣

  • @Divyash19
    @Divyash19 3 ปีที่แล้ว +1

    Do you live out ? of india? ?

  • @chaylee4764
    @chaylee4764 3 ปีที่แล้ว +2

    can i have the codes on this project bro?

  • @alfegallardo8924
    @alfegallardo8924 2 ปีที่แล้ว +1

    Why need battery?

    • @hashincludeelectronics
      @hashincludeelectronics  2 ปีที่แล้ว

      It’s needed to provide power supply to Arduino. You can use ac dc adapter as well

  • @sahugaming7432
    @sahugaming7432 10 หลายเดือนก่อน +1

    Plz give me code

    • @hashincludeelectronics
      @hashincludeelectronics  10 หลายเดือนก่อน

      Code and diagram link is provided in the description of the video 👏🏻👍🏻