MAX30100 icon indicating copy to clipboard operation
MAX30100 copied to clipboard

GY-MAX30102

Open SayedBaqer opened this issue 7 years ago • 3 comments

Hi, can you help me with GY-MAX30102 sensor it is same board of MAX30100 but with MAX30102 sensor, i try to use your library on Nodemcu 12E, where i connect SDA and SCL to default pins, but i could not get any data or red led not running. Best Regards, Sayed

SayedBaqer avatar Oct 27 '17 06:10 SayedBaqer

Any help?

SayedBaqer avatar Dec 23 '17 06:12 SayedBaqer

The library is using the default SDA and SCL pins of Wire library. On your dev board(which is using esp8266) you should check the SDA and SCL pins. For example on the official espressif module Wroom-02 the SDA and SCL are pins 2 and 14. All you have to do is to overide the Wire.begin method on 35 line of .ino. For wroom-02: Wire.begin(2,14) The above change will make things right about I2C communications but still your sensor will not work properly because the register map is different for max30100 and max30102. Change the register addresses from .h file and your are good to go.

alexisicte avatar Dec 20 '18 09:12 alexisicte

@alexisicte Nice catch there!

adeelahmad94 avatar Jun 16 '20 05:06 adeelahmad94