-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Si7021 by Sonoff #79
Comments
Thanks for the issue. |
I created a develop branch in which I will introduce a new type 70 besides the 11 and the 22 later today. |
@phiguimaran I added the SI7021 to the auto detect part in read(). Please download the develop branch and test if this sensor detection works. If detection does not work:
sensor.setType(70); |
Good morning, and thanks for the fast update. |
Good afternoon (15:30 here) |
Perfecto I need a time for test and determine a stable wakeupdelay multiple of 40 |
Well, I make a lot of test and de only way I can use the Sonoff Si7020 stably is the next: This board is extremely sensitive about wekeup time. |
Thanks for your extensive testing, Need to order such sensor myself to do more testing. |
Branch pushed, build is running |
@phiguimaran Other changes do not affect the code
Unless there are problems I will merge later today. |
@phiguimaran |
@phiguimaran |
Hi Rob, I was away for the weekend. otherwise we get wrong readings best regards |
From - #81 A DHT22 got recognized as a type 70 and still got good data. Need to look at the code to see if I understand what is happening. |
Yes, understand the issue. (exactly the reason why testing is so important). |
TOPIC is continued in #84 |
Hi, I'm usinng your library in various proyects, it's great !!
I'm trying to use it with the sensor that's came with Sonoff TH.
It's a board that include Si7021 sensor and some circuits to comunicate with 1 wire.
To make this work I have to change the wakeup delay to a value near 500 microseconds
If I coment lines :
do { // HANDLE PENDING IRQ yield(); // 180 gives good wakeup delay on UNO for DHT22 / DHT11 (issue #72) delayMicroseconds(180UL); } while((micros() - startWakeup) < (_wakeupDelay * 1100UL));
and change for delayMicroseconds(500UL); its work well.
I wonder if there is a way to configure this without having to edit the library?
Thanks in advance
The text was updated successfully, but these errors were encountered: