Counter Defense
Counter Defense
Works to keep cats off the counter using facial recognition and continuous scanning up to 360 degrees. Counter Defense’s goal is to bring consistent consequences to counter surfers without damaging your relationship with your cat; a more effective alternative to the spray bottle.
Project Files:
In order to create a counter defense for yourself, you can get started with the project files below.
Admittedly, the instructions are not finished, and you will need to infer a large portion of the process.
Directions [ still not very good]:Flash a raspberry pi zero 2w with raspberry pi os lite; use raspbery pi imager | configure to use your wifi automaticallySSH into it using another computer Power it up
clone the repository
cd into the repository
run the install script
There are probably other dependencies I am forgetting
The install script creates a service that tries to run main.py, but main.py will fail until a camera is hooked up
3d print all the parts out of PETG
Assemble parts using the press-fit and some really small screws
Instead of giving you a step-by-step wiring instructions, I will describe how it works and let you figure it out. (feel free to email me if you have questions) hunter@ginkgoinnovation.com
the raspberry pi uses the camera to see (camera module 3 noir)
Everything is soldered onto a little solderable circuit board
All components run off the same 5 volt
The Photo interrupters are used as limit switches (make sure to use resistors where applicable) need 220 ohm
hook up stepper motors and drivers
I used a lot of glue to keep the water tank sealed.
There are about 100000 little things that I am not including… If you actually want to make this, just send me an email and I will try to help you out.