M5stick C - Rasp Pi integration with MQTT
nirvana07 last edited by nirvana07
I am currently working on a project which has facial recognition job on Raspberry Pi. But now, I am looking forward to connecting it with M5stick through MQTT. The main goal is to get a notification and an image to be displayed on M5Stick.
Basically, the steps involved in establishing a link between Pi and ESP-32 through MQTT.
Can anyone guide me on the same? I am a newbie here and looking for as much information as possible.
jhfoo last edited by
@nirvana07 I would suggest you:
- First learn about writing normal Python code to learn, test, and validate your MQTT server setup.
- Use uiflow blockly to draw out your MQTT code, and flip to the Python tab to see the auto generated code. Make changes as needed.
No free lunch here. As newbie you should be prepared to invest time into this.
qlion last edited by
Install mqtt in the pi
Setup a Python app with a mqtt client on the pi
Setup mqtt client on your M5Stick
This should be a good start to get mqtt connected on the both devices.