กลับไปหน้ารวมไฟล์
smart-automatic-fishpet-feeder-994475-en.md

My project is designed to help many pet owners feed their pets at the exact same times every day, in a precise quantity every time. It will be good for many kinds of pets, including: Cats, Dogs, Fish, Parrots and so on.

This specific feeder was created for my fish pond and for my lovely koi fish. Because it is placed outside, it is waterproof.

You can see in the video above the alpha version of the feeder in the initial test. You can determine the hour, minutes, and seconds for feeding time, and also feed with a remote when you want to. Feeding with a remote command will cancel the next feed you determined by hour.

Link to video: https://youtube.com/shorts/JcsN5wG63ao

Redundant Mechanics: Automatic Pet Feeder

Throwing a cup of food onto the floor mechanically is simple. Ensuring that mechanism physically cannot jam, cannot double-feed, and will definitely operate even after a power outage requires robust engineering. This Smart Pet Feeder is an exercise in building a redundant, fail-proof system using components like the DS3231 RTC and heavy-duty servos.

Eliminating The "Jam" Flaw

The biggest flaw of many DIY pet feeders is using a sliding trap door. A piece of hard kibble gets stuck between the sliding door and the frame, the servo burns out trying to close it, and the entire food hopper dumps onto the floor!

  1. The Wheel Mechanism: The solution is to design an internal "Paddle Wheel" or horizontal carousel with open chambers.
  2. A MG996R Metal Gear Servo rotates the wheel exactly 45 degrees.
  3. One chamber containing the food aligns with the exit hole. There is no door to jam! Food just falls using gravity.

Flawless Time Execution (The RTC Interlock)

You cannot use delay(). You must use real-time scheduling.

  1. The incredibly stable DS3231 RTC I2C Module keeps time perfectly.
  2. Inside the loop(), you pull the hour: int currentHour = rtc.now().hour();
  3. The Single-Trigger Flag:
    if (currentHour == 8 && feedStatus == false) {
      DeployFoodServo();  // Run the motor once
      feedStatus = true;  // Lock the physical system!
    }
    if (currentHour == 9) {
      feedStatus = false; // Reset the system an hour later
    }
    
  4. This boolean trap guarantees that even if the Arduino resets randomly at 8:05 AM, it won't accidentally feed the pet a second breakfast!

Fail-Safe Requirements

  • Arduino Uno/Nano.
  • DS3231 RTC Module (Mandatory. The battery backup protects the feeding schedule during power blips).
  • MG996R High Torque Metal Gear Servo. Standard plastic servos will break instantly against hard food.
  • A 3D Printer to construct the anti-jam rotary paddle-wheel hopper.
  • An emergency backup power bank to run the Arduino if the main wall power drops.

ข้อมูล Frontmatter ดั้งเดิม

apps:
  - "1x Arduino IDE"
author: "itzikoi"
category: "Home Automation"
components:
  - "1x 3D Printer (generic)"
  - "1x High Accuracy Pi RTC (DS3231)"
  - "1x Arduino Nano R3"
  - "1x IR receiver (generic)"
  - "1x Stepper Motor, Bipolar"
  - "1x Solderless Breadboard Half Size"
  - "1x Dual H-Bridge motor drivers L298"
  - "1x JustBoom IR Remote"
  - "1x Jumper wires (generic)"
description: "Save your pets! Construct a hyper-reliable, RTC-scheduled servo mechanism programmed to autonomously dispense flawless kibble rations even during prolonged internet blackouts."
difficulty: "Intermediate"
documentationLinks: []
downloadableFiles:
  - "https://projects.arduinocontent.cc/c9667834-b2ba-4f3e-987a-150cf44dbf04.ino"
  - "https://projects.arduinocontent.cc/c9667834-b2ba-4f3e-987a-150cf44dbf04.ino"
encryptedPayload: "U2FsdGVkX18BrhrtRzsIKkQxHmhLWf9FG2mPSQnI4q7MgzzxV5rIsHq4BQJaXbe6GVAiUWuN61s3x74aGuK6Ms6InFdAffbT0Mg84rLzTrY="
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/smart-automatic-fishpet-feeder-994475_cover.jpg"
lang: "en"
likes: 0
passwordHash: "831289aded47598f072a63bcb33218b85e2fcae46e4a681ca846a5f63401dee4"
price: 299
seoDescription: "Build a DIY Smart automatic fish/pet feeder. Modular design for ponds, aquariums, and pets. Compatible with all food types and sizes."
tags:
  - "samrt"
  - "feeder"
  - "food"
  - "diy"
  - "animals"
  - "pets"
title: "Smart automatic fish/pet feeder"
tools: []
videoLinks:
  - "https://www.youtube.com/embed/shorts"
views: 6517