Remote Controlled Fish Food Dispenser

by JorgeC82 in Living > Pets

1180 Views, 6 Favorites, 0 Comments

Remote Controlled Fish Food Dispenser

IMG_20151210_172834.jpg

This instructable was created in fulfillment of the project requirement of the Makecourse at the University of South Florida (www.makecourse.com)

This make was my intro into using the arduino microcontroller and writing code. I admit that there is a lot more that could have been done to make this project more awesome!, I applied the K.I.S.S. approach to my first build. This build is open ended with a lot of room for awesomeness, and indeed, more awesome awaits as I intend to add a temperature sensor and timer based control.

However, as a novelty, this device serves as a fun and geeky method for dispensing any dry material with a particle size diameter below 1.5 mm or so.

Happy Building!

Gather Materials

  1. Arduino UNO Learning Kit (includes LCD, Stepper motor + driver, breadboard, jumper wires, infrared sensor and remote, and USB Cable) $49.99
  2. DC-47P DC Series Heavy Duty Electronics Enclosure
  3. Use the attached CAD File to and export the model of the dispenser as a .stl file. 3D print the parts for the fish food dispenser

Additional tools:

  • Phillips head screwdriver
  • box cutter
  • JB Weld Epoxy Putty or plumbers putty
  • Sand Paper

Ideally, you will also have a small hungry fish in need of feeding ^_^

Finish 3D Printed Parts

Snapshot 1 (10-6-2015 3-18 AM).png

Printing quality can vary. Take the time to make sure all pieces fit and that movement between pieces is unhindered.

I spent a long time sanding the rotating wheel so that it can rotate freely within the bottom housing. The attached video set at 18x normal speed is just a glimpse at the amount of sanding required. This can be remedied by adjusting the tolerances for the 3D parts prior to exporting the .STL file for 3D printing.

Build the Circuit and Wire Components

Wriring Diagram_bb.jpg
IMG_20151112_014007.jpg

Use the attached wiring diagram to wire the arduino to the pertinent components. The program used to generate the wiring diagram is the commonly used Fritzing program (available here for free)

This build utilizes several arduino components including:

  • Infrared receiver and remote
  • Stepper motor and stepper motor driver board
  • 16x2 LCD Disply with I2C bus
    • the I2C Bus allows for easy connectivity and control of the LCD display. You will need to include the appropriate libraries in order for the arduino sketch in the following step to work
  • The power supply to the Arduino can be any 5V power supply (USB or battery)

Upload Arduino Sketch

***You must have the Arduino Sketch IDE Software installed on your computer (available here)***

The main sketch to be uploaded to the arduino is titled FishFeeder_CODE

The "functions" file should be included as a tab as it contains the definitions for the "forward" and "backward" functions that are used in the main sketch. These functions drive the stepper motor operation. I wrote my own operation regime that would allow for two of the internal elecromagnets of the stepper to receive voltage during the step cycle so as to apply twice the electro magnetic force, thus acheiving a bit more torque. This will be necessary as this make is intended to deal with small rigid particles that could possibly induce frequent jamming. I felt that increasing the torque would be beneficial for this intended use.

Outfit Enclosure

IMG_20151208_162135.jpg
IMG_20151208_184309.jpg
IMG_20151208_184250.jpg
IMG_20151208_184317.jpg
IMG_20151208_192007.jpg
IMG_20151208_192022.jpg

This step invites much customization. First, I arranged the components within the enclosure to my liking. As seen in the photos, the breadboard and the Arduino UNO fit snuggly within the enclosure.

The stepper motor driver was screwed to the exposed screw hole within the enclosure.

Epoxy putty was used as both a sealant and an adhesive. A small saw, box cutter, and drill were used to cut holes into the enclosure to make the holes for the dispenser resevoir, dispenser outlet, and for the IR receiver. The epoxy putty cam in handy to "clean up the holes and make the components appear more flush with the enclosure, limiting unwanted movement. An additional piece of tubing was attached to the outlet of the dispenser to better direct material exiting the dispenser.

Plug and Play!

IMG_20151210_172709.jpg
IMG_20151210_172950.jpg
IMG_20151210_174312.jpg
IMG_20151210_172834.jpg

Now just connect the arduino to a power source and place the enclosure on top of the animal's enclosure. Make sure the dispenser outlet hole has a clear path to the water below.

I hope you enjoyed this make!