Page 1 of 1

DHT22 temperature-humidity sensor

Posted: Sun Sep 04, 2016 10:03 am
by midori
Does the NanoPi NEO support DHT22 temperature-humidity sensor connected via 1wire bus?

I use the DHT22 sensors on my Raspi2, they work fine.

Thank you.

Re: DHT22 temperature-humidity sensor

Posted: Tue Sep 27, 2016 5:50 am
by jjm
midori wrote:
Does the NanoPi NEO support DHT22 temperature-humidity sensor connected via 1wire bus?

I use the DHT22 sensors on my Raspi2, they work fine.

Thank you.


Hello,
I just test DHT11 on NanoPi NEO ,but not DHT22,you can reference this link:http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_Temperature_and_Humidity_Sensor . it works fine with NanoPi NEO.

Re: DHT22 temperature-humidity sensor

Posted: Fri Oct 01, 2021 7:11 am
by goffy59
Hi JJM,

I was following this wiki tutorial to try and get my sensor working but I get the following error:

root@neopi:/home/dietpi/sensor/matrix# matrix-temp_humidity
Hardware:Allwinnersun8iFamily
Revision:0000
BoardType:-1
FAHW-Lib: Fail to initPinGPIO
FAHW-Lib: Fail to initPwmGPIO
Fail to init board


I may have the PIN's wrong. Which pins did you use on the NanoPi Neo 1.4? If anyone else has come across this please let me know what I am doing wrong.


Thanks,

-goffy59

Re: DHT22 temperature-humidity sensor

Posted: Fri Oct 01, 2021 7:12 am
by goffy59
Hi JJM,

I was following this wiki tutorial to try and get my sensor working but I get the following error:

root@neopi:/home/dietpi/sensor/matrix# matrix-temp_humidity
Hardware:Allwinnersun8iFamily
Revision:0000
BoardType:-1
FAHW-Lib: Fail to initPinGPIO
FAHW-Lib: Fail to initPwmGPIO
Fail to init board


I may have the PIN's wrong. Which pins did you use on the NanoPi Neo 1.4? If anyone else has come across this please let me know what I am doing wrong.


Thanks,

-goffy59