MAX30100 only works on R4 and not R3?

Hi there!

I've recently got a heart rate sensor by M5Stack. It works fine on my Arduino R4. I then wanted to add NeoPixel LEDs to my board but I realised after researching this forum, that NeoPixel isn't yet supported for R4. So I bought myself a R3. The NeoPixels work perfectly now, but my Heart Rate sensor doesn't on the R3...

I've tested out I2C Scanners and they seem to break? Here an example:

Same when trying out the Heart Rate script (works on R4, exactly as shown here) - it gets disrupted or something?

Thank you for your help!

Maybe it‘s easier to reverse the problem and try to get the NeoPixel to work on the R4 - since the heart rate works on this one? Did anyone find a solution for that yet?

Please check if there has been a baud rate mismatch by any chance.

Can you use FastLED instead of Adafruit_NeoPixel?

I have, and I am using the rate defined in the code

FastLED says that the platform isn‘t supported (on the r4). I will post the exact message later, I‘m not at home rn

Which version of FastLED are you using? I get no error or warning messages with version 3.6.0. You may need to download the latest version from the github page.

I've tried downloading the latest version directly from GitHub. I don't get an error anymore, but it only lights up the first LED in the matrix. I've measured the voltage and it should be fine. Do you have an example?

I've run the following i2cdetect sketch and the sensor seems to be recognized:

But I still don't get any output, also the LED on the heart rate sensor isn't working.

Any inputs?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.