SQuareRooT Project
Capture wildlife from your garden !
HERE
More picturesMaterial:
- RaspberryPi + SD card : Shop (any RPi model will fit, maybe avoid using a RPi4 (overkill + heat))
- Camera : Shop
- ToF distance sensor : Shop
- Battery pack : Shop
- Button Shop
- Light sensor Shop
- Jumper cables, 1 Capacitor (1microf), 1 led, 1 resistor (330 ohms)
Instructions:
Based on Raspberry Pi Zero W Raspberry Pi OS (32-bit) Lite Minimal image based on Debian Buster Version:May 2020
Wire Camera, distance sensor, button, led, everything !
scheme to come...
Clone the repo on the RPi and install
sudo apt-get install git
git clone https://github.com/EParisot/Squirrel_detector.git ~/Squirrel_detector
cd ~/Squirrel_detector
sudo ./install.sh
(You will be asked for some interractions while setting wifi... stay focused !)
Reboot, find a great spot and ... enjoy the show !
Everything is made to save up battery life: WIFI stay shutted down until you press the button (no picture can be taken during this time), HDMI is stopped on boot.
A camera test shot is made on start, everything is logged in activity.log file.
If the brightness is not sufficient, no sensor will be triggered for 10 min to avoid black images (and prevent useless power consumption)
A compagnon App is also in progress and will allow user to download images from the device. Start App, press the button and download your pictures on the phone.
Usefull commands:
Start the STA (wifi client) mode :
sudo systemctl start wpa_supplicant@wlan0.service
Start the AP (wifi server) mode :
sudo systemctl start wpa_supplicant@ap0.service
Restart HDMI port :
sudo /usr/bin/tvservice -p
(-o to stop)
Licensing
This project is under MIT license which means you can share, use, modify it if you cite the author (me)... Thanks !