Fish Feeder Using Arduino Nano, Servo Motor and Waste Materials

by Lalit Das in Circuits > Arduino

4037 Views, 7 Favorites, 0 Comments

Fish Feeder Using Arduino Nano, Servo Motor and Waste Materials

SIMPLE FISH FEEDER USING ARDUINO NANO AND WASTE MATERIAL - P2
IMG_20180407_131429.jpg

It is a simple project by using a single servo motor and few basic materials.

It helps to feed the fish timely.

Materials for the Project

  1. Perfume or Deodorant cap (Any plastic bottle also work)
  2. Refill of gel pen or pen it self (Any long cylindrical plastic )
  3. SG90 9g Mini Micro Digital Servo Motor. (link)
  4. Arduino Nano V3.0 compatible Mini USB Development board ATmega328P & CH340 (link)
  5. Screw driver set (link)
  6. Drill machine (Good if you have , without it also it is fine).
  7. Adhesive (feviquick adhesive : get it from any general store)
  8. Long 2 inch Screw.

Fitting Servo to the Cap

IMG_20180406_222604.jpg
IMG_20180406_222609.jpg
IMG_20180406_222649.jpg
IMG_20180406_233040.jpg
IMG_20180406_233057.jpg
IMG_20180406_233139.jpg
  1. Create a hole with 4mm drill bit in the plastic cap.
    • If you don't have a driller , then first create a small hole using star screw set bit.
    • Then change the screw bits size and increase the hole till you get desired size.
    • Make sure the servo gear head can go into the cap.

Use the Refill for Rolling

IMG_20180406_233327.jpg
IMG_20180406_233351.jpg
IMG_20180406_233847.jpg
IMG_20180406_233857.jpg
IMG_20180406_233923.jpg
IMG_20180406_233929.jpg
IMG_20180406_233115.jpg
IMG_20180406_233947.jpg
IMG_20180406_233951.jpg
IMG_20180407_005837.jpg
IMG_20180406_234006.jpg
  1. Use the gel pen refill.
  2. Put it inside the hole and find the other point in the cap and mark it.
  3. In my case my gel pen tip side after inverting to other side, it loosely fit to the refill.
  4. So I made a small whole which fit properly for tip head in the cap.

Attach the Refill With the Servo Gear

IMG_20180407_010707.jpg
IMG_20180407_010724.jpg
IMG_20180407_011719.jpg
IMG_20180407_123208.jpg
IMG_20180407_123215.jpg
  1. Using adhesive attach it to the refill.
  2. Attach the long screw to the servo motor and bring it up-to it touch the cap.
  3. Mark the point and create a small whole there.
  4. It will help to screw the motor and make it fix there.

Food Falling Mechanics

IMG_20180407_010447.jpg
IMG_20180407_143604.jpg
  1. Create a hole in the refill.
  2. Make the hole as per the fish food size. (in my case it is for 2 pills)
  3. Now put it and mark the point in the cap and make a whole.
  4. Make sure the whole you made in the refill should be properly center with the hole.

Coding the Arduino

IMG_20180407_131429.jpg
SIMPLE FISH FEEDER USING ARDUINO NANO AND WASTE MATERIAL - P1
SIMPLE FISH FEEDER USING ARDUINO NANO AND WASTE MATERIAL - P2
  1. Follow this link if you are new to Arduino (link)
  2. Go to the File → Example → Servo → Sweep.
  3. Now test your machine.
  4. Make sure with a 180 degree rotation both the holes (cap and refill) should meet once.
  5. Check if food pill are getting out from the hole or not, else make change in hole size and check till food pill start falling.

Creating Timer and Feeding the Fish Timely.

Capture.PNG
  1. Check how many food pill are coming out of it with every 180 degree rotation.
  2. And how many food pill you required.
  3. You can increase it by making more holes or else making more rotation.
  4. Attached file contains the delay logic.
  5. By changing the "delayInHr" , you can increase or decrease the the time delay in hrs.
  6. By changing the "rotation" , you can increase or decrease the the rotation of the servo.

Downloads