Introduction: DIY Blood Oxygen Meter

About: Bringing Fiction to Reality.

In 2020, the world faced an invisible monster named Corona Virus. This Virus made people very sick & weak. Many people lost their good ones.

There was a big problem initially, the problem was the unavailability of proper medical equipment like the monitors to check the blood oxygen levels, ventilators & disinfectants. In this hour of need, we felt that we could help everyone to teach them how to make a DIY Blood Oxygen Meter. This Instructable is dedicated to the soldiers, Doctors & all government officials who helped us throughout 2020.

Step 1: Gather the Material

All the material mentioned here is easily available in your local market as well as online stores.

  1. Esp32 Wroom 32D
  2. Max 30102 Oximeter Sensor
  3. BreadBoard
  4. Jumper Cables
  5. Blynk App in smartphone

Step 2: Introduction

This is a DIY project to create a homemade solution for monitoring the blood oxygen level of an individual. The cost of this project is less than 15$.

The main component of this project is:

Max30102 Oximeter Sensor: The MAX30102 is an integrated pulse oximeter and heart rate monitor biosensor module. It integrates a red LED and an infrared LED, photodetector, optical components, and low-noise electronic circuitry with ambient light suppression. - The MAX30102 features a 1.8V power supply and a separate 5.0V power supply for internal LEDs for heart rate and blood oxygen acquisition in wearable devices, worn on the fingers, earlobe, and wrist.

We will be connecting our sensor with the ESP32 board to take inputs & show the monitored oxygen level in Blynk app on our smartphone.

Step 3: Making the Connections

There are few connections only, viz; (Refer to the connections from the circuit image)

  1. Connect GND of ESP board to GND of Max30102 sensor.
  2. Connect 3v3 of ESP board to Vin of Max30102 sensor.
  3. Connect Pin 22 of ESP board to SDA of Max30102 sensor.
  4. Connect Pin 21 of ESP board to SCL of Max30102 sensor.

Once the connection is complete we can move to set up the Blynk project.

Step 4: Setting Up the Project in Blynk

You need to install the Blynk app on your smartphone. Create one account or login if already created.

Follow the steps:

  1. Create a new project & give it a name.
  2. Select board as ESP32 developer board.
  3. Now add two widgets; Gauge & Labeled Value.
  4. Edit the Gauge setting: Change the Pin as Virtual V4 & value from 0 to 100.
  5. Edit the Labeled value: Change the label as "Blood Oxygen %".

Step 5: Let's Code It

The code attached here is complete. You just need to make some changes according to your "Blynk Auth Token" & Wifi Settings. Upload it with Arduino IDE.