Skip to content

STM32 + W5500 MQTT Client — Industrial MODBUS IoT Gateway (WNR-MB-SEDE1)

STM32F103C8T6 Blue Pill + WIZnet W5500 Ethernet: MQTT communication test for an industrial MODBUS IoT gateway project built with STM32CubeIDE and HAL.

irina

Published March 19, 2026 · © Apache License 2.0 (Apache-2.0)

Original author: Jose VasquezOriginal source (new tab)

STM32 + W5500 MQTT Client — Industrial MODBUS IoT Gateway (WNR-MB-SEDE1)

Components

Hardware components

WIZnet parts

Project description

Overview This project is an MQTT communication test firmware for an industrial IoT gateway called WNR-MB-SEDE1. It runs on a STM32F103C8T6 (Blue Pill) microcontroller paired with a WIZnet W5500 Ethernet module, enabling MODBUS field data collected at Site 1 (SEDE 1) to be published to an MQTT broker over wired Ethernet. The project is developed using STM32CubeIDE and the HAL library, with the MCU configuration managed through STM32CubeMX. Hardware connection The STM32F103C8T6 communicates with the W5500 via SPI1, providing reliable wired Ethernet connectivity. USART2 is used for serial debug…

Keep reading with a free account

Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.