Adafruit - THE MUSICAL - is here! Get a musical tour of Becky's favorite tools around the Adafruit factory (video) and subscribe!

July 11, 2014 AT 4:00 am

Pi-powered anti-cat garden sprinkler system #piday #raspberrypi @Raspberry_Pi

We’re big fans of cats here at Adafruit but we can totally understand where Joshua was coming from when he built this anti-cat sprinkler system; it would be super annoying to have a bunch of random cats using your garden as a toilet! Luckily, Josh was able to use his pi to humanely make sure these cats won’t ever want to visit his garden again! Via the register via hack a day.

It’s a tip of the hat today to Reg reader Joshua Thumim for putting the humble Raspberry Pi into the service of humanity with a simple but effective feline repellent system.

Joshua explained:

For the last few years, pretty much every time I (or my two small kids) wanted to use the garden I’d first have to remove 3-5 cat turds of varying stages of decomposition.

I probably don’t need to explain how disgusting that is, or how irritating to know that these cats belonged to my neighbours who had nice turd-free gardens thanks to being cat owners. It was a question of beat them or join them, and I was damned if i was going to join them.

I did try several alternatives first, but nothing really worked, and eventually my patience ran out. Think Michael Douglas in Falling Down.

Well, the Brit Michael Douglas hit the shed with the following kit:

  • Raspberry Pi (model B) + Pi Cam + PIR (rehoused in a box from Maplins, waterproofed with silicon glue)
  • PiFaceDigitalIO for the relay
  • 24VAC solenoid water valve + AC/AC adaptor
  • Standard garden sprinkler connected to mains water via the solenoid
  • Some wire and some hosepipe

He explained: “The solenoid is switched via the PiFace relay in response to a PIR signal, controlled via about 40 lines of pretty amateurish Python, the main feature being use of the PiCam Python library which has a circular stream buffer feature for the video, allowing capture of pre-event footage.”

Read more.


998Each 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!


Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!



No Comments

No comments yet.

Sorry, the comment form is closed at this time.