- Basic setup & Power
- PIR sensor
- IR lamp
- IR filter
- Completed pics, improvements and parts list
The intention is to create an animal camera to video the wildlife of the garden and the window cill bird feeder. The idea is that the camera could be used outside (night or day) powered by battery then be moved indoors to the window cill to record the bird feeder where it can be powered by mains.
This is the 3rd version of the animalcam / trailcam with the older versions showing the progression and further useful information. Previous versions can be found here:
To create this I’ve used a
raspberry pi A,* powered by battery (which can be disconnected when connected to the mains) along with a pi noIR camera that has a moveable IR filter to give reasonable colour in the day and respond to IR light in the dark.
*: now using a pi zero – see here
The trailcam comprises of a main breakout board with the other elements attached separately – this helped me to construct the project in sections and allows for a level of upgrade later on. I ran in to issues on the previous version where the female to female jumpers kept coming off, resulting in a bunch of wires that I had no idea where they went, so this time I’ve soldered on JST connectors and colour coded them.
In its current form, the trailcam simply uses pikrellcam to record video when it detects motion. In the dark, a PIR sensor is activated which turns on an I.R. lamp, pikrellcam then records the motion event as if it were daylight. A switchable I.R. filter is fitted to the camera which enables good quality day time video and I.R. sensitive night time video.
The facility for bypassing the software motion detection is built in so that the recording of video can be triggered by the PIR if required.
I’ve cobbled this together using the how-to’s, programs, diagrams and general knowledge of some very clever and generous people that have taken the time to make their information public knowledge online. Despite my limited skill level it actually works!
The following are the main personal blogs and websites that I’ve used for help. In addition, the suppliers as noted in section 7 have really useful websites and blogs to go with their products.
|South Somerset Weather
This was the original inspiration and also has some great videos.
The motion detection software used for this trailcam
Description, diagrams and python prog to control the L293D chip that operates the IR filter
Handy guide for explaining cron
|Raspberry pi spy
Lots of useful tutorials
This description has been split down in to the following sections: