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!


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!

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

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 11/15/2024 Featuring Adafruit bq25185 USB / DC / Solar Charger with 3.3V Buck Board! (Video)

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much 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

Adafruit IoT Monthly — The 2024 Recap Issue!

Maker Business – Adafruit Daily — Apple to build another chip at TSMC Arizona

Electronics – Adafruit Daily — SMT Tip – Stop moving around!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !


No Comments

No comments yet.

Sorry, the comment form is closed at this time.