m5stack / M5Stack

M5Stack Arduino Library
MIT License
1.22k stars 433 forks source link

MAX30010 issues when connected to PaHub #324

Open YonatanAmir1996 opened 11 months ago

YonatanAmir1996 commented 11 months ago

Hi, In case of multiple I2C devices which one of them is MAX30010, making issues with MAX30010 device, such that the results are invalid, note that the I2C addresses between devices are different.

felmue commented 10 months ago

Hello @YonatanAmir1996

what are the I2C addresses of all the I2C devices you have connected? Note: If they are all different, then there is no need for a PaHub - you could simple connect them all directly to the core.

Thanks Felix

YonatanAmir1996 commented 10 months ago

There is one I2C device which has the same address, but anyway, physically the max30100 can't be connected in a middle of row. Is there an alternative or changes needed to be done in MAX30100 API code?

felmue commented 10 months ago

Hello @YonatanAmir1996

I do not have a max30100 - so I cannot try myself whether it should work through PaHub or not. Sorry.

Thanks Felix

Tinyu-Zhao commented 5 months ago

Are you using Unit Heart?