From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time out error in DHT22 sensor with myRIO/FPGA

Hello everyone

 

I am trying to run the DHT22 sensor library on my FPGA target myRIO device. the libray was published here on the community by some member and this is the link to that: 

 

https://forums.ni.com/t5/myRIO-Student-Projects/DHT22-RHT22-Temperature-amp-Humidity-Sensor/ta-p/352...

 

after the FPGA compiler compiling the code successfully the error Time out -8002 is there always and not able to get any readings from the sensor. 

The library is for DHT22 with 4 pins and I am using DHT11 with 3 pins but I don't think this is a problem since both are the same the one difference is that one of them could be used for Bluetooth communication. 

 

I am also attaching here 2 pictures one showing how the error looks like and the other one the code case when this error should be there.

 

Thank you for helping me. 

 

Ali 

Download All
0 Kudos
Message 1 of 1
(746 Views)