Go Down

Topic: [LIB] Interrupt driven DHT11 Lib (idDHT11) (Read 17 times) previous topic - next topic

niesteszeck

Mar 22, 2013, 03:51 pm Last Edit: Mar 22, 2013, 09:11 pm by niesteszeck Reason: 1
Hello, I'm working with DuinOS and the DHT11 library has some problems working with it 'cause the timing. 'cause of this i had improved the library to use ineterrupts on pins and liberate the cpu meanwhile. I have proved it in a Mega2560 with arduino 1.03 and is working bery well.

You can get this lib at
https://github.com/niesteszeck/idDHT11

robtillaart

#1
Mar 22, 2013, 07:58 pm Last Edit: Mar 22, 2013, 08:00 pm by robtillaart Reason: 1
Looks good!

I can see only one remark that is STOPPED is with double P ;)

I'll make a link in the playground article - http://playground.arduino.cc/Main/DHT11Lib - to this thread so people can find it easier!
(done)
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

niesteszeck

Sorry for that (I speek spanish as my native language)
Now is corrected

robtillaart

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

chuckiecc

Hi can someone help please with newb question.  Trying to read temp/rh with the dht11.  In the code samples and examples I came across a VERY cool code example that not only reads temp/rh BUT reads dewpoint calcs.  Which is very useful for me.  Only problem is that being a NEWB Im sure that Im doing something wrong in loading the code to the Arduino.

Arduino Mega 2560
Mega shield

So code that has information I want is here-

http://playground.arduino.cc//Main/DHT11Lib?action=sourceblock&num=1

but when I try to compile/upload, i get the error message "DHT11 does NOT have a name"  ARRGGHH....

now I notice that along with this code there are two other files
one labeled
dht11.h (code is here http://playground.arduino.cc//Main/DHT11Lib?action=sourceblock&num=2)

the other labeled
dht11.cpp (code is here http://playground.arduino.cc//Main/DHT11Lib?action=sourceblock&num=3)

so not sure (because I am a newb) if these are necessary? help define the name of the DHT or what.. 

Can someone help please..

thanks again for your patience in advance..
my skype is chuck.colby in camarillo ca

Go Up