aromring / MAX30102_by_RF

Arduino C code for MAX30102 pulse oximetry sensor (MAXIM Integrated, Inc.)
166 stars 73 forks source link

Cool. Can I link two MAX30102 sensor by this code? #7

Closed timeanddoctor closed 4 years ago

timeanddoctor commented 4 years ago

Dear Professor,

I want to connect two MAX30102 sensor for SPO2 with an Arduino UNO, I donnot know How to chang this code ,could you help me. Thanks.

sergiocntr commented 4 years ago

At first,can you change the i2c address on your max30102 module? ( Es. Soldering two pads ) If you can , the lib can be adjusted/ modified as class and using multiple instances that can be achieved.

aromring commented 4 years ago

Although it's possible to put multiple devices on the I2C bus, as @sergiocntr suggests, I am afraid the Arduino Uno CPU is not powerful enough to handle two sensors at once. It can barely handle a single one, as it is.