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

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 มี.ค. 2021
  • 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 : craftoast?igshi...
    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.com/document/d/1T...
    Buy stuff here :
    Arduino Uno : amzn.to/2YQMrt0​
    Servo Motor : amzn.to/3dCXKJr​
    Jumper cables : amzn.to/35JRAV2​
    PIR Motion Sesnor : www.amazon.in/dp/B08H2C581S/r...
    Music - Sunset by Jarico
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @ACSrobotics-wp3dv
    @ACSrobotics-wp3dv 26 วันที่ผ่านมา +1

    i have not seen a more a beutiful video than this

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

    🎉🎉 FANTASTIC AND VERY CLEAR🎉🎉

  • @user-yg5es4sr5u
    @user-yg5es4sr5u 9 หลายเดือนก่อน

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

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

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

    • @119samruddhipatil7
      @119samruddhipatil7 หลายเดือนก่อน

      Did u used the code which is given in description

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

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

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

      Thanks for the sub!

  • @ACSrobotics-wp3dv
    @ACSrobotics-wp3dv 26 วันที่ผ่านมา

    i love this

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

    VERY BEUTIFUL

  • @user-uh9cy4oi9b
    @user-uh9cy4oi9b 5 หลายเดือนก่อน

    this project is very good

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

    This is very creative👍🤙😎

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

      Thanks broooo

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

    Thank you bro

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

    Over powered

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

      Thank you for op comment 😀 😃

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

    Keeping doing the great work!!

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

      Thank you 😊

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

    great bro keep going

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

      Thanks Brooo

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

    nice

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

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

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

    nyc

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

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

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

    great video

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

    The Useful and Best 👍🏻👍🏻

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

      Thank you 😊

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

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

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

    Badhiya ha

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

      Thank you brooo

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

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

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

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

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

    Merci

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

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

    Nice work :)

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

      Thank you 😊

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

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

  • @Jo-lr5pk
    @Jo-lr5pk 2 ปีที่แล้ว

    hi what did you plug the usb into for power?

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

    ❤️❤️

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

      Thank uuuu😊

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

    I love this.

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

    great work!

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

      Thank you 😃🙌

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

    Can u please gave me version of your ardino idle

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

    Can i use ultrasonic sensor instead of motion sensor?

    • @craftoast
      @craftoast  7 หลายเดือนก่อน

      Yes but ofc the code will be different for ultrasonic sensor

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

  • @ruhihasan_rajeswarinag5623
    @ruhihasan_rajeswarinag5623 8 หลายเดือนก่อน

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

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

    I want this project for final capston project

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

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

    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  7 หลายเดือนก่อน

      💀 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"

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

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

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

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

      It's called Arduino IDE

  • @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 14 วันที่ผ่านมา

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

  • @user-ve3qj8wm8k
    @user-ve3qj8wm8k 6 หลายเดือนก่อน

    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  6 หลายเดือนก่อน

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

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

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

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

  • @user-dq9cz7rw6l
    @user-dq9cz7rw6l 7 หลายเดือนก่อน

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

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

    hello why is the code isnt working?

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

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

      yeah, mine is doing that to

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

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

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

    Where we want to upload the code bro?

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

    Help, the program failed to upload

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

  • @SantheriBhat
    @SantheriBhat 2 หลายเดือนก่อน

    Bgm ayichu tharoo bro

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

    Simulation for this?

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

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

  • @sethunthunder
    @sethunthunder 7 หลายเดือนก่อน

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

    • @saramendez4991
      @saramendez4991 17 วันที่ผ่านมา

      it workes from the inside

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

  • @PrajapatiKishan86
    @PrajapatiKishan86 6 หลายเดือนก่อน

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

    • @craftoast
      @craftoast  6 หลายเดือนก่อน

      its called arduino ide, you simple search it on internet

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

    with how many volts you feed it

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

      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 ปีที่แล้ว

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

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

      @@alexisgarcia9310 what's the issue ur facing

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

      @@craftoast nothing works for me

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

      and I already checked several times

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

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

    where's the introduction for this?

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

    please help my pir sensor is going crazy

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

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

    Sir program plz send me

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

    Where's the code?

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

      Description...

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

    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?

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

      Ofc its real :_)

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

    FAKEH

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

    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

  • @ACSrobotics-wp3dv
    @ACSrobotics-wp3dv 26 วันที่ผ่านมา

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

    hello i cant dm you on insta

  • @user-uh9cy4oi9b
    @user-uh9cy4oi9b 5 หลายเดือนก่อน

    this project is very good

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

    Can the Arduino run without pc connection?