RP2040 Ethernet HAT MQTT[Mosquitto] Publisher/Subscriber
RP2040 Ethernet HAT MQTT[Mosquitto] Publisher/Subscriber
3
Project description
MQTT?
- Lightweight message protocols created for use in M2M and the Internet of Things.
It works on TCP.
- It consists of a <Broker><Publisher><Subscriber> structure rather than a <Server> and <Client> structure.
<Publisher> issues Topic.
<Subscriber> subscribes to Topic.
<Broker> serves as a relay and is suitable for 1:N communication.
![RP2040 Ethernet HAT MQTT[Mosquitto] Publisher/Subscriber, MQTT?](https://blog.kakaocdn.net/dn/5po7r/btrgwDuJxkJ/j7MX1n5dyVRXkqcl3S7fjk/img.png)
WIZnet Circuitpython Link – https://github.com/Wiznet/RP2040-HAT-CircuitPython
![]()
WIZnet github code Upload to RP2040
From WIZnet github, take the file inside the library and copy it to the lib folder inside the Pico.
and MQTT/PubSub/W5x00_MQTT_pubsub.py file to code.py in Raspberry Pi pico.
![]()
Run MQTT mosquitto broker and client connect
![]()
Execution Video Link