Getting DHT11 to work with AGX Xavier

I am new to developing using the AGX Xavier and is trying to get it to work with the DHT11 temperature sensor. I have tried the solution from https://github.com/GrgoMariani/NVidia-Jetson-DHT22-Python with the Power, Ground and data pins connected to the AGX Xavier pins 2, 6 and 37 respectively but it kept giving me (-39909.0, -39909.0, 0) for the output.

I have also tried using https://github.com/NVIDIA/jetson-gpio and it was able to detect pin 37 as ‘HIGH’ when it is connected. How do I proceed from here to interpret the output to be the data I need? Do I need a specific kernel? Any resources pointing in the right direction or the next step would be appreciated. Thank you!

hello sc.foo,

may I know which JetPack release you’re working with?
please also check release tag for details, i.e. $ cat /etc/nv_tegra_release

since the last commit of this DHT22 python script was on Jul 31, 2019, it did not verified with the latest JetPack release.
thanks

I am using the R32 (release), REVISION: 4.4 for my current setup. Is there an alternative package or another solution online for the DHT11 with AGX Xavier? If not I will try again with a previous Jetpack version.

hello sc.foo,

I don’t see related information about which JetPack release had DHT22 python script verified.
also, I’m not a maintainer of DHT22 python script; suggest you may backtrack previous JetPack release for testing.
thanks

Thank you, I would do that. Alternatively, are there any other alternative solutions that I can look into that will enable me to read from the DHT11?

hello sc.foo,

you may also refer to the specification of DHT temperature sensor,
it should sending data once you’d provide the powers correctly. please refer to the code in github and have your own implementation.
thanks