9 / 11 / 2024
Project Tasks
Task 1: Basics of MATT Protocol (Message Queuing Telemetry Protocol)
1. It is an ideal protocol for low-bandwidth, high latency.
2. It is specialized for low-bandwidth, high latency, lightweight.
3. Application-layer protocol.
4. It is designed for machine-to-machine communication and IoT.
5. It was developed by IBM and Eurotech.
6. It communicates through a message broker, no direct connection between publishers and receivers.
7. It is a public subscribe-based messaging protocol.
Advantages
Low network usage.
Low power usage.
Lightweight and easy to implement.
Applications
Home and factory automation.
Transport and logistics.
Task 2: Creating Website
I have created a toggle button using HTML, CSS, and JavaScript. It switches color on clicking the button by using if-else statements for light mode and dark mode.
Task 3: Simon Says
Using ESP32 and Arduino code, LEDs randomly blink, and based on that, the user has to click push buttons. It is a memory game. If the user fails, then the game restarts.
Task 4: Sending Data to ThingSpeak
I first created an account on ThingSpeak and used an API key from ThingSpeak. The data is transferred from ESP32 to ThingSpeak, and a graph is plotted using MATLAB. I learned about ESP32 and temperature sensors.
Task 5: Soil Moisture
Using ESP32 and a capacitive sensor, I measured the moisture level of my palm. This can be used in a smart irrigation system and help in water conservation.
Task 6: Morse Code
Using LED and ESP32, code is uploaded to ESP32. The LED blinks when a specific letter is displayed that is mentioned in the code. It can be used to indicate a specific change occurring.
Task 7: Communicating Using I2C
Some data is sent from ESP CAM to Arduino. The Arduino acts as the master, and ESP acts as the slave, and the message is displayed on the serial monitor.
Task 8: Subscribe and Publish Using MQTT
A circuit is built using ESP32 and 3 LEDs. Code is uploaded to ESP32, and LEDs are controlled using MQTT.
Task 9: Read and Display Vitals
Using the MAX30100 sensor, heart rate and oxygen level are measured. It is displayed on MIT APP INVENTOR, which gives notifications to the user if the heartbeat rate and oxygen level are out of range.