Arduino Tutorial For Beginners | PIR Sensor Arduino With Buzzer and LED | Thetips4you

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 พ.ค. 2024
  • #Arduino,#ArduinoProjects,#PIRSensorTutorial Hello Friends, Welcome back to my channel.Today we are going to see another tutorial on Arduino. We are going to do a project using Arduino Uno, PIR Sensor, LED and Piezo Buzzer. In this project when the PIR sensor detects a motion, LED will be lit and also the buzzer will make the sound.
    We will go through the step by step process on connecting the circuit and writing the code.
    ---------------------------------------------------------------------------------------------------------
    PIR Sensor with LED Project:
    • PIR Sensor Arduino Pro...
    --------------------------------------------------------------------------------------------------
    -------------------------------------------------------------------------------------------------
    Project code:
    github.com/shazforiot/PIR-Sen...
    ---------------------------------------------------------------------------------------------
    ==============================================
    Follow me @:
    / thetips4you
    / @thetips4you
    / thetipsforyou
    www.thetips4you.com
    ================================================
    Music credit: "Royalty Free Music from Bensound"
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Used this to study for my exam, thanks👍

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

    thank you your the reason why i didnt have to cry mysef asleep tonigth

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

      You are welcome. why should you cry?

  • @nayansawarkar4471
    @nayansawarkar4471 3 หลายเดือนก่อน

    Helpful
    Sound of buzzer is also working

    • @Thetips4you
      @Thetips4you  3 หลายเดือนก่อน

      Thank you

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

    Thank you so much it was extremely helpful

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

      You are welcome friend. Thank you for your feedback.

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

      @@Thetips4you I had an assignment that was hard but this helped me alot 😁

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

      @@aliabdali7997 Nice to hear. Best wishes for your assignment.

  • @sweetyhearty6691
    @sweetyhearty6691 3 ปีที่แล้ว

    So helpful

    • @Thetips4you
      @Thetips4you  3 ปีที่แล้ว

      Thank you. Glad you think so!

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

    Hi! Amazing video. Thank you for giving a really in depth explanation on each part. I would love to know, why do we need the resistor to connect to the ground? What if we just connect the LED and Buzzer's positive terminal directly to the ground?

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

      You need to control the current flow. If led and buzzer can accommodate the current flow you can connect directly.

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

    Thanks

  • @johnpaulogenesisaquino5052
    @johnpaulogenesisaquino5052 3 ปีที่แล้ว +4

    Hello, i just watched the video its so helpful for me because i ca use this to program my project, but may i ask, is it okay to use ultrasonic sensor rather than RIP sensor? And any kind of buzzer will do right?

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

      Yes you can use ultrasonic sensor however you will have to change the code. Ultrasonic is usually used to calculate the distance as well.

    • @johnpaulogenesisaquino5052
      @johnpaulogenesisaquino5052 3 ปีที่แล้ว

      @@Thetips4you at what part should i change the code, can you guide or something? Thankyou so much

    • @johnpaulogenesisaquino5052
      @johnpaulogenesisaquino5052 3 ปีที่แล้ว

      @@Thetips4you can you help me modify the previous code? So that it would be suitable for ultrasonic sensor? Thank yoou so much❤

    • @Thetips4you
      @Thetips4you  3 ปีที่แล้ว

      Sure I can help. Pls contact me through fb @thetipsforyou.

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

    Hi sir can i ask.
    Pir sensor can do wakeup system like security lock with motion ?

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

      Yes. If you have the other required devices as well.

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

      @@Thetips4you how ? can yout teach me

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

    Hello again! I followed the demo, and the pir sensor is detecting, but the buzzer and led are not lighting up and sounding off. Any idea what happened? DId i not connect the wires correctly?

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

      th-cam.com/video/qgMDnyq0Fw8/w-d-xo.html
      No audio or led lighting up. Or maybe i did not connect it correctly?

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

      Can you send your circuit to me in Facebook "thetipsforyou". let me have a look.

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

    can i add lCD this circuit?
    please tell me how and where?

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

      Yes you can. Please refer my videos on lcd.

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

    Sir it work but I want it to stop faster. I mean after detected the hand it is working for 2 minutes. I want it to work for 5 second and the stop.
    Pls tell how to do it

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

      Change the duration in the code

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

      Sir what is the range. How can I decrease it

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

    What is 500
    Is it in seconds or milliseconds.
    Pls help

  • @Jai-dl6hi
    @Jai-dl6hi 3 ปีที่แล้ว +1

    I did everything you did including the correct code but my buzzer and led lights turn on even though I don’t move my sensor, any idea how to fix it and only make the led and the buzzer ring when the sensor is moved?

    • @Thetips4you
      @Thetips4you  3 ปีที่แล้ว

      Can you contact me through fb "thetipsforyou". I can have a look on your circuit and code.

    • @Thetips4you
      @Thetips4you  3 ปีที่แล้ว

      @Vajresh Kundurthi You can define the pins by default as Low in Void Setup, or also check if the PIR Signal pin is connected properly. it should not be getting High value always which will case this issue.

    • @jort.thijssen3314
      @jort.thijssen3314 2 ปีที่แล้ว +1

      @@Thetips4you how would you do that? And what code should I write for that? Because I have the same issue

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

      @@jort.thijssen3314 In the Void Setup , add Digital Write to Low for the pins which are connected to LED and Buzzer, PIR sensor. Also please double check your PIR sensor Pins connected. if you connect 5 V to signal pin it will always give high output.

    • @jort.thijssen3314
      @jort.thijssen3314 2 ปีที่แล้ว

      @@Thetips4you can I maybe text you on anything? Because I am still kinda stuck with it haha

  • @jhaymine5416
    @jhaymine5416 3 ปีที่แล้ว

    Good day friend, I have one project how can I contact you.

    • @Thetips4you
      @Thetips4you  3 ปีที่แล้ว

      Hello friend, pls contact me fb@ thetipsforyou or in Instagram Thetips4you

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

    hi can you paste the coding here

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

      Please check the video description, the code is available in the GitHub link.

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

      thanks👌🏻

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

    I get an error on void setup line why

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

      What's the error?

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

      @@Thetips4you
      Hi on the digital Write line expected construcor or destructor before '{' token

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

      Please contact me through Facebook or Instagram. Kindly send the screen shot of error

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

    coding pls

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

      Hello Friend, Kindly get the code from the github link mentioned in video description.

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

    It dont work....
    The buzzer wouldnt buzz

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

      Double check your connection and code