I love my cats. But they can be really annoying... One of them tries to enter our bedroom every day at 5am, by scratching the door.I want to be able to stop it! That's why I created my water-spray!
Please note that you can find all the steps, trials and source code on IoT-Experiments.comHardware
For that project, I based my development on a MIXA atomizer (bought on Amazon for less than 4€).
Later on, I used a smaller atomizer from Monoprix:
The plan was simple: a stepper motor will have a small elliptic wheel attached, which can press / release the button of the spray can.
I wanted to create a very simple device, so I chose a stepper motor cheap and very common, the 28BYJ-48.
This project was not easy, but after some tests and failures, I created that:
I was able spray some water, and it was time to do it automatically!For that, I used an HC-SR04: it's cheap, works for a range from 2cm to 200cm, and at 5V.
I used an Arduino pro mini at 5V as the main MCU.
Once the device tapped to the wall near the door, the cat only scratches the door one time!The device looks shitty, but I hope it's only temporary, and the cat will quickly understand that this behavior is to avoid.
You can find all the steps, trials and source code on IoT-Experiments.com