Smart Cat Feeder

by АлександрУ9 in Circuits > Arduino

6675 Views, 49 Favorites, 0 Comments

Smart Cat Feeder

HOW TO BUILD A SMART ARDUINO CAT FEEDER

If you're tired of your cat screaming at you every morning you can build a cat feeder for it.

We'll need

  1. 2 cans
  2. Vitamins bottle
  3. MG996 servo motor
  4. Zip ties
  5. Thick wire
  6. Double bowl
  7. Piece of styrofoam
  8. Electric tape
  9. Arduino or similar microcontroller/microcomputer with PWM support
  10. Something to cut tin with (knife/scissors/dremel)

Cut Holes in the Cans

1.mark-holes.jpg
2.cut-holes.jpg
3.cutting.jpg
4.protect-eyes.jpg
5.match-holes.jpg
6.drill-holes.jpg
7.match-adapter.jpg
8.expand-hole-for-servo.jpg
10.sand-edges.jpg
9.eye-protection.jpg

WARNING: Wear eye protection for all the dremel work

  1. Mark holes with a whiteboard marker
  2. Cut holes with a dremel, kitchen knife or tin snips, anything works
  3. Drill pivot holes to match servo adapter and a servo sizes

Decorate Cans [optional]

11.vinyl.jpg
12.vinyl.jpg
13.vinyl.jpg
14.color-tape.jpg

I used some colored vinyl and electric tape but I should have better used a can of a spray paint, much easier to apply evenly.

Fixate Servo Adapter

16.materials.jpg
17.wire-holes.jpg
18.cut-wire.jpg
19.fixate-adapter.jpg
20.cut-rest.jpg
21.cut-rest.jpg
  1. Make 3 holes matching a servo adapter
  2. Fixate it well with a thick steel wire.
  3. Remove all the sticking out parts

Fixate a Servo

15.mg996r.jpg
22.zip-holes.jpg
23.zip-ties.jpg
24.zip-ties.jpg
24.screw.jpg

  1. Make 4 holes for zip ties
  2. Fixate the servo with the zip ties
  3. Fixate the top part on the bottom one with the screw that came with the servo

Make a Funnel

25.draw-smile.jpg
26.cut-smile.jpg
27.cut-funnel.jpg
28.put-funnel.jpg

  1. Cut a smile in the bottom matching the dispense hole
  2. Cut a funnel from a vitamins bottle
  3. You can fixate it with a hot glue from the inside to make sure that the cat food cannot get into the bottom can.

Attach to the Bowl

29.fit-foam-bowl.jpg
30.fit-foam-bowl.jpg
31.fit-foam-bowl.jpg
32.tape-foam-lid.jpg
33.put-together.jpg
34.put-together.jpg

  1. Cut the piece of foam to match the bowl
  2. Tape the bottom can lid onto the piece of foam. It will help a lot with serviceability of the servo if any problems occur (I had to do that only once for the last 2 years)
  3. Assemble all the parts

Connect to an Arduino or Raspberry Pi

35.wires-hole.jpg
36.cover-hole.jpg
37.connect-arduino-pwm.jpg
38.turn-on.jpg
  1. Make a wire hole in the bottom can. I should have better made a hole in the lid and a foam to make a wire less noticeable.
  2. Connect red wire to 5V pin hole of your arduino or a microcomputer. I used Beaglebone Black for this build but Arduino uno clone for the previous one. Arduino or another microcontroller board can be even better because it doesn't have an OS to make additional delays (250ms vs 260ms could make a lot of difference in the amount of food dispensed)
  3. Connect brown wire to GND pin hole
  4. Connect orange wire to a PWM output (i.e. 9 or 10 pin)
  5. You can put the arduino into the bottom can but in my case I used an external box because I have a lot of stuff connected to it and you can play with it through the stream on YouTube
  6. Upload the code

Circuit: https://circuits.io/circuits/2707080

Example arduino code: https://gist.github.com/ulitiy/5c319f65c419dfa1af7...

Fill Up and Enjoy

39.fill-cat-food.jpg
40.cat-enjoy.jpg
41.cat-button.jpg

Put some food or treats inside and enjoy your cat using it's own smart device!

Subscribe to my YouTube channel to see more of my builds!

Thanks for reading, watching and building with me!