Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

Simple MQTT example made for university project showcasing control and monitoring via lightweight MQTT protocol with multiple controllers and monitors.

License

Notifications You must be signed in to change notification settings

esensar/simple-mqtt-msp432-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple MQTT MSP432P401R example

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

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

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. For a simple MQTT broker, Mosquitto was used.

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.

Simple MQTT monitor written in Python is included in the repository to connect to broker and monitor the device. Monitor will automatically publish led controls based on button presses received from the device. It is written in for Python2.x and relies on paho-mqtt library.

About

Simple MQTT example made for university project showcasing control and monitoring via lightweight MQTT protocol with multiple controllers and monitors.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages