Simple MQTT example made for university project showcasing control and monitoring via lightweight MQTT protocol with multiple controllers and monitors.
 
 
Go to file
esensar fffbe99d4d Initial commit 2017-12-26 02:05:19 +01:00
targetConfigs Initial commit 2017-12-26 02:05:19 +01:00
.gitignore Initial commit 2017-12-26 02:05:19 +01:00
README.md Initial commit 2017-12-26 02:05:19 +01:00
simple-mqtt-msp432-example.ino Initial commit 2017-12-26 02:05:19 +01:00

README.md

Simple MQTT MSP432P401R example

Simple MQTT example made for university project with Dino Dizdarević.

Relies on a wifi connection which needs to be configured in code (ssid and password are hardcoded) and on Energia IDE. If everything is set up properly, device will try to connect to the MQTT server. If it fails, secondary LED will light up red.

After connection to MQTT server is made, device will publish rssi to the server every 5 seconds and it will also publish button presses. It will subscribe to topics which allow turning on 3 leds (red, green and blue). It will also subscribe to topic which allows the error led to be cleared.

This project is just a simple representation of a very simple control/monitoring via lightweight MQTT protocol.