Lego Pet Food Bowl Scale with Live Camera (ESPHome)

Hi everyone,

I built a pet food bowl scale using Lego bricks, M5Stack AtomS3R-M12, and M5Stack Unit-Mini Scales. It is integrated into Home Assistant via ESPHome.

This setup allows me to monitor food weight and check on my pet via a live camera feed.

Key Features:

  • Real-time food weight monitoring.

  • Live video stream (320x240 @ 2fps) using the onboard camera.

  • Zero-point calibration (Tare) from Home Assistant.

  • Custom digital filters (Average, EMA, LP Filter) adjustable from the dashboard.

Hardware:

  • M5Stack AtomS3R-M12

  • M5Stack Unit-Mini Scales

  • Lego Bricks

The full code and details are available here: GitHub Repository