cjanna.blogg.se

Build automatic dog feeder
Build automatic dog feeder








build automatic dog feeder

To do this, we need to tell the servo what direction to spin and for how long.

Build automatic dog feeder code#

That's it!Īll our code does is lower and raise the platform every 12 hours. Connect the white wire to Arduino pin 10. Connect the black wire to Arduino ground. Connect the red servo wire to 5 volts on the Arduino. The platform will lower every 12 hours allowing food to spill out. I experimented with inclines to help push the food toward the exit.īelow, you can see food peaking out from the top of the platform. When the actuator is all the way up, the top of the box is sealed and ready to be filled with pet food.

build automatic dog feeder

Below, the platform is at the top of its range of motion. The top and bottom of the hole should be at the low and high points of the actuator platform. Push the actuator arm into the box and seal the bottom with hot glue or tape.Ĭut a hole in one side of the box. Glue the bottom of the servo to a cardboard base. Make a box slightly larger than your platform to allow the platform to slide inside the box. I hot glued a circle of cardboard to the arm and then glued the platform onto the circle.

build automatic dog feeder

There are many methods you can use to attach the moving platform to the actuator arm. The total length of the linear actuator is 7 inches. It is important to make sure the glue dries while the servo and glue stick are perfectly aligned. Make four notches in the handle of the glue stick and fit them over the servo horn. The brass tube fits easily back into the glue stick. Hot glue the tube into the small plastic cup from inside the glue stick. We are replacing the glue with a brass tube to make it sturdy. The rotational motion exerted at the bottom of a glue stick causes a stick of glue to travel up a spiral rod and out the end of the cap. To attach it to our servo, we must first get rid of the glue. We will be using the glue stick case as a linear actuator. Today, we make an automatic pet feeder from cardboard, a glue stick, and an Arduino. However, by enslaving robots you can keep your pet happy and enjoy a stress-free holiday. Usually, you need a friend or neighbor to come over everyday and feed your pets. If you are a pet owner, going on vacation can be stressful.










Build automatic dog feeder