Search models, users, collections, and posts

ESP 32C3 automatic Fish Feeder

GIF

Print Profile(1)

All
A1 mini
H2S
X1 Carbon
H2C
A1
P2S
P1P
P1S
X1E
H2D Pro
H2D
X1
X2D
A2L

0.2mm layer, 2 walls, 7% infill
0.2mm layer, 2 walls, 7% infill
Designer
6.6 h
3 plates

Open in Bambu Studio
Boost
3
13
0
0
8
1
Released 

Description

Project: Smart Auto Fish Feeder (ESP32 + Blynk)

Hello everyone! I’m excited to share my Smart Auto Fish Feeder project. A unique highlight of this project is that 100% of the source code was written and optimized by Gemini (Google's AI) based on my specific ideas and functional requirements. This project serves as a great example of how you can create sophisticated, stable devices using AI, even without being a professional programmer.

1. Key Features

  • Hybrid Control System: Supports remote control via the Blynk App (WiFi) and direct local configuration using a Rotary Encoder on the device.
  • Smart Time Synchronization: Automatically retrieves precise time from Internet servers via NTP. If the connection is lost, the system switches to its internal RTC and uses the last saved timestamp from memory to continue operating, preventing the clock from resetting to 12:00.
  • Flexible Feeding Schedule: Supports two main feeding times per day (Morning/Afternoon). You can also enable or disable the afternoon feeding session if you prefer a once-a-day schedule.
  • Deep Customization: Adjust the motor rotation speed (PWM) from 1-255 and set the duration for each feeding cycle with a precision of 0.5 seconds.
  • Localized Interface: The OLED menu is currently written in Vietnamese. If you require a different language, you can provide the code to Gemini to translate the menu items to your preferred language.

2. Wiring Diagram

The project is built around the compact yet powerful ESP32-C3 Super Mini:

  • OLED Display 0.96" (I2C):
    • SCL → GPIO 4
    • SDA → GPIO 3
  • Rotary Encoder:
    • Pin A → GPIO 5
    • Pin B → GPIO 6
    • Button (SW) → GPIO 7
  • L9110S Motor Driver:
    • VCC/GND: Connect to motor power (5V-12V). Note: Ensure the GND is shared with the ESP32.
    • A-1A: Connect to GPIO 10 (PWM output for speed control).
    • A-1B: Connect to GND (Mass).
  • DC Motor: Connect to the two green output terminals of the L9110S module.

3. Mechanical Design (3D Printed)

The physical structure of the feeder is a combination of two designs:

  • Feeding Mechanism: Based on the professional design by author Dove on MakerWorld. It ensures smooth food dispensing without jamming or moisture issues. Reference link here.
  • Custom Body: I designed a custom protective housing to perfectly fit the specific electronic modules (ESP32, Encoder, OLED) and the hardware I had on hand. This ensures a compact, aesthetic, and durable build for the aquarium environment.

4. Basic Operating Instructions

  • WiFi Setup: Navigate to Menu "0. WiFi" to scan for networks. Select your SSID and enter the password using the rotary encoder. The screen includes clear guides: "OK: Save", "DEL: Delete", and "X: Cancel".
  • Speed Adjustment: Go to "6. Toc Do Quay" (Rotation Speed) and press the knob to enter [ CHINH ] (Edit) mode. As you turn the knob, the motor will rotate instantly so you can test the actual power.
  • Feeding Duration: In menu "5. Thoi Gian (s)", you can increase or decrease the duration in 0.5-second increments to precisely calibrate the amount of food released.
  • Manual Feeding: Trigger the button on the Blynk App (V5) or select "7. TEST MOTOR" from the device menu to feed your fish immediately.

5. Component List

  1. ESP32-C3 Super Mini (or any ESP32 variant).
  2. OLED Display 128x64 I2C.
  3. EC11 Rotary Encoder.
  4. L9110S Motor Driver Module & DC Geared Motor.
  5. 3D Printed Parts (Mix of Dove's mechanism and my custom body).

This project is completely free and was optimized by Gemini AI. I hope it helps you take better care of your


Documentation (1)

Other Files (1)
test 10 final.txt

Comment & Rating (0)

(0/1000)