Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor II
889 Views

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

Hi ,

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

Please help me.

7 Replies
Highlighted
Honored Contributor I
2 Views

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

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.

0 Kudos
Highlighted
Community Manager
2 Views

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

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.
0 Kudos
Highlighted
New Contributor II
2 Views

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

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.

0 Kudos
Highlighted
New Contributor II
2 Views

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

Hi ,

Reference link for code.

0 Kudos
Highlighted
Honored Contributor I
2 Views

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

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.

0 Kudos
Highlighted
Honored Contributor I
2 Views

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

Hi IoT_srinivas

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

Fernando.

0 Kudos