Post B0kbvY112Bbj4J1SHA by rombat@sfba.social
(DIR) More posts by rombat@sfba.social
(DIR) Post #B0kbvKvDiQFOSZD8wC by rombat@sfba.social
2025-11-29T21:28:41Z
1 likes, 0 repeats
A little #ESP8266 project for the week: My cat keeps jumping on the countertops in the kitchen. So here's the quick & dirty prototype: a PIR (motion) sensor, passive buzzer, and button for arming and disarming.The buzzer is configured to play a 1-second warbling high pitched (> 8-12 kHz) tone... enough to get kitty's attention.#arduino #nodemcu
(DIR) Post #B0kbvNkLDKKNDh8ztg by rombat@sfba.social
2025-11-29T21:39:03Z
1 likes, 0 repeats
Here's the device in action on the workbench.
(DIR) Post #B0kbvOlRQinmNOfOFc by rombat@sfba.social
2025-11-29T21:41:38Z
1 likes, 0 repeats
So, does it work? Yep.
(DIR) Post #B0kbvTFMlP7EHMhLRw by rombat@sfba.social
2025-11-29T21:45:18Z
0 likes, 0 repeats
It seems to have served as a pretty good deterrent just from the memory; she hasn't tried to jump onto this counter since. So I've placed it on the further counter to defend. However, I have to remember to "arm" the device, which is easy to forget.I could program a little web server into this, or, I can convert it to #ESPHome and it shows up natively in #HomeAssistant. Easy!
(DIR) Post #B0kbvY112Bbj4J1SHA by rombat@sfba.social
2025-11-29T21:46:38Z
0 likes, 0 repeats
Here are both he #arduino C++ code, and the ESPHome YAML source files: https://gist.github.com/ChrisRomp/3a1342e580dc5c56c6c0b315b85ec2b7Next up, I'm working on a 3D printed enclosure for it in OpenSCAD.