• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Image 1
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Image 2
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Image 3
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Image 4
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Image 5
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Image 6
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Image 7
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Image 8
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Image 9
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Image 10
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Image 11
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Image 12
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Image 13
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Image 14
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Image 15
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Image 16
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Image 17
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Image 18
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Thumbnail 1
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Thumbnail 2
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Thumbnail 3
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Thumbnail 4
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Thumbnail 5
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Thumbnail 6
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Thumbnail 7
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Thumbnail 8
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Thumbnail 9
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Thumbnail 10
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Thumbnail 11
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Thumbnail 12
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Thumbnail 13
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Thumbnail 14
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Thumbnail 15
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Thumbnail 16
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Thumbnail 17
Smart Scale for Automatic Cat Feeder Integrated with Home Assistant 3D Printer File Thumbnail 18

Smart Scale for Automatic Cat Feeder Integrated with Home Assistant

Wilfredoaristo avatarWilfredoaristo

April 20, 2025

printables-icon
DescriptionCommentsTags

Description

Smart Scale for Automatic Pet Feeder with ESP32 and Home Assistant

Description

This project was born from the need to monitor the amount of kibble in an automatic pet feeder, as the manufacturer's app lacks accurate reporting and notifications. I designed a custom scale using an ESP32 and an HX711 amplifier, integrated with Home Assistant via ESPHome. The scale sits beneath the feeder, supported by a 3D-printed chassis that houses all electronics. It continuously logs the feeder's weight, displays the data in Home Assistant, and triggers alerts when food is running low. The design is modular and compatible with virtually any feeder model.

Functions

● Real-time measurement of pet food weight in the feeder
● Data logging and graph visualization in Home Assistant
● Push notifications to your phone when food drops below a custom threshold
● Works with any feeder thanks to its universal mechanical design

Hardware and Software Used

Hardware:

  • Arduino ESP32 board
  • 5 kg load cell
  • HX711 load cell amplifier
  • 5V USB power supply (i used the electrical wall socket, see pictures)
  • Custom 3D-printed chassis
  • Screws and adhesive for mounting. You could glue the lid. I've used DIN 912 M4x4 screws and threaded inserts.
  • Standard automatic pet feeder

Software used:

  • ESPHome (for ESP32 firmware and Home Assistant integration)
  • Home Assistant (visualization, automation)
  • ESPHome CLI for flashing
  • SolidWorks 2023 (for mechanical design)

Wiring Diagram (obtained from Random Nerd Tutorials)

GPIO Connections:

HX711 DOUT → GPIO16

HX711 SCK → GPIO4

HX711 VCC → 3.3V on ESP32

HX711 GND → GND on ESP32

ESP32 powered via USB C

Code Summary

The ESP32 runs ESPHome firmware, exposing a weight sensor to Home Assistant using the HX711 platform. It is configured to:

  • Use GPIO16 for DOUT and GPIO4 for SCK
  • Calibrate using two known data points: 700321 = 0 g and 1072350 = 943 g
  • Filter out negative values (returns NaN)
  • Report with two decimal precision and update every 60 seconds
  • Use grams (g) as the unit of measurement
  • Bluetooth proxy support is also included via an official ESPHome package.

You can find the full YAML configuration attached in a .zip file.

3D Printing Instructions

Material: PLA

Layer Height: 0.2 mm

Infill: 15%

Supports: None

Assembly Instructions

  1. Print the base chassis and ensure it fits the feeder’s bottom.
  2. Mount the load cell using screws; place the HX711 and ESP32 into their slots.
  3. Wire everything according to the corrected GPIO diagram.
  4. Flash the ESP32 with the provided ESPHome YAML code.
  5. Pair the device with Home Assistant.
  6. Calibrate using the known weight references used in the YAML. The calibration values will likely be different in your case, so set them by taring the scale to 0 when you want it to display 0g (i.e., when the feeder is completely empty). Next, use another scale to weigh the food, fill the feeder with that exact amount, and then tare again with the known weight of the food. For more info, check this tutorial out: ESP32 with Load Cell and HX711 Amplifier (Digital Scale) | Random Nerd Tutorials (it uses Visual Studio Code with PlatformIO but the concept is the same)
  7. Place the feeder on top and secure it as needed.

Demo and Usage Instructions

  • View weight trends in Home Assistant using the default “History” graph.
  • Receive alerts when food drops below a defined threshold (e.g., 100 g).

Optionally, trigger Alexa reminders or other automations via Home Assistant. You can even monitor your cats' calorie intake by combining the measured weight of the kibble with its nutritional information (I will do this soon).

Since the base of my automatic feeder wasn't completely flat, I decided to cut a wooden platform out of okoumé plywood matching the feeder’s footprint. I then adhered it to the 3D-printed chassis using strong adhesive. This helped ensure a stable and even load transfer to the load cell. However, this modification is entirely optional. For reference, my feeder model is the FUKUMARU Wi-Fi Automatic Pet Feeder Amazon link.

Additional Notes or Tips

  • Ensure that the load cell sits on a rigid and stable surface to avoid noise.
  • Avoid overloading the cell beyond its 5 kg rated capacity.
  • Calibrate after installing the feeder to compensate for structural weight.
  • The YAML includes a filter that removes negative readings for cleaner data. Furthermore, the weight is subjected to a second round of filtering to compensate for instabilities caused by the cats eating or their paws touching the feeder, this second round of filtering is done in Home Assistant and shown in the pictures.
  • Tips are welcome. Here is my PayPal. ^^  Thanks!

 

License:

Creative Commons — Attribution

Related Models

Cable Corners... keep cables in corners! preview image

Cable Corners... keep cables in corners!

muzz64 profile image

muzz64

30,967

Headset Hanger 2.0 preview image

Headset Hanger 2.0

RMTB profile image

RMTB

16,737

PetsTags preview image

PetsTags

Dominik profile image

Dominik

1,132

Universal Filament Filter and Lubricator preview image

Universal Filament Filter and Lubricator

CreativeTools profile image

CreativeTools

26,110

3D4U by Miele Coffee Clip preview image

3D4U by Miele Coffee Clip

3D4U powered by Miele profile image

3D4U powered by Miele

8,625

Simple Customizable Key tags  preview image

Simple Customizable Key tags

constantinost profile image

constantinost

158

SHARKZ... Fun Multipurpose Clips / Holders / Pegs with moving jaws that bite! preview image

SHARKZ... Fun Multipurpose Clips / Holders / Pegs with moving jaws that bite!

muzz64 profile image

muzz64

24,663

Mechanical wall clock preview image

Mechanical wall clock

Harald Andersson profile image

Harald Andersson

6,965