
- Best automatic cat feeder with collar sensor manual#
- Best automatic cat feeder with collar sensor code#
Hook up the IR sensor to analog ch 4, with an LED to show that it works.
Best automatic cat feeder with collar sensor code#
You can test the mechanism with a bit of Arduino code that is downloadable here: door closed) should be on channel 1 and the button actuated when the tray is retracted (door open) should be on channel 0. The button that is actuated when the tray is extended (i.e. Add a 10K resistor between each button and ground as a pull down resistor ( ) and a low one (100-220 ohm) between the button and the analog channel just so the resistance is not infinitely small. Connect pushbuttons to Arduino analog channel 0 and 1 (in Arduino code pin 14 and 15). Put the Adafruit Motorshield on top of the Arduino.

I have mounted a metal strip on the tray in such a way that when the door is all the way open, the strip pushes on one button, and when it is all the way closed, it pushes the other button. This also helps to keep track of what state the system is in at all times. To ensure that Arduino stops turning the motor when an open/close action has been performed, I mounted two pushbuttons in the tray, which get pressed when the door is all the way open/closed.

The video shows the first version with the ID-20 as the reader. Little Cat Toos demonstrates cat feeder from champenoise on Vimeo. This antenna is large enough that the cat can poke his head through, which works 100% of the time. Not that big a deal because the cat usually just tried from different angles, but my latest version (shown in the photograph) uses a SEEED studio RDM630 RF-reader with a self-made circular antenna. The cat's tag sometimes hangs on the side, so it did not always activate the reader even when he was in the exact same place every time. The first version (shown in the video) used an ID-20 (ID Innovations), which worked, but the range was limited. One could use a stronger material and add a servo that slides a bar into the door to lock it into place. Mine was made out of cardboard so it is easily broken into by smart/strong animals.
Best automatic cat feeder with collar sensor manual#
Automatic/manual mode switch (on manual it opens with a pushbutton) Sensors detect whether the door is fully opened/closed. Proximity sensor (Sharp GP2D120) prevents door from closing while the cat is eating An old CD-rom player is used as a sliding door If you have two cats and one of them is on a diet but the other needs free food, you can build a feeder with RFID capability that only opens for the cat that needs free access. The free-food cat wears a collar with an RFID tag.
