An oximeter is a device used to measure the oxygen saturation level in the blood, typically by attaching to a fingertip. It is a non-invasive tool that provides critical information about a person's respiratory function. Oximeters are commonly used in medical settings, fitness monitoring, and home health care to ensure that individuals maintain healthy oxygen levels.
Parameter | Value |
---|---|
Operating Voltage | 3.3V - 5V |
Operating Current | 20mA - 30mA |
Measurement Range | 0% - 100% SpO2 |
Accuracy | ±2% (70% - 100% SpO2 range) |
Display Type | LED or OLED |
Communication | I2C or UART |
Sensor Type | Photoplethysmography (PPG) |
Pin Number | Pin Name | Description |
---|---|---|
1 | VCC | Power supply (3.3V - 5V) |
2 | GND | Ground |
3 | SDA | Serial Data Line (I2C) |
4 | SCL | Serial Clock Line (I2C) |
Pin Number | Pin Name | Description |
---|---|---|
1 | VCC | Power supply (3.3V - 5V) |
2 | GND | Ground |
3 | TX | Transmit Data (UART) |
4 | RX | Receive Data (UART) |
#include <Wire.h>
#include "OximeterLibrary.h" // Replace with the actual library name
Oximeter oximeter;
void setup() {
Serial.begin(9600);
Wire.begin();
oximeter.begin();
}
void loop() {
if (oximeter.read()) {
Serial.print("SpO2: ");
Serial.print(oximeter.getSpO2());
Serial.print("%, Heart Rate: ");
Serial.print(oximeter.getHeartRate());
Serial.println(" bpm");
} else {
Serial.println("Failed to read from oximeter");
}
delay(1000); // Wait for 1 second before the next reading
}
No Readings or Erratic Readings
Inaccurate Readings
Communication Errors
Q1: Can I use the oximeter with a 3.3V power supply?
Q2: How often should I calibrate the oximeter?
Q3: Can the oximeter be used on other body parts?
Q4: What should I do if the oximeter is not responding?
By following this documentation, users can effectively utilize the oximeter for accurate and reliable oxygen saturation measurements.