MAX30100
MAX30100 copied to clipboard
GY-MAX30102
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
Any help?
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 Nice catch there!