MQTT Progress Update

For the past couple weeks, I’ve been able to make serious progress with MQTT. It’s gotten to the point where I’m able to properly send and and listen to MQTT messages!

This was a major milestone in the M5 MQTT project, as this is the main communication backbone for the rest of the project. Once this was setup, I quickly setup a python program that would also be an MQTT client. This program also included a PostgreSQL database, which allowed it to save the MQTT data.

A look at the PgAdmin panel, with some of the data for the project filled in.

Currently, each reader follows the procedure of
1. starting up
2. Broadcasting a pre programmed ID to the MQTT database
3. Checking to see if the ID is available for use
4. starts to scan for RFID badges.

I’m hoping to stress test this more, as I’ve already been catching different bugs with my code. One example, is that the reader doesn’t know what to do once it disconnects from the MQTT network. Fixing stuff like this will ensure a smooth experience for the M5 Members!

Previous
Previous

The Drawings of M5

Next
Next

Making JLCPCB mad at me