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.
This helped me a lot with my assignment! Thankyou so so much !
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
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?
Definitely friend. I will try to prepare a video for it and share it. Please give me few days.
@@Thetips4you Thank you!
@@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.
Hello Friend, please check this video. I have made this for your request. ruclips.net/video/3fOLDJxGAxI/видео.html
@@Thetips4you Thanks!
the uploading says error compiling, check if you have selected a board and if its currently available
Thank you so much🙏 This video really helped me in my work thanks again for helping 🙏❤️👍
You are welcome. That's great to hear.
I want to ask why does its have an error in the code regarding "if"and "else" code
Can you send me the code? Please contact me through fb thetipsforyou or in Instagram thetips4you.
Thank you for this video.. this helped me ...
You are welcome friend. Good to know your feedback.
is there any way I can connect without a cable
please reply quickly
Can we comnect 2 or more pir sensor to one arduino
Yes, as per your requirement
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 🙏🙏
Which app did you use to upload the code. I hope you reply quickly
Arduino IDE
thanks
Thanks a lot
What kind of resistor do we need to use?
Please check in the video for resistors ohm value.
@@Thetips4you Oh ok thx
can I connect the Arduino without the cable. Is there any other way
Connect with cable.
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
Hello friend, can you contact me through fb thetipsforyou. Kindly send the circuit diagram as well.
Thetips4you Hi I have texted u my diagram on messenger via Facebook
@Ritesh Anand, I haven't received your message. Please check again. FB account is thetipsforyou.
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 😌
@@riteshanand1666 That's great to hear friend.
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.
Already as per my connection, you have a cable connecting to ground and led through the resistor. Why do you need another connection ?
my led is not blinking...i dont know where the issue is....plz help me
Contact me through fb
it gives an error in my code can you send the code to me so I can copy-paste it?
Please contact me fb @thetipsforyou
can you like put in more things like adding a motor or a relay?
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.
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 :(
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.
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/
@@Thetips4you Is there a way I can email you or telegram you so that you can fix my project?
hello i tried but it is not led is not blinking in the stimulation what could be the reason?
Can you check the connections are. Proper? Also the sensor is working correctly.Also check the connection to the ground.
@@Thetips4you am in the tinkercad i dont know how I should see the connection in ground?
and I checked the connections are fine
@@emebrhaney4798 Can you contact me through fb "thetipsforyou"
HOW TO MAKE THE LED MORE LONG TO STAY ON
You can add a delay
The code is error can you help me?
Definitely. Can you send me the error message in fb or Instagram?
code doesnt work. It says cant find the file
Which file?
@@Thetips4you you forgot to add delay, and it work now.
Which app used to record screen
TinkerCAD
@@manikantareddy6588 is it internal option of screen recording in tinkercad ?
@@prasadhire184 that I don't know , but the software he is using is tinkercad in chrome
Define pir sensor pir pin 0 And input pin 2 , how its possible 🙄🤔
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.
I want the code please!
Sure Friend. I will upload in git and will share you the link.
@@Thetips4you As?
I didn't understand your question? AS means?
@Miguel Borges , download the code from here . github.com/shazforiot/pirsensor_arduino_project.git
Thank you for the code and the video really helped me in my work thanks a lot🙏
Tysm
Can you please do a door lock with password for my assignment and explain the project in details
I wish you see my comment
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.
sir. good day . can I ask question about your simulation design. I'm going to chat your fb account.
Joshua L, Jusay.
Good Day. Discussed in FB.
INEED THE CODE
\
Check the github repo
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);
}
Ok