Im doing a project on a motion sensored lamp adn it works on the user being near the lam pfor it to turn on and when they walk away undetected from the sensor the lamp turns off . Any suggestions to what sensor i should use as im new to this and what sort of componenst woudl i be needing to pair the sensor with the LEDs im using
Thanks
I have a PYE_IR motion sensor, and it would work great for your application.
thanks and what type of curcuit components would i be needed to use the motion sensor, is their any other i would need for it to work?
Hi and welcome!
a motion sensored lamp adn it works
the LEDs im using
So what are you using right now?
no, there is a 5v pin, ground pin and a output pin you can connect it to a Arduino and add delay after motion was last detected
Assuming you want the lamp to stay on while a body is present, you would want a distance sensor, not a movement sensor. This then requires the body to remain within the range of the sensor.
im still in the process of finding the correct components to complete the circuit
PYE_IR detect IR emitting objects, Like Humans.
So I understood it, however, you mentioned something that (already) works, and to pair a future sensor "with the LEDs im using". What are those components?
and would it stay on while a humans present for lets say an hour. And it'll turn off after they've left the range ?
yes
Have you tested it?
not for a hour but for like 5 minutes
Did you move in those five minutes?
Just a small led strip im using and just tring to fidn out wheather i should use a PYE_IR PYE_IR or an Ultrasonic Distance Senssor. The lamp is supposed to stay on when a humans detected and should turn off until they've left the sensors range
is the one you hav adjustable in range and sensetivity ?
if so could you send a link to the one you recommend
It's the first time I hear this, but more commonly they are referred to PIR sensors, and those are the most used for this purpose. There are a lot of those that works with Arduino, some can be programmed, that way you don't even need an MCU.
Read a few PYE_IR datasheets before you purchase.
Thank you man i appreciate you all