Weight Feeder Control System
Run Agriculture feed system based off weight with ESP32 Lilygo
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.
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 | 전체 시스템 전원 |
시스템 구조 설명
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 기반 제어 + 안전 로직을 결합한
실제 현장 적용이 가능한 무게 기반 자동 급이 제어 시스템입니다.
