whilemind / MAX30100u

max30100 heart rate and oxygen sensor driver in python
MIT License
2 stars 1 forks source link

How can Rpi read the MAX30100 Pulse Oximeter and Heart Rate Sensor with Raspberry Pi? #1

Open amin13742020 opened 4 years ago

amin13742020 commented 4 years ago

I'm trying to read the sensor with Raspberry Pi 3.I'm trying to read the sensor with Raspberry Pi 3. When I run the code (test_max30100.py). It returns zero values and the flash sensor max30100 turns red. I activated I2C.max30100 device address 0x57 is detected. connection PINS GPIO and sensor max30100 (3.3V -VIN) (I2C SDA1 - SDA) (I2C SCL1 - SCL) (PIN7 - INT ) (GND - GND)

What is the reason for displaying zero(0) ?

whilemind commented 4 years ago

Did you enable the I2C service in Rasberry Pi 3? You can do it from "sudo raspi-config" command from console and then follow the screen instruction. After enabling the I2C server then try the max30100 test.

amin13742020 commented 4 years ago

Did you enable the I2C service in Rasberry Pi 3? You can do it from "sudo raspi-config" command from console and then follow the screen instruction. After enabling the I2C server then try the max30100 test.

I i2c activated.max30100 test. The problem is still there.