---
title: "MQTT Client on W5500 + STM32"
url: "https://maker.wiznet.io/louis_m/projects/mqtt-client-on-w5500-stm32-1/"
markdown_url: "https://maker.wiznet.io/louis_m/projects/mqtt-client-on-w5500-stm32-1/md"
type: "UCC: User Created Content"
author: "eXtreme Electronics"
author_url: "https://www.youtube.com/watch?v=uBc6TSgYrW4&t=1s"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "eXtreme Electronics"
original_url: "https://www.youtube.com/watch?v=uBc6TSgYrW4&t=1s"
published: "2023-07-31"
language: "en"
hardware: ["WIZnet W5500", "STMicroelectronics NUCLEO-F103RB"]
likes: 1
views: 661
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# MQTT Client on W5500 + STM32

> MQTT Client on W5500 + STM32

Original author: eXtreme Electronics (source: https://www.youtube.com/watch?v=uBc6TSgYrW4&t=1s)

## Components

- **WIZnet W5500** x 1 ([docs](https://docs.wiznet.io/Product/Chip/Ethernet/W5500))
- **STMicroelectronics NUCLEO-F103RB** x 1 ([docs](https://www.st.com/en/evaluation-tools/nucleo-f103rb.html))

WIZnet parts: W5500 ([Datasheet](https://docs.wiznet.io/Product/Chip/Ethernet/W5500/datasheet?utm_source=maker&utm_medium=project&utm_campaign=w5500), [product hub](https://maker.wiznet.io/products/w5500/))

## Article

Here I am showing my demo of MQTT Client running on STM32F051 and W5500 as Ethernet device. The MQTT Client is based on Paho open source MQTT Client. I have ported it for STM32 and W5500. From my client I am publishing a message every second to a topic. And on My Android phone I am using MyMQTT to subscribe to the same topic so that I can view the messages there.

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

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

---

Source: https://maker.wiznet.io/louis_m/projects/mqtt-client-on-w5500-stm32-1/
