Introduction: DIY Blood Oxygen Meter
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.
- Esp32 Wroom 32D
- Max 30102 Oximeter Sensor
- BreadBoard
- Jumper Cables
- 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)
- Connect GND of ESP board to GND of Max30102 sensor.
- Connect 3v3 of ESP board to Vin of Max30102 sensor.
- Connect Pin 22 of ESP board to SDA of Max30102 sensor.
- 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:
- Create a new project & give it a name.
- Select board as ESP32 developer board.
- Now add two widgets; Gauge & Labeled Value.
- Edit the Gauge setting: Change the Pin as Virtual V4 & value from 0 to 100.
- 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.
Attachments
1 Person Made This Project!
- h-m340 made it!
17 Comments
2 years ago
Recently made the same compact device.
Reply 3 months ago
Can you share your schematic and source code?
Reply 2 years ago
It's really amazing. Thanks for helping.
1 year ago
what about calibration? How to calibrate or check if the values are correct
Question 2 years ago on Introduction
I have connected everything as shown. Still my sensor isn't turning on. Also blynk app is getting disconnected immediately.
Answer 1 year ago
Can you share any image of your circuit & blynk configuration?
1 year ago
I have tried out this project including the heart rate sensor of the MAX30102. It works perfectly on its own. However, the heart rate values do not show up as soon as I connect it to the Blynk app. Might you know how to solve this issue?
2 years ago
Now we can beat Covid in home!
Question 2 years ago
I have only done a few arduino projects and no wireless IOT projects so I can't figure out this error that keeps pulling up. I have been on multiple forums looking at similar things. Can someone help me solve 'red' has not been declared.
Answer 2 years ago
There is a space after red and before the comma(,)in the highlighted line.
Remove that. If that doesn't help, try adding it on the very top of your code :
uint32_t red;
Reply 2 years ago
Like I said I am a beginner and I just did that but now it says 'red' is not a type. Could you help me on this.
Reply 2 years ago
Can you send the code?
Please mail to randomstuffwemake@gmail.com
Question 2 years ago
Where is the power supply (battery)? Thanks!
Answer 2 years ago
It's powered up by USB. You can also add one power bank to power it.
2 years ago
Is there a 3d printable case for this. I just made 25 for my medical staff and thought there might be a case in the ethos for this.
BTW it is pretty accurate vs the $100 ones my team carries
Reply 2 years ago
Hello Carltonwb, First of all, thank you for helping others in this hour of need. We currently don't have any 3D print case available. But we can make one for you. Please send us a picture of your setup & we will provide you with the case.
Email: randomstuffwemake@gmail.com
Whatsapp: +917206309670
2 years ago
Follow us on Instagram for more cool projects @https://www.instagram.com/random_stuff_we_make/