Smart Door Using PIR Motion Sensor | Arduino | Prototype | Tutorial

Поділитися
Вставка
  • Опубліковано 23 сер 2024
  • Smart Door Using PIR Motion Sensor | Arduino | Prototype | Tutorial
    Hey Friends, In this tutorial you can see how to make a prototype of a smart or automatic door using ,Arduino uno , PIR motion sensor and Servo motor. #arduino #pirsensor #smartdoor
    if you want more videos like this, then don't forget subscribe to my channel and if you enjoyed it then press on the like button.
    You can also follow me on Instagram
    Instagram : ...
    Thanks for supporting
    if you don't like the video then feel free to comment and I'll definitely improve it.
    code link : docs.google.co...
    Buy stuff here :
    Arduino Uno : amzn.to/2YQMrt0​
    Servo Motor : amzn.to/3dCXKJr​
    Jumper cables : amzn.to/35JRAV2​
    PIR Motion Sesnor : www.amazon.in/...
    Music - Sunset by Jarico

КОМЕНТАРІ • 153

  • @bhagyasri9916
    @bhagyasri9916 Рік тому +4

    My internship project is completed,and it's working 😁 so happy tnx for vdo and code too

  • @ACSrobotics-wp3dv
    @ACSrobotics-wp3dv 3 місяці тому +2

    i have not seen a more a beutiful video than this

  • @davidgood1072
    @davidgood1072 Рік тому +1

    🎉🎉 FANTASTIC AND VERY CLEAR🎉🎉

  • @lonelykaraokist
    @lonelykaraokist 4 місяці тому

    Awesome video. Very helpful. Thanks so much! Subscribed to you :)

    • @craftoast
      @craftoast  3 місяці тому

      Thanks for the sub!

  • @rajeevdhiman5648
    @rajeevdhiman5648 3 роки тому +2

    Over powered

    • @craftoast
      @craftoast  3 роки тому +1

      Thank you for op comment 😀 😃

  • @user-yg5es4sr5u
    @user-yg5es4sr5u Рік тому

    thanks for the code, I found it very useful for a project.

  • @ayenilay
    @ayenilay 3 роки тому +1

    This is very creative👍🤙😎

  • @user-uh9cy4oi9b
    @user-uh9cy4oi9b 7 місяців тому

    this project is very good

  • @cheliankalpana7721
    @cheliankalpana7721 Рік тому

    If we copy-paste your code will it work. This is for my son's project, so don't know about coding. So I'm asking this, please help 🙏

  • @ACSrobotics-wp3dv
    @ACSrobotics-wp3dv 3 місяці тому

    i love this

  • @aiamharsha
    @aiamharsha 3 роки тому +2

    Keeping doing the great work!!

  • @lynz8930
    @lynz8930 8 місяців тому

    brother can you tell me where you have used the jumper cable ?

  • @zmnbc
    @zmnbc Рік тому +2

    Can i use ultrasonic sensor instead of motion sensor?

    • @craftoast
      @craftoast  9 місяців тому

      Yes but ofc the code will be different for ultrasonic sensor

  • @thevanveeran6759
    @thevanveeran6759 2 роки тому +3

    hi, did the same as you, but the pir sensor seems to not detect motion, is it because of the 3.3V not enough to power it ?

    • @craftoast
      @craftoast  2 роки тому +1

      Yes try it out with 5v

    • @thevanveeran6759
      @thevanveeran6759 2 роки тому

      okay, one more question, my door immediately closes after it opens, after the motion sensor is triggered, the servo motor rotates 180 degree and immediately returns to the its original position, what should i do ?

    • @craftoast
      @craftoast  2 роки тому

      u must configure the delay of pir sensor, u can watch any video on yt how to configure pir motion sensor, and there will two potentiometer present, one of them is delay and another is sensitivity, so take care of that

    • @aliwani8059
      @aliwani8059 Рік тому

      SAME!!!

  • @bissanschool9441
    @bissanschool9441 2 роки тому

    VERY BEUTIFUL

  • @tnlovely5014
    @tnlovely5014 Рік тому

    Anna நாக ஒரு robot project பன்னி இருக்கோம் அந்த robot ட்டின் கைல யாரவது முன்னாடி வந்து நின்னா sensor மூலியமா அவுகள டிடக்பன்னி welcomeனு சொல்லனு anna அதுக்கு என்ன தேவைபடும்

  • @user-dq9cz7rw6l
    @user-dq9cz7rw6l 10 місяців тому

    What is the price of the given product?
    can you mention the price plz

  • @shanana8795
    @shanana8795 Рік тому +3

    Hey brother, I really like your project. It works with my laptop power, but the servo does not move with 9v battery power. Can you help what the issue is?

    • @craftoast
      @craftoast  Рік тому

      Probably your 9v battery must be dead or have less power, so basically use another power source like power bank, or a try with a new battery, but 9v battery are many times of not good quality there's a possibility that it won't work with a new one also, but u can still try with a new one 😃

  • @saranyabalasankar6568
    @saranyabalasankar6568 2 роки тому +1

    The Useful and Best 👍🏻👍🏻

  • @dhzlkhaa23_
    @dhzlkhaa23_ Рік тому

    hi can i know what kind of jumper wire that u use?

  • @mayankshukla7821
    @mayankshukla7821 3 роки тому

    great bro keep going

  • @gayathrimuthammalmp1351
    @gayathrimuthammalmp1351 2 роки тому

    Thank you bro

  • @nasrinaktershimu8000
    @nasrinaktershimu8000 6 місяців тому

    Can you tell me the mode of pir sensor used here?

  • @shiroumxm2052
    @shiroumxm2052 Рік тому

    can you put 2 servomotor in serie to open 2 doors¿¿ i wanna make a Moria Door diorama..wich are actually 2 doors that make a big one.. i want to controll them by voice so when you say the elvish word "friend" it opens and elvish characters shine

  • @mohamednoufhal2547
    @mohamednoufhal2547 Рік тому +1

    Sir I did the same as you but my servo motor is only vibrating and I also connected Ultrasonic sensor in my project I tried with many servo motors but all are vibrating can somebody help me

    • @craftoast
      @craftoast  Рік тому

      Try connecting servo to only 5V, and the code which i have given won't work for ultra Sonic sensor, just in case..

  • @neelambika.mpatil8480
    @neelambika.mpatil8480 Рік тому

    it will open only for human enter or any animals?

    • @craftoast
      @craftoast  Рік тому

      We have used a motion sensor, so any motion whether by a human or animal in the range of sensor, it will detect and open the door

  • @liedefis7557
    @liedefis7557 28 днів тому

    whether the cable is male to male or female to female?

    • @craftoast
      @craftoast  28 днів тому

      @@liedefis7557 It depends on situation, for eg: if it's for breadboard to Arduino then u may use male to male, but if you're using from pir sensor to Arduino then u may use female to male.

    • @liedefis7557
      @liedefis7557 28 днів тому

      @@craftoast what do you use?

  • @rafaelmarquez9107
    @rafaelmarquez9107 Рік тому +1

    Hi do you have schematic diagram and 3d can you upload it thankyou

  • @shahrulnizam1478
    @shahrulnizam1478 Рік тому

    hi sir can we change servo motor with stepper motor that have been in CD room pc?, please help me sir..tq

    • @craftoast
      @craftoast  Рік тому

      Yeah u can use but then u have to code it different

  • @TechnicalProject1
    @TechnicalProject1 Рік тому

    great video

  • @nanditabhardwaj4482
    @nanditabhardwaj4482 2 роки тому

    Agar koi pet animal room ke andar enter kregaa to bhi door automatically open ho jayega????
    Plzz reply me 🙏

    • @craftoast
      @craftoast  2 роки тому

      Yes ,any movement in the range of the sensor it will open.

  • @esang2667
    @esang2667 Рік тому +1

    Hi, i copied your project but it doesn't work on me. i have already followed every steps. What do you think is the problem?

  • @badbamboo2292
    @badbamboo2292 Рік тому

    nice

  • @camillecruz4804
    @camillecruz4804 Рік тому

    Hello! Would like to ask what app are you using for the code? Thankssss! 😃

  • @gelatinskeleton8745
    @gelatinskeleton8745 2 роки тому +1

    I love this.

  • @user-ve3qj8wm8k
    @user-ve3qj8wm8k 8 місяців тому

    hii my project is same like i used pir sensor and servo moter and make automatic gate , but i have to show the output or gate is open or closed on website or any app help me or give idea

    • @craftoast
      @craftoast  8 місяців тому

      Hey there, you can use blynk app to connect your project with your phone, but for that, either u have to use a Bluetooth module or a nodemcu board instead of Arduino which has wifi module, but ofc then u have to do changes in your code accordingly...

  • @Jo-lr5pk
    @Jo-lr5pk 2 роки тому

    hi what did you plug the usb into for power?

  • @theotris665
    @theotris665 Рік тому

    sorry for bothering i want to ask you i did the same as your vid but my servo is running continuously without stopping can you help me with that

    • @renlaire
      @renlaire 3 місяці тому

      same problem have you fixed it if yes what did you do?

  • @mgcwizard1808
    @mgcwizard1808 3 роки тому

    Badhiya ha

  • @ruhihasan_rajeswarinag5623
    @ruhihasan_rajeswarinag5623 11 місяців тому

    what would be the output of that code can you plz tell me

  • @farzanaakter3561
    @farzanaakter3561 Рік тому

    I'm facing the," compilation error: 'myservo' was not declared in this scope"
    I am using the,
    * Arduino Duemilanove
    * SG90 Mini Gear micro Servo Motor 9g
    *Hc-SR510PIR Motion Detective module.

    • @craftoast
      @craftoast  9 місяців тому

      💀 sorry for very late reply, but ig u might have missed few lines in very starting of the code where i declared this variable "myservo"

  • @user-hw7om1mm4j
    @user-hw7om1mm4j Рік тому

    excuse me permission to ask
    I have followed with your Vedio but the servo moves by itself even though I have followed from your Vedio can this solve this problem?

  • @pokssy5995
    @pokssy5995 Рік тому

    Hey can i use a ultrasonic detector?

    • @craftoast
      @craftoast  Рік тому

      These for sure, but the code used for ultrasonic sensor is different so the code i have give won't work

  • @kushalkush324
    @kushalkush324 Рік тому

    hi. am doing a miniature project for a temple. need to design a door opening and closing 90 deg by button/ sensor. its a double door. like a window. can u pls help me on this. I have already used Arduino but facing issues with the programming. I need to use two servo motors. requesting to revert back

    • @craftoast
      @craftoast  Рік тому

      Hey! , Yes you have to use two servo motors, see in the code it's just really simple, what you have to do is copy paste the code of 1st servo motor for the second one, but the main thing is angle u have to use opposite of the angle of the first servo motor, if initial is zero and final is 90 for first servo then for second it has to be zero and -90 if u don't wanna change the angle, just change the position of the servo motor with respect to the first one

    • @craftoast
      @craftoast  Рік тому

      If you like my work then pls subscribe 🤡

  • @goldisingh6388
    @goldisingh6388 2 роки тому

    nyc

  • @sethunthunder
    @sethunthunder 10 місяців тому

    Noice project but now why do we need a door unless this system works for the inside not outside

  • @yashchauhan1379
    @yashchauhan1379 3 роки тому +1

    great work!

  • @storiesofthecentury
    @storiesofthecentury 7 днів тому

    the motion sensor is taking all the power

  • @aiamharsha
    @aiamharsha 3 роки тому +1

    ❤️❤️

  • @PrajapatiKishan86
    @PrajapatiKishan86 8 місяців тому

    Is project ko konse application me run karna hai ,kaha se milega vo application

    • @craftoast
      @craftoast  8 місяців тому

      its called arduino ide, you simple search it on internet

  • @esha1146
    @esha1146 3 роки тому +1

    Nice work :)

  • @nikhilkothiyal
    @nikhilkothiyal Рік тому +5

    Plz help, I have to change the code for connecting to 5V?

    • @craftoast
      @craftoast  Рік тому +5

      No u don't have to change the code for this

    • @nikhilkothiyal
      @nikhilkothiyal Рік тому +4

      @@craftoast OK thank you, plz also tell is i have to connect both servo and pir together to 5V instead 3.3V plz reply

    • @craftoast
      @craftoast  Рік тому +4

      @@nikhilkothiyal connect servo to 5v and pir to 3.3v that would be better

    • @craftoast
      @craftoast  Рік тому +4

      If u can connect both to 5v, that would also work if u have a breadboard then u can do it with it

    • @nikhilkothiyal
      @nikhilkothiyal Рік тому +4

      @@craftoast OK, it Will work?

  • @vidhya7069
    @vidhya7069 Рік тому

    Where we want to upload the code bro?

  • @shreepadvichare1612
    @shreepadvichare1612 2 роки тому

    Can u please gave me version of your ardino idle

  • @SoraEh
    @SoraEh 3 місяці тому

    Help, the program failed to upload

  • @shriyaalgamerbg3485
    @shriyaalgamerbg3485 Рік тому

    Please help me brother i have project on it is showing error: problem uploading to board ... what is the problem brother or how can i contact you please help

  • @samruddhideokar2387
    @samruddhideokar2387 Рік тому

    I want this project for final capston project

  • @user-nh1jo7xq9i
    @user-nh1jo7xq9i Рік тому

    Hello i would like your help please..
    My servo motor keep turning back to normal position even when my hand on the sensor and i did the same code as you can you help me fix it please..

    • @craftoast
      @craftoast  Рік тому

      try now i have done a lil change in code with the same link

    • @user-nh1jo7xq9i
      @user-nh1jo7xq9i Рік тому

      Thank you for your fast reply
      Unfortunately it didn't work still turn back to normal position my university project depends on it still open😅😅

    • @user-nh1jo7xq9i
      @user-nh1jo7xq9i Рік тому

      I want it to stay open when the sensor see's movement and closes when the movement goes can I do it with this type of sensor

    • @craftoast
      @craftoast  Рік тому

      @@user-nh1jo7xq9i yes you can do with this sensor

    • @user-nh1jo7xq9i
      @user-nh1jo7xq9i Рік тому

      @Craftoast that would be awesome can you please show me how can I do it because I tried so hard but unfortunately I failed..

  • @SantheriBhat
    @SantheriBhat 4 місяці тому

    Bgm ayichu tharoo bro

  • @abdullahsohail814
    @abdullahsohail814 2 роки тому +1

    Pir sensor did not detect the motion accuratly why?

    • @craftoast
      @craftoast  2 роки тому

      Try configuring the pir sensor, it has two potentiometer try configuring them

    • @abdullahsohail814
      @abdullahsohail814 2 роки тому

      @@craftoast okay I will try then if I feel some problem then I will contact with u

  • @lorenamirashi7965
    @lorenamirashi7965 2 роки тому

    Hii👋
    Sorry for bothering you. I'm doing a project about creating a smart door using PIR motion sensor. I have made all the steps including the connections with arduino uno. When I connect arduino uno with my laptop it turns on, but i don't understand what you do with the codes. Can you please help me? I would apriciate it a lot.

    • @craftoast
      @craftoast  2 роки тому

      Hii, so u need to do the connections according to the code, u can get the file down the description, u need to use same digitapins and all

    • @craftoast
      @craftoast  2 роки тому

      If you have any query, u can straight dm me on insta...hehe

    • @ayushimaurya5590
      @ayushimaurya5590 Рік тому

      @@craftoast 🎊

  • @haddadwassila7442
    @haddadwassila7442 Рік тому

    Merci

  • @siddheshwagh2300
    @siddheshwagh2300 Рік тому

    Simulation for this?

  • @applejuiceisyummy
    @applejuiceisyummy Рік тому

    hello why is the code isnt working?

  • @lorinlorin5626
    @lorinlorin5626 2 роки тому

    Hi
    Please i do the same code and same realisation but in the monitor stay appear 1 even thought the movement not detected, do you know what The problem?
    Thank you

    • @craftoast
      @craftoast  2 роки тому +1

      You might have not set the potentiometer on the sensor correctly , you must knowing one is for sensitivity and other is for distance/range , any of the potentiometer would be at the lowest point and that's why it is detecting very short and near movement as well

    • @craftoast
      @craftoast  2 роки тому +1

      You can see any video on UA-cam how correct the position of potentiometer, this same thing happened with me when used it first time

    • @lorinlorin5626
      @lorinlorin5626 2 роки тому

      OK thank you

    • @lorinlorin5626
      @lorinlorin5626 2 роки тому

      Hi
      I solve problem of the pir sensor but he is working just with 5 v not with 3. 3 v and the servomotor does not working when I make the pir sensor in 3.3v

    • @craftoast
      @craftoast  2 роки тому

      @@lorinlorin5626 no problem you can give both of the components 5v supply

  • @alexisgarcia9310
    @alexisgarcia9310 2 роки тому

    with how many volts you feed it

    • @craftoast
      @craftoast  2 роки тому

      Just use normal voltage supplied by your laptop, i used my laptop as power source if u talking about the sensor or servo, i used 5v with servo and 3.3v with sensor, i must have mentioned it in video prolly, hope it might helped

    • @alexisgarcia9310
      @alexisgarcia9310 2 роки тому

      @@craftoast ok thanks but i followed all the steps and it doesn't work for me!
      how can I do ?

    • @craftoast
      @craftoast  2 роки тому

      @@alexisgarcia9310 what's the issue ur facing

    • @alexisgarcia9310
      @alexisgarcia9310 2 роки тому

      @@craftoast nothing works for me

    • @alexisgarcia9310
      @alexisgarcia9310 2 роки тому

      and I already checked several times

  • @terrencesoriano7901
    @terrencesoriano7901 7 місяців тому

    where's the introduction for this?

  • @royalsisodiya182
    @royalsisodiya182 Рік тому

    Bro kharch kitna ayga

    • @craftoast
      @craftoast  Рік тому

      The most costly item is Arduino board, so u have to plan accordingly if u r using nano it will be cheaper than Arduino Uno, if u want products at cheaper rate then try websites like, zbotic or Electronicscomp, robo elements, product at Flipkart and Amazon are very expensive

  • @prawnydagrate
    @prawnydagrate 2 роки тому

    please help my pir sensor is going crazy

  • @princebaba3477
    @princebaba3477 Рік тому

    Sir program plz send me

  • @jacqiemedez8842
    @jacqiemedez8842 Рік тому

    Where's the code?

  • @adityajadhav5353
    @adityajadhav5353 2 роки тому

    Can you give me your GPay or Phone pe? I just want to appreciate you and show support 😊

  • @kashishpatil6678
    @kashishpatil6678 2 роки тому +1

    Is this fake or not?

  • @badioussineh
    @badioussineh Рік тому

    FAKEH

  • @ACSrobotics-wp3dv
    @ACSrobotics-wp3dv 3 місяці тому

  • @karvinkennethidor3438
    @karvinkennethidor3438 Рік тому

    hello i cant dm you on insta

  • @user-uh9cy4oi9b
    @user-uh9cy4oi9b 7 місяців тому

    this project is very good

  • @ElfaCarvalho
    @ElfaCarvalho 7 місяців тому

    Can the Arduino run without pc connection?