Animal Cam Version 2 #piday #raspberrypi @Raspberry_Pi
Version 2 of Raspberry Pi wildlife camera via GarySShed.com
I’ve finally got around to constructing version 2 of the animalcam, following a cd card corruption in the spring.
It is broadly the same as version 1 but in a sturdier, more waterproof box. The clearer lid does help with the quality of the video however the PIR sensor was struggling to “see” through the plastic so I’ve drilled a hole in the lid and fitted the diffuser outside.
I’ve built a much smaller breakout board from the pi – simply a bit of veroboard with a 26 way plug on the bottom and a couple of connectors on the top for attaching the PIR & relay etc. The relay has been switched out from a latching to a standard type. Partly due to the latching one breaking and partly to simplify the connections. There has been no noticeable reduction in battery life.
The software has been updated to include a new raspbian and the new version of RPI web cam interface. The python script controlling it all remains as before – basically a botched together version of this one from raspberry pi spy, modified here, with the pipe calling discussion described in the thread here.
It now doesn’t start automatically so I need to plug in the wifi adaptor, access it via putty and get it running using nohup (otherwise it dies when the connection is terminated) To simplify this I’ve put it in a simple bash script:
#!/bin/bash
#starter for trailcamtrigger
sudo nohup python /home/pi/trailcamtrigger.py &
echo trailcamtrigger started
Once running, I unplug the wifi as it is very thirsty on the battery.
Overall I’m pleased with the change. On the plus size it is now much sturdier, less likely to fall over and with a much clearer picture.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!
Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!
Python for Microcontrollers – Adafruit Daily — Select Python on Microcontrollers Newsletter: PyCon AU 2024 Talks, New Raspberry Pi Gear Available and More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi
EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey