Maker Pro
Maker Pro

Motion sensor that senses motion not the change in temp

Jack___

Jul 1, 2018
4
Joined
Jul 1, 2018
Messages
4
Hello, i was preparing for a little project and it required a motion sensor, the one i chose was a mini pir sensor hc-sr501 but then i found out that it senses the change in temperature rather than movement but my project requires a wooden lever to move and the motion sensor to sense it, but because the wooden lever is gonna be the same temp as the surroundings i fear the pir sensor won't work.
So will it work? and if not what are better alternatives for my project?
Thanks
 
Last edited:

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,719
Joined
Nov 17, 2011
Messages
13,719
i fear the pir sensor won't work.
Have you tried?

what are better alternatives for my project?
There are many, depending on your construction and your specific needs. Some examples:
  • use mechanical switches to detect the endpoint(s) of the lever's movement
  • use ultrasonic transducers to detect presence and speed of movement of the lever
  • use a photoelectric sensor , either reflex or trough-beam
  • use a radar module
Or a bit high tech: use a Raspberry Pi with a camera module and image recognition software.
 

Bluejets

Oct 5, 2014
6,920
Joined
Oct 5, 2014
Messages
6,920
I'd also go with "have you tried it"?
or/ Hang a bulb off the wooden arm. :)
 

hevans1944

Hop - AC8NS
Jun 21, 2012
4,880
Joined
Jun 21, 2012
Messages
4,880
You could mount a resistor on the lever arm, in view of the PIR sensor, and provide enough current to it to raise its surface temperature above ambient by a few degrees... amount necessary depends on sensitivity of the PIR.

You may possibly not understand how a PIR sensor works. Typically there are two pyroelectric sensing elements connected in series opposing. Here is a link to a website that has a basic explanation.

Each sensor element produces an electrical output only when its temperature is changing. That means they cancel each other out when their common ambient temperature rises or falls. However, the field-of-view (FOV) of each sensor element is slightly different, by virtue of the two elements being physically separated and a plastic Fresnel lens focusing two slightly different (displaced) images on the sensors. When motion occurs in the FOV, one sensor will produce an output signal that is the opposite polarity to the other sensor. Since they are connected in series opposing, this differential signal represents motion across the FOV. In actuality there are many Fresnel lenses, arranged to cover a volume of space with overlapping FOVs, for any practical PIR. You can cover individual lenses with aluminum foil to limit the motion detection area and therefore prevent false-positive motion detection.
 

Alec_t

Jul 7, 2015
3,590
Joined
Jul 7, 2015
Messages
3,590
Instead of having a heater on the arm you could illuminate it with an IR LED so that reflected IR gets to the PIR sensor.
 

Jack___

Jul 1, 2018
4
Joined
Jul 1, 2018
Messages
4
Thank you all for responding i will try the hc-sr501 first and if didn't work i will try everything you suggested to me.
 

hevans1944

Hop - AC8NS
Jun 21, 2012
4,880
Joined
Jun 21, 2012
Messages
4,880
Instead of having a heater on the arm you could illuminate it with an IR LED so that reflected IR gets to the PIR sensor.
That is a good idea, but I am not sure it would work because of the way pyroelectric detectors respond to infrared radiation: their bulk temperature changes, which is what causes their embedded charge to change. An IR LED might not provide enough power to significantly raise the temperature of the pyroelectric. It's worth a try however!

If the IR LED doesn't work with a PIR sensor, it might still work with an IR photodiode by specular reflection from a small mirror attached to the wooden lever arm. Or, perhaps a small incandescent radiant heat source (a tungsten lamp perhaps?) could be used to raise the temperature of the wooden lever arm high enough above ambient for motion detection by a PIR sensor.
 

Hopup

Jul 5, 2015
253
Joined
Jul 5, 2015
Messages
253
I would use ultrasonic sensor or laser if the sensor can be installed close to the lever.
 

spandrel

Jul 3, 2018
7
Joined
Jul 3, 2018
Messages
7
A couple of questions; I'm guessing that all you need is to tell whether the arm has moved, is that right? Also that you don't want to connect anything to the arm. How about a magnet fitted to the arm and a Hall Effect device? Very cheap and reliable.
 
Top