On 24/12/2021 16:32, Dennis Lee Bieber wrote:
> On Thu, 23 Dec 2021 21:53:27 -0000 (UTC), Chris Schram <
chri...@me.com>
> declaimed the following:
>
>>
>> I have played briefly with an old Radio Shack infrared motion alarm that
>> otherwise works fine, but can't "see" through glass at all.
>>
> Not really surprising -- it's one reason car and home interiors get
> warm when the sun shines on glass. Ultraviolet light passes through glass,
> gets absorbed by fabrics and what-have-you on the inside, and those items
> then re-radiate the energy in the infrared band.
>
>>
>> Could ultrasonic be the way to go? That's a technology I've yet to play
>> with. It would be used in some sort of RasPi or Arduino configuration.
>
> Sorry -- ultrasonic sensors will reflect off the window itself. You'll
> pretty much have to fit the sensor (for almost anything except image
> processing type detection [this image differs from last image]) outside the
> window and run leads to the R-Pi (or whatever you use to process data).
>
> A PIR sensor /might/ be usable in daylight (they are commonly used for
> auto-activation motion detect security lights). They trigger on an IR
> source moving between segments in the sensor window.
>
https://learn.adafruit.com/pir-passive-infrared-proximity-motion-sensor/how-pirs-work
>
> Ultrasonic ("PING)))" -- yes, the ))) is part of the name for some)
> sensors are more distance detection items than motion sensors, and may not
> have a great range. Some old Polaroid cameras used them for focusing -- but
> one has to account for the default focus being "infinity", and
> depth-of-field on those being deep enough that anything around 15+ feet was
> considered "infinity".
>
>
https://www.parallax.com/product/ping-ultrasonic-distance-sensor/ (10ft
> range)
>
https://learn.adafruit.com/ultrasonic-sonar-distance-sensors (suggests
> 13ft, but recommends 8ft)
>
>
I've got a Raspberry Pi B with a Pi Camera mounted and use the 'motion'
package to record video when motion is detected - through a window.
Video is not very high quality, but you don't need that.
You could use inotify to watch the destination directory and email you
when motion is recorded.
--
Chris Elvidge
England