Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By chaeplin
#41066 Supports reading DHT22/DHT21/DHT11 sensors without disabling interrupts
based on PietteTech_DHT for Spark

https://github.com/chaeplin/PietteTech_DHT-8266

no of err count:
large sketch(same sketch, different CPU frequency)
1) 80MHz --> too many, can't count
2) 160MHz --> report 5165, err 14

simple sketch
1) 80MHz --> report 14254, err 2
User avatar
By mianos
#41088 I wrote one of these, from scratch, in C, for the ESP8266, not spark.
https://github.com/mianos/micropython/b ... _esp_dht.c
Although it is written within the micropython framework, it would be trivial to use with the normal ESP SDK. You can even use an ESP SDK ops task to time the initial wakeup signal so it needs zero user space polling.
User avatar
By chaeplin
#41097
mianos wrote:I wrote one of these, from scratch, in C, for the ESP8266, not spark.
https://github.com/mianos/micropython/b ... _esp_dht.c
Although it is written within the micropython framework, it would be trivial to use with the normal ESP SDK. You can even use an ESP SDK ops task to time the initial wakeup signal so it needs zero user space polling.


I will try yours. Thank you