Engineers Garage

  • Electronics Projects and Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe

What is an oximeter?

By Usman ali Butt September 15, 2020

An oximeter is a device that measures the amount of oxygen carried by the red blood cells. Blood oxygen level has a certain threshold limit for good health. If the level shots or depreciate the threshold, one might be caught by multiple diseases. Adults and infants are rarely short of oxygen, but oxygen depreciation is common in the older age group.

The traditional method of measuring blood oxygen level is by aerial blood gas (ABG) test. In this method, a sample of your blood is extracted from your body then placed in special equipment with rotates the blood at a fixed speed. ABG normally takes a few hours for the result declaration.

New techniques of oxygen test in the blood are under development and study. The most promising so far is pulse oximetry. It’s a noninvasive method in which light at a certain wavelength is passed through the human flesh. A photodiode is used to measure the amount of light which is digested by the blood. This method has an error ratio of 2 percent. One must ensure that the flesh has no color markings such as tattoos etc. because dark colors also absorb light.

Small scale and DIY oximeters are available in the market, interfaced with low-end controllers for DIY projects. SparkFun Electronics offers one such. It comes mounted on a small board. The user needs to place and press his finger on the sensor module to read from it. Communication with external controllers is done on the I2C protocol. I2c address for this sensor is set at 0x55 hex.

We will interface this module with Arduino nano. Arduino nano is 3.3 volt tolerant, and the above oximeter is also 3.3 volt tolerant. There are two more pins present on the sensor one reset, and another one is MFIO. The reset is active low and resets the module.

MFIO is an important pin. It puts the module in data acquisition mode. Actually, the module is composed of two IC’s. One is MAX3010, which is an actual oximeter and heart rate monitoring sensor. The second one is MAX32664, and it is responsible for converting the data received from the prior sensor. Hub is comprised of a cortex M4 microcontroller which receives data from MAX3010 apply conversion algorithm on it and outputs data to the external controller.

The circuit diagram of the project is above. I2c interface pins are present on A4 and A5 pins of Arduino nano. Digital pins 4 and 5 are of Arduino nano are used for reset and MFIO purposes. The sensor board is powered through the Arduino nano 3.3v power out pins.

Coming to the code part, I first imported the SparkFun sensor hub library. The library makes much of the things easier. With the library, we also need to download the wire library, which initializes the I2C interface.

Then I defined variables for Arduino pins. The pin’s names/numbers must be passed to the hub library to properly initialize HUB IC (MAX32664). Next, a variable named body of type biodata is declared. This variable talks with the sensor IC (MAX3010).

In the setup loop first, the serial monitor of Arduino begins at 115200 bps. Then the I2C pins are activated. Next, the Hub is begun, and its status is analyzed for any possible errors (result variable).

Now it’s time initialize the sensor. bioHub.configBPM() function is initializing the sensor module. A variable named MODE_ONE is passed in the function. I will discuss the variable later. After proper sensor initialization, it’s better to give it some rest for stabilization. A 4-second delay is inserted.

In the main loop, Data is read through the sensor module. The sensor passes data to the HUB, and HUB prepares data for the external controller. HUB prepares heart rate, oxygen level, confidence in data, etc. The external controller can put the reading request at any instance.

Coming to the mode part in bio HUB configuration. There are two modes for this module. Each mode computes some kind of parameters (Nothing more explained by the SparkFun).

Mode one computes

Mode two computes

All the above parameters can further be explored by visiting sparkun electronics website.

Let’s DIY the above project: Where to purchase parts?
Arduino: Mouser
SparkFun oximeter: Mouser


Filed Under: Microcontroller Projects

 

Next Article

← Previous Article
Next Article →

Questions related to this article?
👉Ask and discuss on Electro-Tech-Online.com and EDAboard.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

EE TECH TOOLBOX

“ee
Tech Toolbox: Internet of Things
Explore practical strategies for minimizing attack surfaces, managing memory efficiently, and securing firmware. Download now to ensure your IoT implementations remain secure, efficient, and future-ready.

EE Learning Center

EE Learning Center
“engineers
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


RSS EDABOARD.com Discussions

  • Disappearing clock
  • How to best test Electrolytic capacitors for premature failure reduced life?
  • 12VAC to 12VDC 5A on 250ft 12AWG
  • TMP117 > Can not read temperature on LCD
  • LDO simulation by pcb

RSS Electro-Tech-Online.com Discussions

  • LED circuit for 1/6 scale diorama
  • Electronic board faulty?!?
  • Is there a Power Bank that can also be charged with electricity?
  • applying solder paste from a jar
  • Did a Buyer Kill My Amp?

Featured – Designing of Audio Amplifiers part 9 series

  • Basics of Audio Amplifier – 1/9
  • Designing 250 Milli Watt Audio Power Amplifier – 2/9
  • Designing 1 Watt Audio Power Amplifier – 3/9
  • Designing a Bass Boost Amplifier – 4/9
  • Designing a 6 Watt Car Audio Amplifier – 5/9
  • Design a low power amplifier for headphones- 6/9

Recent Articles

  • Sienna Semiconductor data converters feature sample rates from 20 to 250 Msps
  • Delta’s 5,500 W power supplies achieve 97.5% energy efficiency for AI servers
  • Novosense Microelectronics releases digital isolators with capacitive-based design
  • MIPI C-PHY adds encoding option to support next-gen image sensor applications
  • Littelfuse gate driver delivers 1.9 A source and 2.3 A sink output current

EE ENGINEERING TRAINING DAYS

engineering

Submit a Guest Post

submit a guest post
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • Battery Power Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • Subscribe to our newsletter
  • About Us
  • Contact Us
  • Advertise

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy

Search Engineers Garage

  • Electronics Projects and Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe