Motion sensing water sprayer. This has a multitude of uses but it's main purpose was to keep my cats from getting onto the countertops in the kitchen.
- Arduino
- Power source for Arduino (battery pack or 2A mobile phone charger)
- spritz.ino file
- Servo
- PIR Sensor
- Water bottle with trigger pull sprayer
- Picture hanging wire
- Adjustable metal clamp
- Tape
- Flash the Arduino (or ARM powered device) with spritz.ino file
- Attach the servo to the water bottle
This is done by looping the adjustable metal clamp around the servo and the water bottle and tighten
Note: Do not place the adjustable clamp around the trigger! It should go behind or below the trigger. - Using picture wire:
- securely tie one end of it to the part of the servo motor that doesn't move
- loop it around the trigger of the water bottle
- securely tie it to the movable servo head
- Connect the PIR sensor to the front of the water bottle with tape
Note: Do not cover the PIR sensor with tape, use tape around the edges - Connect the PIR sensor to the arduino using:
pin 5
- Connect the Servo to the ardunio using:
pin 13
- Connect the power source to the Arduino
- Enjoy an cat free countertop!
I've found that the timing between the electronics and the code is quite crucial to successful operation. The spritz.ino has timings for the specific electronics used by me. If you're seeing inconsistent results try adjusting the spritz.ino code to reflect the timing you used.