04-10-2013 11:51 PM
Ok, try this.
04-11-2013 07:09 AM
watch the video and tell me i see wierd numbers .....but good work
04-11-2013 10:11 PM
Well, I can't really tell you what is wrong without having the actual sensor to work with.
04-27-2013 01:17 PM
Thanks to Nathan for kick-starting the customization of the LIFA firmware and for implementing a LV Lib.
I fixed couple of issues, rearranged the code, and completed the implementation to support setting the DHT_Pin # and DHT_Type in LV code.
The code was tested fine with DHT11.
Calculations for DHT21/22 were added in LV but I have no such sensor to test with.
Cheers
Edited:
I just realized that I had an error in calculating the DHT21/22 temp when it's negative; obviously it will be hard to discover this error in warm weather!
Correction attached as Rev B
04-27-2013 02:38 PM
04-27-2013 03:01 PM
I am happy for you Morvy187!
I see that you are using HDT22. If you can place the sensor in a freezer and ensure that it still gives valid readings when negative, it would be great. I am still not 100% sure that negative Temps work fine! My HDT11 sensor doesn't go below 0 Deg C.
04-27-2013 03:12 PM
Thanks you sooooo much i`ll try it and inform you .....
04-29-2013 08:59 AM
For some reason I couldn't read Analog inputs after reading the DHT sensor no matter what I try. So I updated the LIFA firmware with DHT code from the Arduino site: http://playground.arduino.cc/Main/DHTLib, which is a much cleaner implementation than the Adafruit's.
Now it works fine! Check the attached 'DHT_Test.lvproj', after you upload the modified LIFA_Base, of course.
Best regards,
Samir
04-29-2013 07:20 PM
hey sambo plz could you give a littel explanation of that new Progman you did upload and why there is ana analog voltage read ports ????????
04-30-2013 12:11 AM
I have an application where I have to read several analog sensors in addition to ambient temperature and humidity provided by the DHT sensor.