Built to order

Automatic Pet Feeder IoT Project with Camera Monitoring, Portion Control and Cloud Scheduling

This project builds an automatic pet feeder around an ESP32 and an ESP32-CAM: a servo-driven auger dispenses kibble portions in grams on a cloud-synced schedule, while the camera watches the bowl and the dashboard logs every feed with a timestamped snapshot. Portion size is set in grams and calibrated per kibble brand, and the feeder keeps working from its locally stored timetable if Wi-Fi drops. Suitable for B.E./B.Tech final-year projects in Electronics, Electrical and IoT.

Chat on WhatsApp — get a quotation

IoT & Embedded MQTT cloud dashboardNTP time syncESP32-WROOM-32 Arduino firmware360° servo auger dispenserHTML CSS JavaScript dashboard appIR break-beam level sensorHybrid
Automatic Pet Feeder IoT Project with Camera Monitoring, Portion Control and Cloud Scheduling — project thumbnail preview
More project photos (3)

The problem

Automatic pet feeders solve a real daily problem: pets left alone miss meals or get irregular portions when owners work late, travel, or simply forget. Most commercial feeders are sealed black boxes — you cannot verify what was actually dispensed, adjust the schedule from your phone, or see whether your pet even approached the bowl. This project builds that missing transparency as a student-built IoT system: an ESP32 drives a servo-powered auger that drops measured kibble portions from a hopper into a bowl on a cloud-synced schedule, while an ESP32-CAM watches the bowl and a web dashboard logs every feed with a camera snapshot. The design keeps the two jobs separate — the ESP32 handles real-time dispensing and stays responsive if Wi-Fi drops, while the cloud dashboard handles scheduling, portion settings and history. A grams-per-second calibration step per kibble brand keeps portions honest across pellet sizes, and the whole build uses parts any electronics student can source, wire and debug.

SYSTEM FLOW

6 components 5 connections

Live flow
Drag to explore
100%
userOwner

Sets feed times and portion sizes on the dashboard.

Follow the working sequence

How it works

The complete loop runs from the dashboard to the bowl and back. The owner sets feed times and portion sizes in grams on the cloud dashboard; the schedule travels over MQTT to the ESP32, which also keeps a local copy for offline operation. At feed time, the ESP32 runs the auger servo for the calibrated duration — about 9.6 s for a 60 g portion at the 6.25 g/s design rate — and the screw meters kibble from the hopper into the bowl. The ESP32-CAM captures a timestamped snapshot as the kibble lands, and the feeder publishes the event (time, grams, trigger) back to the cloud, where it appears in the feeding log and the weekly chart. An IR break-beam at the hopper throat watches the kibble level; when it reads empty, the dashboard raises a refill alert. A heartbeat message every minute keeps the dashboard's online indicator and signal reading honest.

  1. Set the schedule on the dashboard — feed times, portion sizes in grams, repeat pattern — and run the grams-per-second calibration once per kibble brand.
  2. The dashboard publishes the timetable to the feeder over MQTT; the ESP32 stores it in flash so feeds continue if Wi-Fi drops.
  3. At each feed time, the ESP32 runs the continuous-rotation servo and the auger screw meters kibble from the hopper into the bowl for the calibrated run time.
  4. The ESP32-CAM captures a timestamped bowl snapshot as the portion lands, and the feeder publishes the event — time, grams, scheduled or manual trigger — to the cloud.
  5. The dashboard appends the event to the feeding log with its snapshot, updates the weekly grams chart, and refreshes the hopper-level estimate.
  6. The IR break-beam watches the hopper throat; on a low reading the dashboard shows a refill alert and the local indicator stays lit until kibble is added.

Tech stack:

  • ESP32-WROOM-32 · Arduino (C/C++) firmware
  • ESP32-CAM · OV2640 2 MP camera
  • 360° servo auger dispenser
  • MQTT · cloud dashboard
  • HTML · CSS · JavaScript dashboard app
  • NTP time sync
  • IR break-beam level sensor
  • 5 V · 2 A DC power
Parameter Value
Controller ESP32-WROOM-32, Wi-Fi 802.11 b/g/n 2.4 GHz
Camera ESP32-CAM, OV2640 2 MP (1600 × 1200) (datasheet)
Portion drive 360° continuous-rotation servo, SG90 class, 1.8 kg·cm at 4.8 V (datasheet)
Portion range 10–120 g per feed (design target)
Dispense rate Approximately 6.25 g/s dry kibble (design target, brand-dependent)
Schedule capacity Up to 8 feeds per day (design target)
Hopper capacity Approximately 1.2 kg dry kibble
Power 5 V DC, 2 A adapter (design)
Connectivity Wi-Fi + MQTT; offline timetable fallback
Feed log Last 100 events with snapshots (design target)

Project features

The feeder's three core capabilities are scheduled dispensing, gram-level portion control and visual verification. The cloud dashboard sets up to eight daily feeds with per-feed portion sizes, and the ESP32 stores the timetable locally so meals continue even during internet outages. Portion control is mechanical and honest: a 360° continuous-rotation servo turns an auger screw for a calibrated number of seconds, and a grams-per-second calibration per kibble brand converts run time into grams. The ESP32-CAM captures a bowl snapshot at every dispense and streams a live view to the dashboard, so the owner can confirm the meal was served. Together these three loops — schedule, portion, verification — make the system demonstrable end-to-end in a viva: a scheduled feed can be triggered, measured on a scale, and matched to its logged snapshot.

  • [Cloud feeding schedule] Set up to 8 feeds per day (design target) with individual portion sizes and repeat patterns; the timetable syncs over MQTT and the ESP32 runs it offline if Wi-Fi drops.
  • [Gram-level portion control] A 360° continuous-rotation servo (SG90 class, 1.8 kg·cm at 4.8 V, datasheet) drives an auger screw; portions of 10–120 g are set from the dashboard and converted to auger run time through a per-brand grams-per-second calibration.
  • [Bowl camera monitoring] An ESP32-CAM with the OV2640 2 MP sensor (1600×1200, datasheet) streams the bowl view to the dashboard and captures a timestamped snapshot on every dispense.
  • [Manual dispense from anywhere] A "Dispense Now" button on the dashboard triggers an immediate portion over MQTT — useful for an off-schedule meal and for live demonstrations.
  • [Feeding log with snapshots] Every event (time, portion, trigger, status) is stored with its bowl snapshot; the dashboard shows a weekly grams-dispensed chart and the estimated hopper level.
  • [Low-hopper alert] An IR break-beam sensor at the hopper throat flags low kibble on the dashboard and lights a local indicator before the next scheduled feed runs dry.
  • [Offline-safe design] If the network drops, the ESP32 keeps dispensing from its locally stored timetable and uploads the missed log entries when connectivity returns.

Optional add-ons (quoted separately): Telegram push alerts on low hopper or missed feed; load-cell bowl weighing to confirm the pet actually ate. Future scope (not included): pet-presence detection on the camera feed; multi-pet RFID portioning.

What is included

  • Assembled ESP32 feeder prototype with hopper, auger, servo and bowl
  • ESP32-CAM module mounted and aimed at the bowl
  • ESP32 firmware (schedule engine, MQTT, calibration mode, offline fallback)
  • Cloud dashboard demo app (single-file HTML/CSS/JS) with scheduling, portion control, live feed view and feeding log
  • Wiring diagrams and complete parts list
  • Grams-per-second calibration procedure for the buyer's kibble brand
  • Project report PDF with the 10-section abstract
  • PPT presentation and viva Q&A set

Limitations & prerequisites

  • Portions are timed, not weighed — accuracy depends on the per-brand calibration and pellet-size consistency; expect roughly ±10% variation (design estimate), not lab-scale precision.
  • The ESP32-CAM is a 2 MP monitoring camera, not an AI camera — it takes snapshots; it does not detect the pet or measure uneaten food (future scope).
  • Kibble must be dry and free-flowing; large or sticky treats can jam the auger — the design targets standard dry kibble up to approximately 12 mm pellets.
  • Cloud features need Wi-Fi; the feeder dispenses on schedule offline but live view, manual dispense and alerts pause until reconnection.
  • The demo hopper holds about 1.2 kg — a large dog's multi-day supply needs a bigger hopper (optional add-on).
  • Not a veterinary device — portion sizes should follow a vet's feeding guidance, not the dashboard defaults.

Frequently Asked Questions

How is this different from the Arduino pet feeder with voice recording on your site?

That build is Arduino-based with local voice-recording playback and no connectivity at all. This is a different product: an ESP32 with Wi-Fi, an ESP32-CAM for bowl monitoring, cloud scheduling with a web dashboard, and servo-auger portion control set in grams. Choose this one for remote scheduling and visual verification; choose the Arduino build for a simple standalone feeder with voice playback.

Is the portion weighed on a scale or timed?

Timed — and the page states that honestly. The servo runs the auger for a calibrated number of seconds, and a grams-per-second calibration per kibble brand converts run time into grams, giving roughly ±10% repeatability (design estimate) that suits scheduled pet meals. A load-cell weighing bowl is an optional add-on if your review panel wants true weighed portions.

Does the camera use AI to detect the pet?

No, and no AI is claimed. The ESP32-CAM is a monitoring camera: it streams the bowl view and captures a timestamped snapshot at every dispense so you can verify the meal was served and check whether the pet ate. Pet-presence detection on the video feed is listed as future scope, not a shipped feature.

What happens during a Wi-Fi outage or a power cut?

The schedule keeps working through a Wi-Fi outage: the ESP32 stores the timetable in flash and dispenses offline, uploading missed log entries when the network returns. Cloud-only features — live camera view, manual dispense, alerts — pause until reconnection. A power cut stops the feeder entirely; a small UPS is an optional add-on for owners who need that.

Is this project suitable for a final-year project?

Yes — for Electronics, Electrical and IoT programs. It demonstrates embedded firmware on the ESP32, camera interfacing with the ESP32-CAM, actuator control with a real calibration procedure, MQTT cloud communication, offline-fallback design and a full-stack dashboard: a complete sense-decide-actuate IoT loop that is easy to demonstrate live in a review.

Components & software requirements
  • ESP32-WROOM-32 · Arduino (C/C++) firmware
  • ESP32-CAM · OV2640 2 MP camera
  • 360° servo auger dispenser
  • MQTT · cloud dashboard
  • HTML · CSS · JavaScript dashboard app
  • NTP time sync
  • IR break-beam level sensor
  • 5 V · 2 A DC power
Delivery information

Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.

Support terms

Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.

Download free synopsis (PDF)

Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.

Get a quotation