hero-image
HOME
hero-image
project-highlight-image

Smart Fish Feeder

hero-image
Wayne Toh

Project Timeline

Aug 2021 - Dec-2021

OVERVIEW

The Smart Fish Feeder is an IoT-based automatic feeding system designed to assist busy individuals who may forget to feed their fish due to work or school schedules. The system enables remote dispensing of fish food and provides real-time monitoring of remaining supply, ensuring consistent feeding and timely refills without requiring the user’s physical presence.

HighlightS

Developed an IoT-enabled automated fish feeder using ESP32, ultrasonic sensing, and servo control.

Implemented real-time MQTT communication with Adafruit IO and IFTTT applets for user notifications.

Designed and fabricated a functional prototype capable of remote operation and feed-level monitoring.

Achieved 30-minute daily time savings by eliminating manual feeding and ensuring consistent operation.

SKILLS

CADIoTFabrication3D PrintingPython

Additional Details

Goals

If someone is too busy with school or work, they might forget to feed their fish. Thus, we created an IOT application called the “Smart Fish Feeder.” It can remotely dispense the right amount of food for the fish. In addition, it can also detect how much fish pellets you have left so that one knows when to refill (so they do not leave the house with an empty food dispenser).

Design choices + Concept

Screenshot 2025-10-22 193535.png


CAD drawing lost. Work in progress...

HCSR04 ultrasonic sensor chosen to measure the distance from the top of the food supply and claculate the percent of supply.

  • It can measure distances from 2 cm to 400 cm. Since our container is at most 30 cm, the sensor will perform as intended for this range.

Fitec FS90 servo motor utilzied to ope n and close lid so food can be dispensed.

  • From the motor’s datasheet (for 4.8 V) this corresponds to a peak stall torque of 1.3 kg/cm.

The ESP32 board communicates externally using two methods: MQTT (via Adafruit IO) and IFTTT.

dispense 100.png

MQTT Communication:

The ESP32 connects to local Wi-Fi and communicates through two Adafruit IO feeds: “main-feed” and “percent-left-feed.”

It subscribes to “main-feed” to receive commands and trigger corresponding callback functions.

It publishes the remaining supply percentage to “percent-left-feed,” which is monitored by IFTTT for automated responses.

IFTTT Integration:

Four applets were created:

  • Manual Mode button – sends “Manual Mode” to “main-feed.”
  • Timer Mode button – sends “Activate Timer Mode” to “main-feed.”
  • Notification trigger (above 5%) – alerts the user when fish food is successfully dispensed.
  • Notification trigger (below 5%) – warns the user when food dispensing fails due to low supply.

The last two applets also serve as status indicators for motor activation.

Torque not sufficient to turn material. Replaced with lighter plastic.



Final Assembly + Application


Successful implementation of prototype remote-controlled feeding system using Servo motors, with real-time data monitoring using ultrasonic sensor, accessible globally via IoT integration and reduced manual feed time by 30 minutes each day, removing in-person presence.


lowinertia
Portfolio Builder for Engineers
Created by Aram Lee
© 2025 Low Inertia. All rights reserved.