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

How had you solved the Multimaster I2C Bus Problem? #1

Open
FerrisB270 opened this issue Mar 15, 2024 · 5 comments
Open

How had you solved the Multimaster I2C Bus Problem? #1

FerrisB270 opened this issue Mar 15, 2024 · 5 comments

Comments

@FerrisB270
Copy link

Hello, I made the same. I build in an ESP32-C3, soldering the wires and install Tasmota.
Now I see the values are bad. The temperature and the humidity are higher then expected.

Any ideas to solve the problem?

FerrisB

@FerrisB270 FerrisB270 changed the title How had you solfed the Multimaster I2C Bus Problem? How had you solved the Multimaster I2C Bus Problem? Mar 15, 2024
@Novecento99
Copy link
Owner

Hi

Well, when I started this git I read all what I could find on the internet.

As far as I remember (in my git I don't use tasmota) the esp32 you put inside could be the problem by heating up the sensor. To offset it you could edit the tasmota code and subctract a constant to the temperature

@FerrisB270
Copy link
Author

I have no offset configured at the moment. Here are two picture of the values (more or less) at the same time.
image
image

@Novecento99
Copy link
Owner

Novecento99 commented Mar 16, 2024

oh okay, you read different values than what the ikea shows. Is like that all the time or maybe for just the first reading?

just found out that mine shows similar behavior to yours. Since our microcontroller is directly connected to the sensor, I believe post processing is done by the ikea microcontroller before showing it to the display. A similar computation would be nice to be implemented in this git. A baseline could be subtracting around 2 degrees

If I'm not mistaken in another git this issue has been talked about, if I found it again I will let you know

@Novecento99
Copy link
Owner

well, I didn't found the git but I found way better:
official sensirion tuning guide
official functions available

arduino even permits to retrieve the sensor parameters set ! we should dive in this to understand how ikea's engineers set up the sensor

it's even possible to read the raw data instead of the post processed data with readMeasuredRawValues()!

@Novecento99
Copy link
Owner

I think just using the function to read the raw data could be sufficient
uint16_t readMeasuredRawValues(int16_t& rawHumidity, int16_t& rawTemperature, uint16_t& rawVoc, uint16_t& rawNox);

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

2 participants