Every night, at 3 AM, my cat will meow and paw at the bedroom door like a banshee. I tried everything to get him to stop, including the off-the-shelf air sprayers that trigger with motion.
Eventually, I decided to build my own. I 3D printed a case and trigger for an air sprayer can, created some electronics with an ESP32 and RF trigger, and wrote my own "motion detection" logic - this time with an ultrasonic sensor, which works much better in the dark.
Now, the cat knows that a meow or paw will get him sprayed, and my wife and I can finally sleep!
I also built an air filtration system for my 3D printer, a level checker for my water softener, and a custom keepsake box that only opens with an RFID chip that you can read more about on my blog: https://www.mikebuss.com/blog
replies(7):