Wouldn’t it be great to have a camera that starts recording when something moves? If you look for “wildlife camera” or “camera trap” you can buy cameras that do just that. But first, they are quite expensive, and second, the image quality leaves a lot to be desired. But most cameras have a connection for a remote release. Can’t we combine that with a motion sensor?
I ordered some of these HC-SR501* infrared or PIR motion detectors from Aliexpress, a link is in the description. The sensitivity and the duration of the switching time can be set on the two potentiometers on the side, for example for a light that is to remain switched on for a certain time. That doesn’t help us, because we need a start impulse at the beginning and a stop impulse at the end of the recording. We need an Arduino for that. Now the remote shutter release on my Panasonic Lumix works measuring the resistance of whatever is connected to the socket.
I don’t use the Focus button here. So I use an optocoupler instead of the shutter push button on the remote. This is a double one, a single one would have done it, but I still had this one. Continue reading DIY Camera Trap – How to control the shutter of a Panasonic Lumix with Arduino and HC-SR501 Motion Detector