IoT Temperature and Humidity Sensor Real-Time Monitoring System
This project uses MQTT with Raspberry Pi, NodeMCU, and ESP8266 to implement a basic IoT system for remote real-time temperature and humidity monitoring.
Abstract
The goal of this project is to use low-cost devices such as Raspberry Pi to implement remote real-time monitoring. Raspberry Pi acts as the MQTT Broker, while NodeMCU works as the IoT Client. Sensor data and control messages are exchanged through MQTT publish / subscribe flows.

System Architecture
| Main Components | Function Description |
|---|---|
| Raspberry Pi 3 | Acts as the MQTT Broker and main controller; Python handles publish / subscribe flows. |
| NodeMCU | Works as the sensor-side node and communicates with the MQTT Broker through Arduino code. |
| ESP8266 | Provides Wi-Fi connectivity between the embedded device and the network. |
| MQTT Protocol | Uses a publish / subscribe model, suitable for lightweight devices and simple real-time messaging. |
System Flowchart

Final Results
