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 - Наука
i have not seen a more a beutiful video than this
🎉🎉 FANTASTIC AND VERY CLEAR🎉🎉
My internship project is completed,and it's working 😁 so happy tnx for vdo and code too
Did u used the code which is given in description
thanks for the code, I found it very useful for a project.
VERY BEUTIFUL
this project is very good
Thank you bro
Over powered
Thank you for op comment 😀 😃
i love this
Awesome video. Very helpful. Thanks so much! Subscribed to you :)
Thanks for the sub!
This is very creative👍🤙😎
Thanks broooo
great bro keep going
Thanks Brooo
nice
nyc
great video
Thank you
Badhiya ha
Thank you brooo
Keeping doing the great work!!
Thank you 😊
The Useful and Best 👍🏻👍🏻
Thank you 😊
❤️❤️
Thank uuuu😊
great work!
Thank you 😃🙌
Merci
Nice work :)
Thank you 😊
I love this.
Thanks 🤡
hi can i know what kind of jumper wire that u use?
brother can you tell me where you have used the jumper cable ?
Hi do you have schematic diagram and 3d can you upload it thankyou
Can you tell me the mode of pir sensor used here?
I want this project for final capston project
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
Bgm ayichu tharoo bro
Can u please gave me version of your ardino idle
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 🙏
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 ?
Yes try it out with 5v
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 ?
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
SAME!!!
Can the Arduino run without pc connection?
What is the price of the given product?
can you mention the price plz
Anna நாக ஒரு robot project பன்னி இருக்கோம் அந்த robot ட்டின் கைல யாரவது முன்னாடி வந்து நின்னா sensor மூலியமா அவுகள டிடக்பன்னி welcomeனு சொல்லனு anna அதுக்கு என்ன தேவைபடும்
what would be the output of that code can you plz tell me
hi what did you plug the usb into for power?
Power bank
Noice project but now why do we need a door unless this system works for the inside not outside
it workes from the inside
Hello! Would like to ask what app are you using for the code? Thankssss! 😃
It's called Arduino IDE
Where we want to upload the code bro?
hi sir can we change servo motor with stepper motor that have been in CD room pc?, please help me sir..tq
Yeah u can use but then u have to code it different
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
same problem have you fixed it if yes what did you do?
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
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...
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.
💀 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"
Help, the program failed to upload
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
Try connecting servo to only 5V, and the code which i have given won't work for ultra Sonic sensor, just in case..
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?
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 😃
hello why is the code isnt working?
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
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
If you like my work then pls subscribe 🤡
it will open only for human enter or any animals?
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
Simulation for this?
Hey can i use a ultrasonic detector?
These for sure, but the code used for ultrasonic sensor is different so the code i have give won't work
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?
yeah, mine is doing that to
Agar koi pet animal room ke andar enter kregaa to bhi door automatically open ho jayega????
Plzz reply me 🙏
Yes ,any movement in the range of the sensor it will open.
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.
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
If you have any query, u can straight dm me on insta...hehe
@@craftoast 🎊
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?
!!!
Pir sensor did not detect the motion accuratly why?
Try configuring the pir sensor, it has two potentiometer try configuring them
@@craftoast okay I will try then if I feel some problem then I will contact with u
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
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
You can see any video on RUclips how correct the position of potentiometer, this same thing happened with me when used it first time
OK thank you
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
@@lorinlorin5626 no problem you can give both of the components 5v supply
Is project ko konse application me run karna hai ,kaha se milega vo application
its called arduino ide, you simple search it on internet
with how many volts you feed it
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
@@craftoast ok thanks but i followed all the steps and it doesn't work for me!
how can I do ?
@@alexisgarcia9310 what's the issue ur facing
@@craftoast nothing works for me
and I already checked several times
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..
try now i have done a lil change in code with the same link
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😅😅
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
@@user-nh1jo7xq9i yes you can do with this sensor
@Craftoast that would be awesome can you please show me how can I do it because I tried so hard but unfortunately I failed..
where's the introduction for this?
please help my pir sensor is going crazy
Plz help, I have to change the code for connecting to 5V?
No u don't have to change the code for this
@@craftoast OK thank you, plz also tell is i have to connect both servo and pir together to 5V instead 3.3V plz reply
@@nikhilkothiyal connect servo to 5v and pir to 3.3v that would be better
If u can connect both to 5v, that would also work if u have a breadboard then u can do it with it
@@craftoast OK, it Will work?
Bro kharch kitna ayga
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
Sir program plz send me
Where's the code?
Description...
Can you give me your GPay or Phone pe? I just want to appreciate you and show support 😊
Is this fake or not?
Ofc its real :_)
FAKEH
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
hello i cant dm you on insta
this project is very good
Can i use ultrasonic sensor instead of motion sensor?
Yes but ofc the code will be different for ultrasonic sensor