oxullo / Arduino-MAX30100

Arduino library for MAX30100, integrated oximeter and heart rate sensor
GNU General Public License v3.0
190 stars 134 forks source link

only until the initialization can not be a failed or successful message #30

Closed dimanes closed 6 years ago

dimanes commented 6 years ago

Troubleshooting checklist

Description of the issue

i have a problem with my rcwl max30100, i have compiled according to wiring document. I use arduino uno, when I compile code test, minimal, and debug I only got intializing max30100 only. did not get a success or failed message. thanks maybe someone can help

Output from MAX30100_Tester example

image

Details of my setup

oxullo commented 6 years ago

@dimanes I added some notes to the readme file, in particular regarding setups like yours (chapter "Logic level compatibility"). Please have a look and get back here afterwards. https://github.com/oxullo/Arduino-MAX30100/blob/master/README.md

misan commented 6 years ago

Same here with an original Arduino UNO.

However, it does work on an Arduino MEGA.

I am using a MAX30100 module from eBay powered at 5V that includes a 1.8V regulator.

image

No external pull-up resistors used (though I read your instructions for using 4.7K). Because some other I2C modules worked flawlessly without adding them, many people are going to assume this one should too :-(

oxullo commented 6 years ago

@misan when the breakouts include the pullups like the one you posted, there's no need for additional care, but as I see the three pullups are connected to the 1.8V rail instead of the 3.3V. And even if it was connected to the 3.3V there would had been no certainty that it was going to work with a 5V MCU (logic level thresholds for cmos..). So (@dimanes you too if it happens to have the same breakout) try to desolder the three pullups and add external pullups to the Vcc of the MCU. Consider that SCL, SDA, /INT of the MAX30100 safely handle up to 6V (page 2 of the datasheet).

oxullo commented 6 years ago

Closing the issue due to inactivity