Blog 3 - MQTT
Blog 3 -MQTT
Arthur Bilyk - 20097938
Week 2 -
MQTT is a standardized messaging protocol designed for machine-to-machine communication. It is commonly used by smart sensors, wearables, and other IoT devices that operate on networks with limited bandwidth. Due to its lightweight design and ease of implementation, MQTT efficiently transmits data between IoT devices. It enables communication both from devices to the cloud and from the cloud back to the devices.
https://aws.amazon.com/what-is/mqtt/
For this lab we were tasked to setup an IoT MQTT panel using an app of that same name, to send and receive messages from our Micro:Bits.
First I setup a 'debug' panel which displayed the raw JSON payload, allowing me to verify the format was correct and that it was receiving all of the micro:bits. I could then setup gauges to corresponding micro:bits using the JSON payload to view their rotation. I then added a slider which moved from 0 - 255 which i could then use to send a number to one of the micro:bits depending on what jsonpath I stated. I also added a HRV Trend graph which would show what inputs were being sent to the micro:bit.
I really enjoyed this lab, it was really interesting watching the micro:bits communicate wirelessly with each other. I would also love to explore the possibility to wirelessly stream video with a camera and the micro:bit.
For my idea I want to explore integrating MQTT with IFTTT. My idea is to configure my micro:bit to send an email notification whenever the micro:bit is rotated. This would demonstrate a real world application of IoT automation, where device movement triggers an action, such as an alert or message.
Week 3 -
For my IFTTT project, I built a functional compass using a micro:bit and a Cloud Board. The goal was to trigger an email notification whenever the micro:bit points north, this was all powered by IFTTT and webhooks. This project showcases how hardware and cloud automation can work together seamlessly, making it a very interesting way to explore IoT concepts.
Future additions to this project would be the ability to also see the bearing displayed on the LED screen.


Comments
Post a Comment