[Art Barrios] kept having night-time visitors who were raiding his dog’s food storage bin. It’s a plastic tub with a lid that latches but the critters were knocking it over and popping that lid off. He wanted to find out which animal was the culprit so he hacked together an automatic camera system using an old cellphone.
You can see the majority of the hardware he used in the image above. There’s an Arduino on the left. This monitors a switch which he added to the lid of the food storage container. It triggers the system when opened, switching on an LED light and snapping pictures.
The touchscreen button is used to trigger the shutter. That’s what all of that tin foil is about. Some experiments led [Art] to realize that a metal ‘finger’ could register on the screen if there was enough foil attached. To move the metal bracket he uses a solenoid. The last problem he faced was keeping the cellphone screen awake. He figured out that power cycling the charger does the trick. The Arduino manages this using a mains-rated relay.
The system successfully captured images of a family of raccoons feasting on the tasty morsels.