ATNEL tech-forum
https://forum.atnel.pl/

Błędne wskazania czujnika wilgotności
https://forum.atnel.pl/topic22544.html
Strona 1 z 1

Autor:  mczarny [ 8 wrz 2019, o 13:06 ]
Tytuł:  Błędne wskazania czujnika wilgotności

Cześć
W swojej stacji pogodowej mam czujnik wilgotności Si7021. Pracował w sumie bezawaryjnie od 1,5 roku i wczoraj rano mały zonk
Obrazek
Obrazek
co prawda byłą b.duża mgła i zaczynał padać deszcz no ale bez przesady.
Czujnik pracuje po I2C. Odczytuję dane w/g dokumentacji z konkretnego adresu a następnie obliczam rzeczywistą wilgotność (wzór również w dokumentacji). Biblioteka I2C z [b][color=#0000BF]BB.
Nie wiem może od samego początku zrobiłem babola? a wilgotność była na tyle mała, że po obliczeniach było poniżej 100%?
Kody odczytu i obliczeń
Składnia: [ Pobierz ] [ Ukryj ]
język c
Musisz się zalogować, aby zobaczyć kod źródłowy. Tylko zalogowani użytkownicy mogą widzieć kod.

pozdrawiam

Autor:  rskup [ 8 wrz 2019, o 13:42 ]
Tytuł:  Re: Błędne wskazania czujnika wilgotności

A widziałeś w dokumentacji:
Due to normal variations in RH accuracy of the device as described in Table 4, it is possible for the measured value
of %RH to be slightly less than 0 when the actual RH level is close to or equal to 0. Similarly, the measured value
of %RH may be slightly greater than 100 when the actual RH level is close to or equal to 100. This is expected
behavior, and it is acceptable to limit the range of RH results to 0 to 100%RH in the host software by truncating
values that are slightly outside of this range


--
Pozdrawiam,
Robert

------------------------ [ Dodano po: 11 minutach ]

A tak dodatkowo, to dlaczego robisz
Składnia: [ Pobierz ] [ Ukryj ]
język c
Musisz się zalogować, aby zobaczyć kod źródłowy. Tylko zalogowani użytkownicy mogą widzieć kod.

Autor:  Semi [ 8 wrz 2019, o 17:40 ]
Tytuł:  Re: Błędne wskazania czujnika wilgotności

rskup napisał(a):
A widziałeś w dokumentacji:
Due to normal variations in RH accuracy of the device as described in Table 4, it is possible for the measured value
of %RH to be slightly less than 0 when the actual RH level is close to or equal to 0. Similarly, the measured value
of %RH may be slightly greater than 100 when the actual RH level is close to or equal to 100. This is expected
behavior, and it is acceptable to limit the range of RH results to 0 to 100%RH in the host software by truncating
values that are slightly outside of this range

250% to nieco ponad 100?

Strona 1 z 1 Strefa czasowa: UTC + 1
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/