Back

IoT Health Monitoring System

Web Design & Data Collection
Project Overview
The IoT monitoring system is designed to read real time sensor data of ambient temperature, body temperature, oxygen levels and heart rate levels to display on a graphical user interface. The data transmission is communicated with the ESP24 and raspberry pi 4B that is pushed into Node server.


Block Pathway Integration
The Block diagram describes the system in operation. Raspberry Pi 4B powers and runs the ESP24 chip. The connection from ESP24 to Node server uses a communication protocol like WebSocket. MQTT is integrated to get readings for different vitals and pushed into the server, to be displayed on a GUI.

1. Create a Node.js server and set up WebSocket endpoints to handle ESP24 connection
2. Program firmware for ESP24 with Arudino IDE
3. Use MQTT broker and connect client to same ESP24
5. Verify if ESP24 is publishing data to MQTT, and if Node.js server is subscribed to MQTT client to receive data.

The connection of TX pin for the ESP24 to GPIO 15 of raspberry pi, then connect the RX pin of ESP24 to GPIO 14 of the raspberry pi.  Power the ESP24 through 5V of the pi and connect both devices to the same ground. Then configure the raspberry pi 4B through pyserial and ESP24 using UART communication.  

The monitoring screen displays three primary source of information; patient details, system details and vital signs. The dashboard displays data of the human anatomy to correlate the ambient temperature, body temperature, blood pulse and heart rate of the patient. On the top right corner there is a sign out button to log off the system.