If you’ve ever had a medical team investigating cardiac issues, you’ve probably had a bunch of electrodes stuck all over your chest and been hooked up to an electrocardiogram. This is the gold standard when it comes to understanding electrical activity in the heart and can diagnose a great many conditions. However, sometimes doctors just need the basic information—your pulse rate, and whether or not there’s actually any oxygen in your blood.
Thankfully, there’s a cheap and simple device that can offer that exact information. It’s the pulse oximeter, and it’s a key piece of equipment that’s just about vital for monitoring vitals. Let’s learn how it works!
Pump It
If you’re unfamiliar with pulse oximeters, they’re that little plastic thing that clips on your finger at the doctor’s office. The device places two LEDs on one side of your finger, and a photodiode on the other. With just these simple components, it’s possible to determine the percentage of your blood’s hemoglobin that is currently carrying oxygen. It’s also possible to discern pulse rate, which also comes in handy when you’re trying to determine a patient’s current status at a glance.

Pulse oximetery was the brainchild of Takuo Aoyagi, an electrical engineer at Nihon Kohden in Tokyo. In 1972 he was working on a non-invasive way to measure cardiac output using the dye dilution method, which involves injecting a tracer dye and watching how its concentration in the blood decays over time. He was reading that decay optically through an ear oximeter. These devices used red and infrared light passed through the ear tissue to determine blood oxygen levels, but required frustrating calibration to work properly and often required fussy steps like first squeezing blood out of the tissues prior to measurement. The problem was that early oximeters worked based on the total absorption of light, and were affected by things like the skin, tissue, and venous blood, when really the goal was to measure the oxygen levels in the arterial blood itself.
As Aoyagi worked with the device, he noted that the patient’s pulse kept showing up as an annoying ripple in the output. He spent some effort trying to cancel that ripple by balancing red and infrared signals against each other. Then he noticed that when a patient’s oxygen saturation dropped, the cancellation fell apart. This led to the realization that the ratio of how much red and infrared light was absorbed could be used to determine the oxygen saturation of the arterial blood.

It all comes down to the nature of blood itself. Hemoglobin comes in two flavours relevant here: oxyhemoglobin, which is carrying an O₂ molecule, and deoxyhemoglobin, which isn’t. They are different colours, which is why arterial blood is bright red and venous blood is darker. They absorb light differently, to the point that it’s actually clinically useful. At a wavelength of 660 nm (red)—deoxyhemoglobin absorbs noticeably more light than its oxygenated cousin. At around 940 nm (near-infrared), oxyhemoglobin absorbs more. Almost every pulse oximeter uses these two wavelengths; both penetrate tissue quite easily, and it’s easy to find LEDs that spit out these wavelengths.
Reading the blood oxygen level is relatively straightforward. The device will typically alternate the two LEDs on and off, many times a second, also including a third phase with both off so the photodiode can subtract out ambient room light as well. The photodiode sees light that has passed through an entire finger, including the skin, bone, fat, as well as the venous and arterial blood. Most of that doesn’t change from second to second, but the arterial blood does, with every pump of the heart. Thus, when sampling light from the infrared and red LED pulses, the photodiode puts out a signal that’s mostly a continuous level from light passing through the finger, with a little wiggly bit on top that throbs at a human pulse rate. That’s due to the pulsing of the arterial blood, and the frequency can be used to measure pulse rate. Meanwhile, the continuous component is removed by subtracting the trough of both the infrared and red signals from the peak, which solely leaves the component of light absorption due to the fresh arterial blood itself.

The level of oxygenation in the arterial blood itself can then be measured by comparing the ratio of red to infrared light picked up in this part of the signal. The light ratio is converted into an human-parseable number via a lookup table, based on the Beer-Lambert law of concentration of substances in a solution. The displayed number is flagged as “SpO₂.” The “p” stands for “peripheral,” to indicate it’s an optical measurement rather than determined directly with blood-gas measurement techniques. This distinction is important, as there are a range of conditions under which pulse oximetry readings can be inaccurate. At a very base level, pulse oximeters can get confused if a patient is moving while wearing the device, which makes the pulsatile signal itself less clear. The device also cannot tell carboxyhemoglobin from oxyhemoglobin, because they absorb light very similarly at 660 nm. Carboxyhemoglobin is the result of carbon monoxide entering the blood, so a smoke inhalation victim can display a high apparent SpO₂ figure while their blood is carrying very little oxygen. Nail polish and skin tone can impact the amount of light transmitted through the finger, impacting readings, while limited bloodflow to the fingers can also frustrate things.
It may not be perfect, but pulse oximetry is nevertheless very useful a lot of the time. It enables medical teams to get a near-instant look at a patient’s most vital signs in a completely non-invasive manner. The use of this technology has revolutionized both emergency care and surgery, where it has played a huge role in patient monitoring under anaesthesia. Plus, the simplicity of the device has made this critical medical insight accessible to anyone that can afford a $20 device with a few LEDs and a photodiode in it. It’s now even possible to track your oxygen saturation during sleep with an off-the-shelf smartwatch due to developments from this technology, helping aid in the diagnosis of complex conditions like sleep apnea. All because blood tends to pass light a little differently depending on how oxygenated it is. Sometimes you have to thank nature for those little conveniences.

I disassembled a disposable one from a hospital visit. The parts were made by NXP and I found an applications note:
https://www.nxp.com/docs/en/application-note/AN4327.pdf
That’s quite a rad datasheet!
I always ask to keep mine from the hospital, since they just tried them. The answer is always yes, but some are pretty curious why I’d even want it. One time the nurse said, “Of course, and I’ll do you one better! Just give me a sec…” He came back and handed me a brand new unit, fresh in the packaging. I thanked him, thought that was so cool!
The joke was on me when the hospital bill posted. Wasn’t hundreds of dollars or anything, but by far the most that I’ve ever paid for 2 cheap LEDs and a photodiode. Live and learn.
In the hospital we have fancy co-oximeters that still work for monoxide poisoned patients.
.
Absolutely the most annoying. Several of our sites upgraded and refurbished and put cool looking futuristic blue LED lighting it. It totally jacks with the pulse ox. The high tech solution is a torn open alcohol wipe wrapper (foil really) over the finger and sensor probe.
I’m not discounting your tale, but this is unbelievable. How could you just go and make arbitrary changes to how something works in a medical setting without testing and re-certification? And foil fixes it? I guess you mean that the foil is covering the sensor and LEDs that are attached to the finger and the blue LED is exterior to this? Is the blue light from the room? This sounds like a horrible hospital. I hope you’re not where I live.
They’re talking about the room lighting. Nobody is modifying the medical equipment! (And nobody is going through medical “testing and recertification” when replacing lightbulbs.)
^this. geez.
My profession is one that the vast majority of the population really needs but I promise you, you and I both pray we don’t meet professionally. Think divorce lawyer, police homicide detective, special victims unit, IRS auditor or in my case adult and pediatric trauma room. You are presumably a grown up so you would be brought to me, like it or, maybe, not. And I promise worrying about “arbitrary changes to how something works” however massively misguided, will be way down on your list of worries at that point.
Best.
Was this skin tone factor the thing they failed to test with a whole race?
Be wary of the cheapo meters that give fake numbers. A few are listed on the product recall sites.
My SpO2 number does nothing of value, who knows if they are calibrated.
Problem with the red/IR pair is that it has problems with some darker-complected folks. There’s a red/green pair (probably the one you’ve seen on your smart watch) that mostly gets around this, but there are patent/licensing/validation issues keeping them from being the medical standard.
Photoacoustic Oximetry
https://pmc.ncbi.nlm.nih.gov/articles/PMC6377872/
Microwave/Millimeter-Wave Oximeters
https://pubmed.ncbi.nlm.nih.gov/34892805/
Fluorescence-Based Oximeters
https://interestingengineering.com/health/fluorescence-quenching-oxygen-blood-tests
Raman Spectroscopy in Oximetry
https://www.mdpi.com/2813-446X/3/1/6
This – THIS – is why I love Hackaday. Thank you!
Photoacoustic Oximetry
https://pmc.ncbi.nlm.nih.gov/articles/PMC6377872/
Microwave/Millimeter-Wave Oximeters
https://pubmed.ncbi.nlm.nih.gov/34892805/
Fluorescence-Based Oximeters
https://interestingengineering.com/health/fluorescence-quenching-oxygen-blood-tests
Maxim made (still makes?) a chip a few years ago that would not only do SPO2 but also pressure. I don’t believe that it was certified for clinic work. But it worked well (matched arm cuff) in my product.
About 5 years ago.
Frank Herbert wrote a novel about submarine warfare called Dragon in the Sea. They had wearable blood gas monitors called “vampire gauges” that worked similar to the modern blood-glucose wearable monitors we have today.
Right now the invasive blood gas monitors we have are rather bulky and not robust enough to tolerate being worn on an active user.
I’d happily tolerate a hair-fine needle stick every dive if it could give me more accurate dissolved N2 measurements. Navy dive tables are great but they still leave a lot of room for error. Helium displacement works but man is the process sketchy and lethal if you get the manifold order wrong.
Maybe a medical cuff that used a combination of ultrasound and short wave radar to measure gas bubbles? Nuclear Quadrupole Resonance? Damnit Jim, I need a tricorder!