iamfun 0 Posted December 3, 2014 Share Posted December 3, 2014 hi, i am using msp430g2553 launch pad.i am implementing a temperature sensor using DHT11. can someone help me by giving me the link to DHT11 libraries for Energia. i found a couple but none is working. Quote Link to post Share on other sites
cubeberg 540 Posted December 3, 2014 Share Posted December 3, 2014 Have you looked at this thread? http://forum.43oh.com/topic/2239-solved-dht22-temp-rh-one-wire-sensor-on-energia/ Looks like it might be helpful. I believe the DHT22 commands are the same as the DHT11. Quote Link to post Share on other sites
energia 484 Posted December 3, 2014 Share Posted December 3, 2014 I have had luck with the Adafruit library: https://github.com/adafruit/DHT-sensor-library Make sure that you uncomment the DHT11 in the example Sketch. Quote Link to post Share on other sites
ikravets 0 Posted December 4, 2014 Share Posted December 4, 2014 Try one of: DHT11 by Bryce Feigum Adafruit-DHT by Adafruit Industries The full list with DHT Libraries Quote Link to post Share on other sites
iamfun 0 Posted December 4, 2014 Author Share Posted December 4, 2014 I have had luck with the Adafruit library: https://github.com/adafruit/DHT-sensor-library Make sure that you uncomment the DHT11 in the example Sketch. i tried but i get errors in the cpp.h. i did not know how to fix them because the for the most part i did not understand how to deal with the errors. i would be more thank full if you can give me any other direction. thank you Quote Link to post Share on other sites
cubeberg 540 Posted December 4, 2014 Share Posted December 4, 2014 Did you try the library that Rei Vilo uploaded in the post I linked to? http://forum.43oh.com/topic/2239-solved-dht22-temp-rh-one-wire-sensor-on-energia/?p=19474 Also if you look at the first post in this topic - http://forum.43oh.com/topic/2826-ladyadas-dht-library-lcd/ - you'll see that they replaced NAN with 0. It would be simple to #define NAN 0 at the top of the library. Quote Link to post Share on other sites
nmr426480 0 Posted February 15, 2015 Share Posted February 15, 2015 ??????? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.