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

OSError: 5 when i2c is reading from memory #6

Open
KatiGithub opened this issue Apr 14, 2021 · 1 comment
Open

OSError: 5 when i2c is reading from memory #6

KatiGithub opened this issue Apr 14, 2021 · 1 comment
Labels

Comments

@KatiGithub
Copy link

KatiGithub commented Apr 14, 2021

_config1 = i2c.readfrom_mem(address, 0x25, 2)
This line is giving me lots of headache, I've tried using the proposed solution of using machine.SoftI2C instead but the sensor just outputs -273.15 which means that it is reading 0 from the sensor itself. I did an i2cscan and it the sensor is fine.

Anything would be of great help, Thanks. Btw, I'm using the Raspberry Pi Pico

@WilliColli
Copy link

It's a bit late, but I was having the same problem and i found soldering the connections onto the temp sensor corrected it for me.

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

No branches or pull requests

3 participants