#dht11 arduino workinprogress
Explore tagged Tumblr posts
Text
Week 3: Input/Output - Temp & Humidity Sensor Module
This week I familiarized myself with basic digital vs analog input/output applications. I randomly inherited a DHT11 sensor from my dad so I decided to give that a shot. The thumbnail size sensor says it has a temp range from 0 to 50 C and a humidity range from 20 to 95%. It takes in 3.5 to 5 volts and a 10k resistor that sits between the data stream and power supply. I dug around online, read forums and blogs and found a DHT library on the Arduino site as well as some basic test code. I had to make some minor adjustments to the code to get the DHT11 version to work and after a few hours of errors and tweaks I got the code to compile and uploaded to the Arduino. Although I was able to get the serial monitor to output data, as of now I’m getting a “Time Out Error” so I’m not getting the proper feedback. I poked around online and found some other DHT users getting the same error. Per the posts after upgraded to the DHT22 sensor they were able to get the proper feedback. Work in progress!
UPDATE!! Turns out I just had the goddamn sensor in the wrong way, worked after I flipped it around (thank you Prof. Woo!).
Working shot output shot from serial monitor. #hotinhere



0 notes