DHT20 ESP32 NODEMCU #10693
-
Hello, I flashed an esp32 nodemcu with micropython. a dht20 is to be used here. I connected it correctly, but I can't get the program to run. the i2c bus is recognized because it outputs the address 0x38. i installed the dht20 library via tonny ide. (https://pypi.org/project/dht20-sensor/)
But there is always the error that the module could not be found. how can i get the library on the esp32? or to put it another way, does the dht20 currently work with the esp32? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Maybe check these out: |
Beta Was this translation helpful? Give feedback.
-
It works! I found this: https://github.com/mcauser/micropython-dht12 and using the script from here: http://47.106.166.129/Embeded/pico-micropython-grove/blob/master/I2C/dht20.py rewritten. |
Beta Was this translation helpful? Give feedback.
-
What library did you install to import dht20? |
Beta Was this translation helpful? Give feedback.
It works!
I found this: https://github.com/mcauser/micropython-dht12 and using the script from here: http://47.106.166.129/Embeded/pico-micropython-grove/blob/master/I2C/dht20.py rewritten.