Community
cancel
Showing results for 
Search instead for 
Did you mean: 
AShak3
Beginner
1,179 Views

Need to read data from DHT11 sensor

Can you tell me what can I use to read data from DHT11 sensor by using intel edison along with NodeJs? This is using 1-wire protocol. Npm package : node-dht edison only supports DHT22. Can you give me some hints to work on? I got this http://www.i-programmer.info/programming/hardware/9200-exploring-edison-bit-banging-the-dht11dht22-.... link to study. But facing a lot of problems in implementation.

I have attached the picture of DHT11 sensor that I am using.

2 Replies
idata
Community Manager
50 Views

Hello shakir1443,

 

 

Thanks for reaching out!

 

 

What are the issues that you have faced when trying to implement this code?

 

According to https://akizukidenshi.com/download/ds/aosong/DHT11.pdf the DHT11 communicates through a serial port, therefore it should be compatible with Edison. Unfortunately, I don't have access to one of this sensors but according to the document I shared above, it shouldn't be that hard to work with this sensor.

 

 

I'd suggest you to take a look at the DHT11 Product Manual that I shared above and to check mraa's Node.JS UART example ( https://github.com/intel-iot-devkit/mraa/blob/master/examples/javascript/uart.js) in order to get you started.

 

 

I hope this information helps you,

 

Pedro M.
idata
Community Manager
50 Views

Hello shakir1443,

 

 

Do you have any updates about this?

 

 

Pedro M.
Reply