This is an IoT project designed for monitoring the heart rate, oxygen level and temperature of an individual. The system consists of a MAX30100 sensor for detecting heart rate and oxygen level and a LM35 sensor for measuring temperature. The readings from the sensors are sent to a server using WebSockets protocol.
- MAX30100 sensor
- LM35 sensor
- OLED screen
- NodeMcu board
- WebSocketsClient library
- MAX30105 library
- heartRate library
- ESP8266WiFi library
- ArduinoJson library
- Connect the MAX30100 and LM35 sensors to the Nodemcu board.
- Install the required libraries (WebSocketsClient, MAX30100, heartRate, ESP8266WiFi, and ArduinoJson) in the Arduino IDE.
- Open the code in the Arduino IDE and upload it to the board.
- Power on the Nodemcu board and connect it to Wi-Fi.
- Place your index finger on the MAX30105 sensor with steady pressure.
- The system will detect the heart rate, oxygen level and temperature and send the readings to the server using WebSockets protocol.
- The server can be configured to display the readings on a dashboard or store them in a database for later analysis.
The following variables can be configured in the code:
ssid
: Your Wi-Fi network name.password
: Your Wi-Fi networkpassword.SERVER
: The IP address of the server.PORT
: The port number of the server.URL
: The URL of the server.TempPin
: The pin number of the LM35 sensor.
Project.demo.mp4
If the MAX30100 sensor is not detected, check the wiring and power supply.
If the Wi-Fi connection fails, make sure that the Wi-Fi network name and password are correct.
If the server connection fails, check the IP address, port number, and URL of the server.
If the heart rate and temperature readings are not accurate, check the placement of the MAX30105 sensor and the calibration of the LM35 sensor.
This code was developed by
- @Alaa Wahba
- @Mohamed Abdullhaleam
- @Mohamed Abdelzaher
- @Fareda Elsayed
- @Gehad Alaa
- @Roaa Gawish
- @Mohamed Khodary
- @Hagar Tarek
- @Islam Morgan
Feel free to use and modify the code for your own purposes.