Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9868 Discussions

DHT workaround for Galileo and Galileo Gen2 using 2 pins instead of one

sk23
New Contributor II
1,038 Views

Hi ,

I was tying to use above code for Edison and DHT 22 sensor.

Please help me.

7 Replies
FTinetti
Honored Contributor I
151 Views

Hi IoT_srinivas,

I've used the DHT11 with almost the same fix and behavior (some error eventually) in Galileo. Having said that, I think you should post Edison questions in the Edison forum:

HTH,

Fernando.

idata
Community Manager
151 Views

Hello IoT_srinivas,

 

 

What have you tried so far? And, what have you seen as output? I mean, could you please give us a description a little bit more complex, every detail you can provide will be of much help.

 

 

Peter.
sk23
New Contributor II
151 Views

Hi ,

I tried the above code for DHT22 sensor on Intel Edison.

I was not getting temperature and humidity data.I was using IN4007 diode for above solution.

Please check the screen shoot for you reference.

sk23
New Contributor II
151 Views

Hi ,

Reference link for code.

FTinetti
Honored Contributor I
151 Views

Hi IoT_srinivas,

Please try the attached code, I've used it with DHT11 in Galileo, but DHT22 seems to be "just" a better version of the DHT11 so I hopefully expect the sketch works. Suggested usage:

a) Unzip

b) Connect DHT data pin to pin3

c) Load&See

Take into account that Galileo (and I think Edison) does not seem to be well suited for DHT usage. There are lots of threads explaining why.

HTH,

Fernando.

FTinetti
Honored Contributor I
151 Views

Hi IoT_srinivas

Did you really use mraa based code in another IDE and solved your problem?

Fernando.

Reply