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

Поделиться
HTML-код
  • Опубликовано: 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 2 месяца назад +1

    i have not seen a more a beutiful video than this

  • @davidgood1072
    @davidgood1072 Год назад +1

    🎉🎉 FANTASTIC AND VERY CLEAR🎉🎉

  • @bhagyasri9916
    @bhagyasri9916 Год назад +1

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

    • @119samruddhipatil7
      @119samruddhipatil7 2 месяца назад

      Did u used the code which is given in description

  • @user-yg5es4sr5u
    @user-yg5es4sr5u 10 месяцев назад

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

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

    VERY BEUTIFUL

  • @user-uh9cy4oi9b
    @user-uh9cy4oi9b 6 месяцев назад

    this project is very good

  • @gayathrimuthammalmp1351
    @gayathrimuthammalmp1351 Год назад

    Thank you bro

  • @rajeevdhiman5648
    @rajeevdhiman5648 3 года назад +2

    Over powered

    • @craftoast
      @craftoast  3 года назад +1

      Thank you for op comment 😀 😃

  • @ACSrobotics-wp3dv
    @ACSrobotics-wp3dv 2 месяца назад

    i love this

  • @lonelykaraokist
    @lonelykaraokist 3 месяца назад

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

    • @craftoast
      @craftoast  2 месяца назад

      Thanks for the sub!

  • @ayenilay
    @ayenilay 3 года назад +1

    This is very creative👍🤙😎

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

    great bro keep going

  • @badbamboo2292
    @badbamboo2292 Год назад

    nice

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

    nyc

  • @TechnicalProject1
    @TechnicalProject1 Год назад

    great video

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

    Badhiya ha

  • @aiamharsha
    @aiamharsha 3 года назад +2

    Keeping doing the great work!!

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

    The Useful and Best 👍🏻👍🏻

  • @aiamharsha
    @aiamharsha 3 года назад +1

    ❤️❤️

  • @yashchauhan1379
    @yashchauhan1379 3 года назад +1

    great work!

  • @haddadwassila7442
    @haddadwassila7442 Год назад

    Merci

  • @esha1146
    @esha1146 3 года назад +1

    Nice work :)

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

    I love this.

  • @dhzlkhaa23_
    @dhzlkhaa23_ Год назад

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

  • @lynz8930
    @lynz8930 6 месяцев назад

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

  • @rafaelmarquez9107
    @rafaelmarquez9107 Год назад +1

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

  • @nasrinaktershimu8000
    @nasrinaktershimu8000 4 месяца назад

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

  • @samruddhideokar2387
    @samruddhideokar2387 Год назад

    I want this project for final capston project

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

  • @SantheriBhat
    @SantheriBhat 3 месяца назад

    Bgm ayichu tharoo bro

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

    Can u please gave me version of your ardino idle

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

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

  • @ElfaCarvalho
    @ElfaCarvalho 6 месяцев назад

    Can the Arduino run without pc connection?

  • @user-dq9cz7rw6l
    @user-dq9cz7rw6l 8 месяцев назад

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

  • @tnlovely5014
    @tnlovely5014 Год назад

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

  • @ruhihasan_rajeswarinag5623
    @ruhihasan_rajeswarinag5623 9 месяцев назад

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

  • @Jo-lr5pk
    @Jo-lr5pk 2 года назад

    hi what did you plug the usb into for power?

  • @sethunthunder
    @sethunthunder 9 месяцев назад

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

  • @camillecruz4804
    @camillecruz4804 Год назад

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

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

    Where we want to upload the code bro?

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

  • @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 Месяц назад

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

  • @user-ve3qj8wm8k
    @user-ve3qj8wm8k 7 месяцев назад

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

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

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

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

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

  • @SoraEh
    @SoraEh 2 месяца назад

    Help, the program failed to upload

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

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

  • @applejuiceisyummy
    @applejuiceisyummy Год назад

    hello why is the code isnt working?

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

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

  • @siddheshwagh2300
    @siddheshwagh2300 Год назад

    Simulation for this?

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

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

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

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

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

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

  • @PrajapatiKishan86
    @PrajapatiKishan86 7 месяцев назад

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

    • @craftoast
      @craftoast  7 месяцев назад

      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

  • @ACSrobotics-wp3dv
    @ACSrobotics-wp3dv 2 месяца назад

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

  • @terrencesoriano7901
    @terrencesoriano7901 6 месяцев назад

    where's the introduction for this?

  • @prawnydagrate
    @prawnydagrate Год назад

    please help my pir sensor is going crazy

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

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

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

  • @badioussineh
    @badioussineh Год назад

    FAKEH

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

    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

  • @karvinkennethidor3438
    @karvinkennethidor3438 Год назад

    hello i cant dm you on insta

  • @user-uh9cy4oi9b
    @user-uh9cy4oi9b 6 месяцев назад

    this project is very good

  • @zmnbc
    @zmnbc Год назад +2

    Can i use ultrasonic sensor instead of motion sensor?

    • @craftoast
      @craftoast  8 месяцев назад

      Yes but ofc the code will be different for ultrasonic sensor