This project demonstrates a compact IoT-Based SpO2 and Pulse Oximeter built using the MAX30102 pulse oximeter sensor, ESP8266 microcontroller, and an OLED display. It measures blood oxygen saturation (SpO2) and heart rate, displaying the values in real-time on an OLED screen. The ESP8266’s wireless capabilities open the door for IoT integration, making it suitable for remote monitoring systems.
- Accurate measurement of SpO2 and heart rate.
- Real-time display of results on an SSD1306 OLED.
- Designed for DIY enthusiasts and health monitoring systems.
- Compact, affordable, and extendable for wireless IoT applications.
- ESP8266 Microcontroller
- MAX30102 Pulse Oximeter Sensor
- SSD1306 OLED Display (128x64 pixels)
- Jumper Wires and Breadboard
- Arduino IDE
- Required Libraries:
- DFRobot_MAX30102
Wire (Arduino’s built-in library)Adafruit_GFXAdafruit_SSD1306
The program configures the MAX30102 sensor to measure SpO2 and heart rate. The data is displayed on an SSD1306 OLED screen. Key features include:
- Sensor initialization and configuration for optimal accuracy.
- Real-time validity checks for SpO2 and heart rate data.
- OLED display messages prompting user interaction.
Refer to the full code in the repository: IoT-Based SpO2 and Pulse Oximeter.
- Set up the circuit as per the circuit diagram.
- Install the required libraries in the Arduino IDE.
- Upload the provided code to the ESP8266 board.
- Power the system and place your finger on the MAX30102 sensor to measure SpO2 and heart rate.
- View the results on the OLED display.
This project is licensed under the MIT License.


