Use a PIR sensor too so kitty just has to approach. A sonar module would act as a range gate to step up the action when kitty gets near.
But this doesn’t need a computer. A 555 timer and a short flip flop chain as a divider. i can do it in two ic's and a few r's & c's.
1 Like