---
title: "Weight Feeder Control System"
url: "https://maker.wiznet.io/Hannah/projects/feed-by-weight/"
markdown_url: "https://maker.wiznet.io/Hannah/projects/feed-by-weight/md"
type: "UCC: User Created Content"
author: "David Wedel"
author_url: "https://github.com/Davidwedel/Feed_By_Weight"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "David Wedel"
original_url: "https://github.com/Davidwedel/Feed_By_Weight"
published: "2025-12-15"
language: "en"
likes: 0
views: 263
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Weight Feeder Control System

> Run Agriculture feed system based off weight with ESP32 Lilygo

Original author: David Wedel (source: https://github.com/Davidwedel/Feed_By_Weight)

## Article

#### Project Overview

This project is an **automated weight-based feed control system** that combines
the **BinTrac weighing system** with an **ESP32 + W5500 Ethernet controller**.

Instead of relying on simple timed motor control, the system dispenses feed based on
**actual weight reduction measured in real time via Modbus TCP**.

Using a **sequential control strategy** (chain pre-run followed by auger operation),
the system ensures reliable feed delivery while preventing jams and empty runs.

By adopting **wired Ethernet communication (W5500)** instead of Wi-Fi,
the system is designed for **stable, long-term, unattended industrial operation**.

#### Core Hardware

| Component | Description |
| --- | --- |
| ESP32 | Main control MCU (state machine, scheduling, logic) |
| WIZnet W5500 | Ethernet controller (Modbus TCP client, Web UI, Telegram) |
| BinTrac Indicator | Load-cell-based industrial weighing device |
| BinTrac HouseLink HL-10E | Ethernet gateway exposing BinTrac data via Modbus TCP |
| 8-Channel Relay Board | Auger and chain motor control |
| Feed Auger & Chain | Physical feed delivery mechanism |
| 12V Power Supply | System power source |

#### System Architecture

The HL-10E acts as an **industrial gateway**, exposing BinTrac weight data
as **Modbus TCP registers over Ethernet**.

Using the W5500 Ethernet controller, the ESP32 operates as a
**Modbus TCP client**, retrieving weight data and executing feed control logic,
alarms, logging, and remote interfaces.

![](https://maker.wiznet.io/upload/ckeditor5/410858361%5F1766065618%2Epng)

#### Main Features

- Real-time weight monitoring (up to 4 bins)

- Weight-based feeding control (not time-based)

- Sequential chain pre-run and auger operation

- Up to 4 scheduled feedings per day

- Alarms for low feed rate, timeout, and sensor errors

- Web-based configuration and manual control

- Telegram notifications and status reporting

- Persistent feed history storage

#### Why W5500?

- Minimal latency and connection drops compared to Wi-Fi

- Reliable for long-running Modbus TCP communication

- Robust in noisy industrial environments

- Enables ESP32 to behave like a compact PLC-style controller

#### Applications

- Livestock automated feeding systems

- Silo and hopper material dispensing

- Agricultural and small-scale industrial automation

- Weight-driven process control systems

#### Summary

This project demonstrates a **practical, field-ready automated feeding system**
by combining industrial weighing equipment, Ethernet-based control, and robust safety logic.

---

#### Weight Feeder Control System

**ESP32 + W5500 기반 무게 연동 자동 급이 제어 시스템**

#### 프로젝트 개요 (Project Overview)

본 프로젝트는 **BinTrac 계량 시스템**과 **ESP32 + W5500 Ethernet**을 결합하여,
사료를 **시간이 아닌 “실제 무게 변화” 기준으로 자동 공급**하는 산업용 급이 제어 시스템입니다.

BinTrac HouseLink HL-10E은 **Modbus TCP 기반 무게 데이터**를 ESP32가 실시간으로 수집하고,
급여기 모터 구동의 **순차 제어 로직**을 통해 안정적인 급여를 수행합니다.

Wi-Fi 대신 **유선 Ethernet(W5500)** 을 사용하여
농장·축사·공장 환경에서도 **장시간 무인 운용이 가능**하도록 하였습니다

#### 하드웨어 구성

| 구성 요소 | 설명 |
| --- | --- |
| ESP32 | 메인 제어 MCU (상태 머신, 스케줄, 로직 처리) |
| WIZnet W5500 | Ethernet 컨트롤러 (Modbus TCP Client, Web UI, Telegram) |
| BinTrac Indicator | 로드셀 기반 계량 장치 |
| BinTrac HouseLink HL-10E | BinTrac 데이터를 Modbus TCP로 제공하는 Ethernet 게이트웨이 |
| 8-Channel Relay Board | 오거/체인 모터 제어 |
| Feed Auger & Chain | 실제 사료 공급 장치 |
| 12V Power Supply | 전체 시스템 전원 |

#### 시스템 구조 설명

![](https://maker.wiznet.io/upload/ckeditor5/410858361%5F1766065618%2Epng)

HL-10E는 BinTrac Indicator의 무게 데이터를
**Ethernet 기반 Modbus TCP Register**로 제공하는 **산업용 게이트웨이**입니다.

ESP32는 W5500 Ethernet 컨트롤러를 통해
HL-10E에 **Modbus TCP Client**로 접속하여 무게 데이터를 읽고,
이를 기반으로 급이 제어·알람·로그·원격 인터페이스를 수행합니다.

#### 주요 기능

- 실시간 Bin 무게 읽기 (최대 4개 Bin)

- 무게 기반 급이 제어 (시간 기반 아님)

- 체인 선행 구동 + 오거 동시 구동 순차 제어

- 하루 4회 자동 급이 스케줄

- 저유량, 타임아웃, 센서 이상 알람

- Web UI 기반 설정 및 수동 제어

- Telegram 알림 및 상태 조회

- 급이 이력 Flash 저장

#### W5500 Ethernet을 사용한 이유 (Why W5500?)

- Wi-Fi 대비 **통신 지연 및 끊김 최소화**

- Modbus TCP 장시간 운용에 적합

- 산업 환경(노이즈, 금속 구조물)에 강함

- ESP32를 **PLC에 가까운 제어 장치**로 활용 가능

#### 활용 분야 및 기대 효과 (Applications & Benefits)

- 축산 자동 급이 시스템

- 사일로/호퍼 기반 원료 공급

- 농업 및 소규모 공장 자동화

- 무게 기반 공정 제어 시스템

#### 요약

본 프로젝트는 **산업용 계량 장비 + Ethernet 기반 제어 + 안전 로직**을 결합한
실제 현장 적용이 가능한 **무게 기반 자동 급이 제어 시스템**입니다.

---

Source: https://maker.wiznet.io/Hannah/projects/feed-by-weight/
