Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output all zeros #3

Open
ghost opened this issue Aug 1, 2017 · 9 comments
Open

Output all zeros #3

ghost opened this issue Aug 1, 2017 · 9 comments

Comments

@ghost
Copy link

ghost commented Aug 1, 2017

Hello,

Firstly, thank you for taking the time to document your procedure. It has helped me tremendously in getting started with my project.

I have connected my MAX30205 sensor (as shown in picture attached) and uploaded your script to the arduino, however, the output in the serial terminal window is showing nothing but a stream of 0.00'C values. In the code, I made sure to change the i2c address to match the one of my device, however, I can't seem to think of what I could have done wrong. Do you have any insight into what might cause this issue?

Thank you very much!
img-3286

@VenkateshBhat
Copy link
Contributor

Thank you for kind words,
could you please share the schematic of the board you are using?

@ghost
Copy link
Author

ghost commented Aug 2, 2017

Surely. I've attached the schematic and data sheet for the MAX30205 temp sensor and provided a link to the Arduino Uno R3 board.

Thank you for the quick response!

max30205-human-body-temperature-datasheet.pdf
MIKROE-2554_Web.pdf
https://store.arduino.cc/arduino-uno-rev3

@VenkateshBhat
Copy link
Contributor

@KaciMadden Thank you,
The example sketch has to run directly without any changes. Do test once with same slave address provided in the example sketch.

@ghost
Copy link
Author

ghost commented Aug 2, 2017

Okay. I re-downloaded your files and ran them untouched. I'm still getting the same stream of 0.00'c values, however,.

@VenkateshBhat
Copy link
Contributor

The recommended supply for the MAX30205 is 2.7V to 3.3V ,what I can see from the schematic is(https://download.mikroe.com/documents/add-on-boards/click/fever/fever-click-schematic-v100.pdf) it does not include the level translator which could have damaged the chip . You need to have a translator in between SCL and SDA.

@mrodas19
Copy link

you just gotta connect well GROUND

@nithin-uppalapati
Copy link

What do you mean by ‘translator’ between SDA and SCL...?

Thanks.

@overclock98
Copy link

overclock98 commented Dec 2, 2020

@KaciMadden @nithin-uppalapati Did you solve the issue?

@bobonov
Copy link

bobonov commented Aug 21, 2024

What do you mean by ‘translator’ between SDA and SCL...?

Thanks.

I guess he mean a pull up resistor.

According to i2c specification SDA and SCL line are opendrain , devices can take the level to 0V, but you need a pull-up resistor to obtain the high level.
You simply need need a resitor between 4.7 kΩ and 10 kΩ that connect the alimentation with the line, one for SDL and one for SCL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants