Critter cam hacked from an old cellphone.

critter-cam-hacked-from-old-cellphone

[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.

Comments

  1. shavenwarthog says:

    cool! Another way to do this with only the Android is to monitor the proximity sensor.

    http://thecodeartist.blogspot.com/2011/01/proximity-sensor-on-android-gingerbread.html

    • spider says:

      unless the animal was pretty much ontop of the phone that wouldnt work, the proximity sensor has a very small range and is used to disable the touch screen when you get a phone call….

      i would of just used openCV and when ever i detect motion take a photo, tell the phone to never shut the screen off which can be done in settings and you are good to go :/

      • Blargh says:

        He’s suggesting using the proximity sensor as the interface to the phone, not as the critter detection mechanism. I think.

        Ie, you sense the critter, and move something over the proximity sensor.

  2. truebassb says:

    Well can also be done as simple as with an old PIR sensor,a couple of relays for the charger cycling,and a motor or actuator from a car door (for touching the screen),or even simplier with an improvised weight switch.

    No need to spend an arduino for that.

    But i like how he came with a complete solution easily.

    He definitely knows better what system he needed.

  3. t-bone says:

    I figured out it was a raccoon before even getting to the end of the article.

    Have the Android open the door for the dog so he can feast on the raccoons.

  4. Gee says:

    I did something similar, but I probably cheated in the eyes of HAD.
    I just used my android phone and used a app from the play store :)

  5. Strangely enough where my father was, there was a big problem with those bandits. As it happens the location had no idea what to do with them.

  6. jim.chien.andalusia says:

    Nature’s sneak thief gets the munchies again.

  7. hans says:

    Nice hacks, both for the human and the raccoons.

  8. SteveHaD says:

    Wow, no one tell this guy that he could have done the same thing with any.number of apps from the play store that would trigger on sound/movement and simply leave a light bulb on so he doesn’t need to flash the LED

  9. Anybodysguess says:

    Wow he power cycles the charger??? Doesn’t he know in settings you can change screen time out to “Never”???

    Also I probably would have solved this problem with a piece of string. . . . . . Tied to the trigger of a shot gun!

    • smee says:

      Good luck explaining that one to the police when your wife is getting patched up in the hospital.

    • Art Barrios says:

      Cycling the charger power was a sure fire way of keeping the phone alive. I actually did not think to check for a “never” timeout. That would have been a good idea (although less interesting). I don’t have that phone in front of me, I am not sure that Android 2.3 has a never setting included.

      • Anybodysguess says:

        I was just wondering what that would do to the battery, power cycling it like that, it seemed like a better idea to plug it in and set the screen to never turn off.

  10. spider says:

    true that would work, but then again you could just attach the phone to the lid and as soon as you detected motion start taking pictures.

    it seems to me he over complicated something that could of easly been done with just the phone and some programming, but dont get me wrong its cool what he did it jusy seems like there is easyer ways to go about it…

  11. Kurt Edwards says:

    Now that you know what the varmint is, in the next itteration/revision, I would hack together a 12 gauge shotgun (for rodent ‘dispatch’ ) with a PIR for range sensing and detection and a solenoid (for trigger squeeze, naturally). Don’t forget an array of IR LED’s to ensure you capture it all on video to share here on HAD!! And let the fun begin and you wind up with a nice Davey Crockett ‘Coonskin cap! Woot!! ;-D

  12. Lee says:

    Mobilewebcam is available from f-droid. It’s open source, and starts uploading or emailing images upon changes of pixels. All adjustable and all.

  13. Jaqen says:

    A few people keep suggesting a shotgun contraption for dealing with the racoons…
    how about just trapping them in a cage? i case you manage to catch the neighbours cat or small dog, you can just let it out, instead of having to explain how it was blown to pieces…

  14. Art Barrios says:

    Thanks for the comments everyone! Yes this project is an example of “If it is worth doing it is worth overdoing…”. I like solving problems in a way that is fun, interesting and gets me new knowledge that may help me with other projects. The critters have moved on for now but if they come back I will be sure to thank them for the inspiration!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 94,503 other followers