PIR Sensor Arduino Project | Motion Detector Arduino UNO | PIR Sensor Light Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2019
  • #arduino, #arduinoprojects, #sensor Hello, This is www.thetips4you.com . This project is based on Arduino, Motion sensor PIR and LED. We are going to do a motion detection using PIR sensor and the depeding upon it the LED will get Lit.
    Check out the video for complete tutorial and simulation using TinkerCad.
    You can check out more projects using Arduino and Raspberry Pi in site.
    Some of the pages are listed below
    Free Simulation Software: www.thetips4you.com/arduino-fr...
    Arduino Basics: www.thetips4you.com/start-home...
    =================================================
    Follow me @:
    / thetips4you
    th-cam.com/channels/oOq.html...
    / thetipsforyou
    www.thetips4you.com
    ======================================================
    Note: Each word by Word or sentences used in this video is self written and converted to Audio to give explanation on the steps in each tutorial . These are not automated or third party content or scrapped from any website.
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    This helped me a lot with my assignment! Thankyou so so much !

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

      You are welcome friend. Please check this video as well, which may help you more for your project PIR sensor and DC Motor. th-cam.com/video/gdWZCu3EDMw/w-d-xo.html

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

    Thank you so much🙏 This video really helped me in my work thanks again for helping 🙏❤️👍

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

      You are welcome. That's great to hear.

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

    Thanks a lot

  • @LoveYourself-dj3nn
    @LoveYourself-dj3nn 3 ปีที่แล้ว +2

    Thank you for this video.. this helped me ...

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

      You are welcome friend. Good to know your feedback.

  • @spillinout
    @spillinout 4 ปีที่แล้ว

    for the ones that where this doesn't work, All you have to do is connect a cable from the led to the ground. Then it should work.

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

      Already as per my connection, you have a cable connecting to ground and led through the resistor. Why do you need another connection ?

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

    Tysm

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

    Hey! FOr my assignment it requires us to have both a lled lighting up and a sound alarm, so for tinkercad it would be the piezzo. Any chance you could help?

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

      Definitely friend. I will try to prepare a video for it and share it. Please give me few days.

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

      @@Thetips4you Thank you!

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

      @@silvawolflova Can you please contact me in FB "thetipsforyou". I have the circuit and code ready if you need it fast. otherwise you can wait till I convert that as a video and upload.

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

      Hello Friend, please check this video. I have made this for your request. th-cam.com/video/3fOLDJxGAxI/w-d-xo.html

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

      @@Thetips4you Thanks!

  • @ecocreator4007
    @ecocreator4007 5 หลายเดือนก่อน

    is there any way I can connect without a cable
    please reply quickly

  • @ecocreator4007
    @ecocreator4007 5 หลายเดือนก่อน

    the uploading says error compiling, check if you have selected a board and if its currently available

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

    I want to ask why does its have an error in the code regarding "if"and "else" code

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

      Can you send me the code? Please contact me through fb thetipsforyou or in Instagram thetips4you.

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

    can you like put in more things like adding a motor or a relay?

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

      Definitely friend, that is possible. We can add relay or motor to control AC or motor using PIR sensor. We need to make some changes to the connection and code. Currently my laptop hardware is broken so I cannot create any videos until the lockdown is over.

    • @mrtnrzk
      @mrtnrzk 4 ปีที่แล้ว

      Thetips4you if you could tell me which pin to connect and so i think that will do it and also the coding for it. i need it badly for a school project :(

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

      You can use any digital pin. You will have to make connection from relay to led or the device you want to control. When the sensor output is high you can make the relay switch to change from normally open to normally closed so the led will be turned on.

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

      This is one of my article on relay project but with raspberry Pi. You can make use of similar approach www.thetips4you.com/raspberry-pi-and-a-relay-module-how-to-control-a-relay-using-raspberry-pi/

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

      @@Thetips4you Is there a way I can email you or telegram you so that you can fix my project?

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

    What kind of resistor do we need to use?

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

      Please check in the video for resistors ohm value.

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

      @@Thetips4you Oh ok thx

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

    Can we comnect 2 or more pir sensor to one arduino

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

      Yes, as per your requirement

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

      Can u pls guide me that which pin should be connect to which on.
      I request you to pls make a video on my(viewer) demand 🙏🙏

  • @ecocreator4007
    @ecocreator4007 5 หลายเดือนก่อน +1

    Which app did you use to upload the code. I hope you reply quickly

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

    HOW TO MAKE THE LED MORE LONG TO STAY ON

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

      You can add a delay

  • @ecocreator4007
    @ecocreator4007 5 หลายเดือนก่อน

    can I connect the Arduino without the cable. Is there any other way

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

      Connect with cable.

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

    Hello! please help me i have my assignment after 3 days
    in tinker cad i have made every thing correct but still the bulb is not glowing what has gone wrong i am not able to understand
    i have done the coding in the right way too. reply as soon as you can

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

      Hello friend, can you contact me through fb thetipsforyou. Kindly send the circuit diagram as well.

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

      Thetips4you Hi I have texted u my diagram on messenger via Facebook

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

      @Ritesh Anand, I haven't received your message. Please check again. FB account is thetipsforyou.

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

      Thetips4you ☺️leave it I’ve sorted it out ,it was not working due to a minor mistake,but thank you for your help 👍and prompt response 😌

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

      @@riteshanand1666 That's great to hear friend.

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

    Which app used to record screen

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

      TinkerCAD

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

      @@manikantareddy6588 is it internal option of screen recording in tinkercad ?

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

      @@prasadhire184 that I don't know , but the software he is using is tinkercad in chrome

  • @emebrhaney4798
    @emebrhaney4798 4 ปีที่แล้ว

    hello i tried but it is not led is not blinking in the stimulation what could be the reason?

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

      Can you check the connections are. Proper? Also the sensor is working correctly.Also check the connection to the ground.

    • @emebrhaney4798
      @emebrhaney4798 4 ปีที่แล้ว

      @@Thetips4you am in the tinkercad i dont know how I should see the connection in ground?
      and I checked the connections are fine

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

      @@emebrhaney4798 Can you contact me through fb "thetipsforyou"

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

    it gives an error in my code can you send the code to me so I can copy-paste it?

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

      Please contact me fb @thetipsforyou

  • @HarshaVardhan-eo7qc
    @HarshaVardhan-eo7qc 2 ปีที่แล้ว

    my led is not blinking...i dont know where the issue is....plz help me

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

      Contact me through fb

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

    The code is error can you help me?

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

      Definitely. Can you send me the error message in fb or Instagram?

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

    Can you please do a door lock with password for my assignment and explain the project in details
    I wish you see my comment

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

      I see your comment. Unfortunately I am currently occupied with other topics and I cannot take this request now. I will consider this for later videos, when I get time.

  • @jusayjoshual.3400
    @jusayjoshual.3400 2 ปีที่แล้ว +1

    sir. good day . can I ask question about your simulation design. I'm going to chat your fb account.

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

    I want the code please!

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

      Sure Friend. I will upload in git and will share you the link.

    • @miguelborges5695
      @miguelborges5695 4 ปีที่แล้ว

      @@Thetips4you As?

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

      I didn't understand your question? AS means?

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

      @Miguel Borges , download the code from here . github.com/shazforiot/pirsensor_arduino_project.git

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

      Thank you for the code and the video really helped me in my work thanks a lot🙏

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

    Define pir sensor pir pin 0 And input pin 2 , how its possible 🙄🤔

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

      Check the video again, you got it wrong. The pir signal pin is connected to Arduino pin 2 and same has been defined as input (pin 2) in code.

  • @naifobaid29h
    @naifobaid29h 11 หลายเดือนก่อน +1

    int pirsensor = 0;
    void setup ()
    {
    pinMode(13, OUTPUT);
    pinMode(2, INPUT);
    }
    void loop()
    {

    pirsensor = digitalRead(2);
    if (pirsensor == HIGH)
    {
    digitalWrite(13, HIGH);
    }
    else
    {
    digitalWrite(13, LOW);
    }

    delay(10);
    }