Øivind Heggland

Optimizing Land-Based Fish Feeding with Node-RED

Can a Raspberry Pi replace a legacy PLC in a critical industrial system? This talk details the architecture of a resilient, automated fish feeding solution built with Node-RED.

Optimizing Land-Based Fish Feeding with Node-RED
#1about 3 minutes

An overview of the automated fish feeder hardware

The system uses a Raspberry Pi to control a Yaskawa motor driver via Modbus, automating daily fish feeding based on various parameters.

#2about 5 minutes

Evolving the control system from PLC to mini PC

The initial PLC-based system was replaced with a more flexible Raspberry Pi and eventually a powerful mini PC to overcome debugging and control limitations.

#3about 2 minutes

Understanding the end-to-end fish feeding process

Food is transported from silos, measured by weights, and moved via a chain conveyor system to individual feeder hoppers.

#4about 4 minutes

System architecture with AquaFeeder and AquaMaster roles

The architecture is split between the AquaFeeder for individual tank control and the AquaMaster for overall logistics and UI.

#5about 7 minutes

A deep dive into the AquaFeeder's Node-RED logic

The feeder's Node-RED flows handle configuration, statistics, and an automated recovery process for SD card failures using its MAC address.

#6about 4 minutes

Managing logistics with the AquaMaster Node-RED core

The AquaMaster uses a queue worker in Node-RED to manage empty feeders, control weights, and communicate with the Blazor UI via an embedded MQTT broker.

#7about 3 minutes

Containerized development workflow and UI demonstration

The development environment is containerized using Docker and integrated with Azure DevOps for CI/CD, with a simulator for testing the Blazor UI.

#8about 4 minutes

Evaluating Node-RED for industrial IoT applications

Node-RED provides stability and rapid visual debugging for IoT, but challenges like fleet updates and comprehensive testing remain.

#9about 3 minutes

Key design principles for reliable edge systems

Lessons learned include prioritizing edge-first control, separating responsibilities for fallback, and standardizing deployments with containers.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

Related Articles

View all articles

From learning to earning

Jobs that call for the skills explored in this talk.