Home/Support/Support Forum/xbee3 + DHT11 micropython

xbee3 + DHT11 micropython

0 votes
Greetings to all!
I'm trying to create a mesh of xbee3 to measure temperature with DHT11 sensor.Both are connected to a grove development board.
Where can i find a module python to use DHT11 so that i can program xbee3 by micropython?

thanks!
asked Dec 6, 2021 in MicroPython by ciro_to New to the Community (0 points)

Please log in or register to answer this question.

2 Answers

0 votes
You may need to check with the sensor company or within the Micro Python Library.
answered Dec 8, 2021 by mvut Veteran of the Digi Community (15,112 points)
0 votes
Reading a DHT11 device is not easy and would require some custom code. I recommend that you use instead a SHT-31 or similar I2c device to measure temperature and use the standard I2C library in Micropython for Digi. Here is sample code to read an I2C device.
https://www.digi.com/resources/documentation/digidocs/90002219/default.htm#reference/r_sample_program.htm?Highlight=I2C
answered Dec 9, 2021 by Jexx New to the Community (25 points)
...