HTU21D problem in mega-20230306

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
mackowiakp
Normal user
Posts: 527
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

HTU21D problem in mega-20230306

#1 Post by mackowiakp » 23 Mar 2023, 14:02

I have two I2C devices in unit. HTU21D (temp/higro) and BH1750 (Light).
All devices works fine with FW based on sources from March past year (22).
Screenshots below.
But with FW based on mega-20230306 HTU21D shows NaN both for temp and higro.
I2C speed set to 10000 (10 kHz).
I2C scan shows properly both sensors and I2C address.
What the problem could be?
Screenshot_20230323_132228.png
Screenshot_20230323_132228.png (130.34 KiB) Viewed 797 times
Screenshot_20230323_132238.png
Screenshot_20230323_132238.png (87.52 KiB) Viewed 797 times

User avatar
Ath
Normal user
Posts: 3417
Joined: 10 Jun 2018, 12:06
Location: NL

Re: HTU21D problem in mega-20230306

#2 Post by Ath » 23 Mar 2023, 14:09

That issue is already resolved, see this Github issue.

If you update to the current mega branch you will have the fix. This is not available as a Release yet, but will of course be in the next.
/Ton (PayPal.me)

mackowiakp
Normal user
Posts: 527
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

Re: HTU21D problem in mega-20230306

#3 Post by mackowiakp » 23 Mar 2023, 14:33

Yep, solved. THX

mackowiakp
Normal user
Posts: 527
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

Re: HTU21D problem in mega-20230306

#4 Post by mackowiakp » 23 Mar 2023, 14:45

I guess I got excited too quickly. Tarz PMS5003 sensor stopped working.
This sensor works on the HW0 serial - as you can see in the screenshots from the first post.

Post Reply

Who is online

Users browsing this forum: No registered users and 38 guests