loading
Picture of Squirt - Arduino, motion activated water cannon
Squirt is a motion activated water cannon using Arduino.

This was designed for use in the garden but as it's winter we tested it in the bathroom. It works!



True motion tracking is expensive and complicated so this system activates when the victim moves into range and randomises the position of the cannon and the firing time within a limited area. The sometimes fickle readings from the PIR sensor just adds to the cannon's randomness, and therefore the fun.

This is my first Arduino project.

Step 1: Parts

Picture of Parts
Arduino
Windscreen washer pump
PIR motion detector
servo motor
TIP 120 npn transistor
10k resistor
1N4004 diode
12v rechargeable NiMH battery
on/off switch
watertight box to house the workings
Watertight reservoir
Various length 22 awg jumper leads
Soft tubing
Short length of pipe
Breadboard
 
Jonathan Robson (author) 6 months ago

Sadly the original diagram is long lost and the Arduino recycled into other projects, but if you Google the problem you will find several circuit diagrams with the same solution of how you control a 12v DC motor with an Arduino. Here's a nice clear picture of somebody else's solution that uses the same circuit as mine. Just ignore the 5v rail on this diagram and replace it with the PIR and servo. I like this because it uses a 12v socket to a wall-wart rather than a battery you have to keep recharging. Yes, it uses an Arduino Mini but the pins it uses are on all other Arduino boards too.

Step 2 of Squirt Instructable tells you where to put the servo and PIR control leads - the others are just live and ground.

12v motor transistor layout.png
ToXiCATOM2 years ago
cool Dude !!!!!
karrrlo2 years ago
Great projetc :) the picture of the circuit is unreadable halas :(
could you please send a bigger one ?
thanks
cstace4 years ago
There would be a market to sell something like this. The ones you buy in the shops (i.e. scarecrow) have to be hooked up to a hose outdoor water supply. If you don't have a outdoor hose this is a great option... If someone in the UK makes one I would buy it.
lltiago4 years ago
hey guy....awesome job....but could you take a better picture of the circuit..? i can´t see it exactly...thankss so much
lol Awesome and please the circute
Evil_Bert5 years ago
Can you post a better pic of the circuit?  This will be my first and I'm doing it to scare the deer away from my flowers.  I will be making some modifications, but I'll post here when done.
loususi5 years ago
seriously ... this is incredible ... looks like i gotta get me the materials and start building my twist on this project ... thank you SO much

know anything about bioSensors?
Kiteman6 years ago
Put it on the lawn - cats beware!

There's got to be something that will stop them "going" on my lawn...
Sprinklers anyone? XD
PKM Kiteman6 years ago
I saw a video somewhere online of a DIY device that fired a flashgun, sprayed water and possibly had some kind of noisemaker component when triggered by a motion sensor (on the kitchen counter to scare away cats).

The ssscat is a commercial solution that sprays compressed air out on detecting motion- it's a neat idea but I'm not sure about commercial compressed air- it seems to contain an unpleasant proportion of VOCs (hence schoolmates getting high huffing upside-down air dusters from the camera shop >_<).

For the ultimate solution there's always the quintessential sentry gun- I'm sure you could replace the BB gun with a water jet. I still love the end of that video seen from the sentry's point of view, it's like every motion-tracking camera in sci-fi ever.
uncre8d16 years ago
i'd really like to see a stripped-down version of this (no arduino) for use as an automatic water dispenser. is this possible?
rmd65026 years ago
The PIR I got at Halted has an analog out, I think the voltage is proportional to the measured distance. Or you could get a pair of ultrasonic detectors. Then with a bit of trigonometry you could center the spray on the motion!
Is that a Windscreen washer pump ? I have two lying around and Might use one of these .
joemartens6 years ago
That is awesome! Just what I was looking for.
omnibot6 years ago
I love it!!!
cyrozap6 years ago
You should make the title more descriptive like "Squirt: A motion activated water cannon using an Arduino.