Programmable Aquarium Fish Feeder - Designed Granulated Food

6,640

43

8

Introduction: Programmable Aquarium Fish Feeder - Designed Granulated Food

Fish feeder - designed granulated food for aquarium fish.

Its very simple design of fully automatic fish feeder.

Its operated with small SG90 micro servo 9g and Arduino Nano.

You power whole feeder with USB cable (from USB charger or USB port of your PC)

By simple editing attached program you can set exact times of feeding set on exact hour minute.

Step 1: Aquarium Fish Feeder - Programmable - With 9g Servo

First you should print mechanical parts

Here is STL file.

https://www.thingiverse.com/thing:2761061

I used PET-G material because it’s very strong and isn’t affected by any chemicals or sunlight.

Also, there is no risk that some toxic chemicals will affect my aquarium.

Only one thing isn’t 3D printed and its tank for fish granules – there is used old PET bottle.

Step 2: Assembly Mechanical Parts

Step 3: Prepare Circuit

It is very simple circuit.

There is a mosfet tranzistor which is works like switch driven by arduino.

Reason is that we activate servo only for short time in very long period so it is not necessary to let it drain the battery. :)

You can use some universal soldering board

https://www.thingiverse.com/thing:2761176

Step 4: Progrmming Arduiono I.

Servo is in two positions

1. – in place under food storage tank

2. – in position over feeding hole.

You can use this program servo_2_positioning.ino

You will play with 2 values

int ser_pos_feeder = 80; // position under food tank
int ser_pos_fishtank = 25; // position over feeding hole

Step 5: Progrmming Arduiono II.

When you found optimal

position of servo, you can upload full program with timer.

Set the:

  • - Current time
  • - Feeding times
  • - Number of doses

*(I am now working on version where will be display and you will be able to set it up with buttons and now with computer.)

char feeding_times[] = "08:00:00,12:00:00,18:30:10,21:30:00,18:32:00"; // time format is HH:MM:SS and with , you can add more values.

int count_of_doses = 10; // how many doses shoul fish get per feeding

// If you want that feeding is coresponding with real time you have to set the real time

String current_time = "18:30:00"; // Time is countent allways from this value after reset or power of

Step 6: Putting All Together

Just close your box

Upload program and let your fish enjoy :)

Step 7: List of Materials

2x M3 5mm Screw

2x M3 20mm Screw

1x Arduino nano

1x SG90 9g Micro Servo

1x Single Row Pin Male Header (we will use 3 pins)

1x BS170 - mosfet tranzistor

------------------------------------------------------------------------------------

Optional

1x 9 V battery

1x 9V Battery Snap Power Cable

Be the First to Share

    Recommendations

    • Make it Glow Contest

      Make it Glow Contest
    • First Time Author Contest

      First Time Author Contest
    • PCB Challenge

      PCB Challenge

    8 Discussions

    0
    dalex11dalex
    dalex11dalex

    6 weeks ago

    hello, can you write a sketch for the servo and control the relay? I really want to add auto light to the aquarium

    0
    Eggster
    Eggster

    5 months ago

    Thank you for the great instructable and excllent design.

    Would you be willing to share the fusion360 files? I would like to make a similar feeder, but with a few modifications and adjustments for different amount of food.

    Thanks

    0
    cs2000
    cs2000

    1 year ago

    Hi there, what was the model of transistor you used please?

    0
    cookie3d
    cookie3d

    Reply 10 months ago

    1x BS170 - mosfet tranzistor

    0
    HenriZ1
    HenriZ1

    Question 11 months ago on Step 3

    Tk you for yr great design. I didn’t use the mosfet transistor n was able to run the sketch without problem. I’m using 5v usb power, can I ask, is that I need to use the mosfet only when I needed to power it by a battery? The sole purpose of it is to prevent battery drain, right?

    0
    cookie3d
    cookie3d

    Answer 10 months ago

    Hi Exactly, I find out that Cheap servo doesnt like to be long time on.
    So I puts there energy only in time when i need it.

    0
    Swansong
    Swansong

    3 years ago

    It would be really convienient to have one of these on each tank! I've got a friend that has a mini aquarium that could use those :)

    0
    cookie3d
    cookie3d

    Reply 3 years ago

    It's possible :)
    This feeder is also designed as cheap as possible. So you can build as much as you wish. :)

    But feeding fish, was always only fun thing, on aquaristic.

    I build it because i needed travel some time, so I want something substitute me when i am out.