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

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024
  • #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...
    Arduino Basics: www.thetips4you...
    =================================================
    Follow me @:
    / thetips4you
    www.youtube.co....
    / thetipsforyou
    www.thetips4you...
    ======================================================
    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.

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

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

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

    • @Thetips4you
      @Thetips4you  4 года назад +1

      You are welcome friend. Please check this video as well, which may help you more for your project PIR sensor and DC Motor. ruclips.net/video/gdWZCu3EDMw/видео.html

  • @silvawolflova
    @silvawolflova 4 года назад +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  4 года назад +1

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

    • @silvawolflova
      @silvawolflova 4 года назад +1

      @@Thetips4you Thank you!

    • @Thetips4you
      @Thetips4you  4 года назад +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  4 года назад +1

      Hello Friend, please check this video. I have made this for your request. ruclips.net/video/3fOLDJxGAxI/видео.html

    • @silvawolflova
      @silvawolflova 4 года назад +1

      @@Thetips4you Thanks!

  • @ecocreator4007
    @ecocreator4007 11 месяцев назад

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

  • @sheebamankunnan3933
    @sheebamankunnan3933 4 года назад +2

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

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

      You are welcome. That's great to hear.

  • @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.

  • @LoveYourself-dj3nn
    @LoveYourself-dj3nn 4 года назад +2

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

    • @Thetips4you
      @Thetips4you  4 года назад +1

      You are welcome friend. Good to know your feedback.

  • @ecocreator4007
    @ecocreator4007 11 месяцев назад

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

  • @HarshRanjanA
    @HarshRanjanA 2 года назад +1

    Can we comnect 2 or more pir sensor to one arduino

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

      Yes, as per your requirement

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

      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 11 месяцев назад +1

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

  • @hassanvv5988
    @hassanvv5988 3 года назад +3

    Thanks a lot

  • @matfeyr9982
    @matfeyr9982 2 года назад +1

    What kind of resistor do we need to use?

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

      Please check in the video for resistors ohm value.

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

      @@Thetips4you Oh ok thx

  • @ecocreator4007
    @ecocreator4007 11 месяцев назад

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

  • @riteshanand1666
    @riteshanand1666 4 года назад +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  4 года назад

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

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

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

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

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

    • @riteshanand1666
      @riteshanand1666 4 года назад +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  4 года назад

      @@riteshanand1666 That's great to hear friend.

  • @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 ?

  • @HarshaVardhan-eo7qc
    @HarshaVardhan-eo7qc 3 года назад

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

  • @hiddekoning6936
    @hiddekoning6936 4 года назад +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

  • @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 4 года назад

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

  • @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"

  • @nabilizz9884
    @nabilizz9884 4 года назад +1

    HOW TO MAKE THE LED MORE LONG TO STAY ON

  • @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?

  • @dimasmaulanam1358
    @dimasmaulanam1358 18 дней назад

    code doesnt work. It says cant find the file

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

    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

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

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

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

      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.

  • @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 4 года назад

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

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

    Tysm

  • @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 3 года назад +1

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

  • @vehicleinspector7538
    @vehicleinspector7538 4 дня назад

    INEED THE CODE
    \

  • @naifobaid29h
    @naifobaid29h Год назад +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);
    }