Urgent.News

What's breaking now, across thousands of outlets.

Tech

Building an Industrial HMI and Edge Controller on STM32 with FreeRTOS and Modbus TCP

Building an Industrial HMI and Edge Controller on STM32 with FreeRTOS and Modbus TCP Industrial control demos are often judged by the screen. The more useful question is whether the firmware, HMI and simulated process all explain the same state transition. SLX FlowControl is a demonstrator built on an STM32H750B-DK. It combines a FreeRTOS control task, an LVGL touch HMI, a Modbus TCP/IP server…

The article discusses the development of an industrial HMI and edge controller on an STM32 microcontroller using FreeRTOS and Modbus TCP. The project, called SLX FlowControl, aims to demonstrate the behavior of a buffer tank system by simulating a real-world process. The system incorporates a FreeRTOS control task, an LVGL touch HMI, a Modbus TCP/IP server, and a Factory I/O Fill Tank digital twin.

The main objective is to allow behavior testing before connecting a physical machine, ensuring that commands, field demand, automatic control, conflicts, alarms, and recovery are treated as explicit machine states rather than special cases. The architecture consists of a periodic FreeRTOS control task running every 100 ms, with Factory I/O acting as a Modbus TCP client and the STM32 acting as the server.

The Modbus map separates measurements, field commands, valve outputs, and diagnostics. The LVGL dashboard provides a comprehensive view of the system's state, including alarms, process views, controls, session recipes, diagnostics, setup, and more. The demonstrator focuses on testing a complete operational sequence, such as the controller starting in STOPPED mode, handling field requests for fill or discharge, and returning to the AUTO mode when both commands are released.

The HMI is designed to explain the controller's behavior rather than just displaying alarms, with alarm pages providing severity, context, cause, required action, and a guided reset path. The article also highlights that SLX FlowControl is not a substitute for risk analysis, hardwired safety functions, physical-process validation, authenticated access, OT firewalls, or persistent production logging.

Brief written by urgent.news from Dev.to's own syndicated text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Building Roamstead: How Google Cloud Helped Me Create a Collaborative Housing Agent for Southeast Asia

Moving to another country can unlock a better quality of life, lower housing costs, and a new sense of possibility. But finding a home across borders is much harder than opening a real estate website…

  • Roamstead platform assists in finding housing abroad in Southeast Asia.
  • Google Cloud enabled Roamstead's creation as collaborative agentic system.
  • Platform presents curated catalog of 240 real property listings across three cities.

What Wallet Popups Don’t Tell You: A Developer-Friendly Guide to Web3 Permissions

A polished “Connect Wallet” button can make a Web3 app feel simple. One click, one popup, one confirmation. But the popup is only the final step of a much larger decision.

  • Wallet popups often conceal complex actions behind simple connection buttons.
  • Developers must distinguish request types clearly in user interfaces.
  • Strong Web3 products prioritize transparency and user understanding.

More from Sunday 30 August →