Feeds

Reg reader fires up Pi-powered anti-cat garden sprinkler system

Crap in my begonias? Oh no you don't, you furry little sod

The smart choice: opportunity from uncertainty

Vid

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

Splendid. Here's a slow motion replay, the better to enjoy the "Cat-O-Bolt" in action:

As well as being more discreet than a shotgun, the device has the added advantage of automatically watering the garden, and there's further evidence of its defensive and irrigational capabilities here and here. ®

The Power of One Infographic

More from The Register

next story
World Solar Challenge contender claims new speed record
One charge sees Sunswift travel 500kms at over 100 km/h
SMELL YOU LATER, LOSERS – Dumbo tells rats, dogs... humans
Junk in the trunk? That's what people have
The Sun took a day off last week and made NO sunspots
Someone needs to get that lazy star cooking again before things get cold around here
Boffins discuss AI space program at hush-hush IARPA confab
IBM, MIT, plenty of others invited to fill Uncle Sam's spy toolchest, but where's Google?
Bad back? Show some spine and stop popping paracetamol
Study finds common pain-killer doesn't reduce pain or shorten recovery
Forty-five years ago: FOOTPRINTS FOUND ON MOON
NASA won't be back any time soon, sadly
Jurassic squawk: Dinos were Earth's early FEATHERED friends
Boffins research: Ancient dinos may all have had 'potential' fluff
prev story

Whitepapers

Top three mobile application threats
Prevent sensitive data leakage over insecure channels or stolen mobile devices.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.