Arduino Uno DHT11 LCD Weather Station DIY
Intro: Arduino Uno DHT11 LCD Weather Station DIY
STEP 1: Before You Start
Assumptions:
1. You have necessary tools to solder three wires to LCD shield.Deliverables (from me):
1. Screenshot where solder three DHT11 pins to.2. Code of Arduino Station (example, used by me)Instructions:
1. Download necessary libraries for DHT11 and LCD DFRobot (all links below in References section)2. Connect LCD shield to ARDUINO by pushing pins into sockets. Ensure all are in and stable.3. Time for some soldering.STEP 2: Soldering - Info and How to Connect "wires" ;)
4. Ensure that soldering was clean and wires are not "touching" each other or any part on board. All should be stable and well connected. If not - loose cable can cause serious damage to whole device.
5.Once above is done and you have doublechecked it - connect Arduino UNO to USB, load code (see atached code in next step or e-mail me if something is wrong) and send it to device. (You do not know how to connect USB to your PC/Mac ? - go to Arduino webpage for tutorial. Links in next step).
6. Wait until it boots and you should see Arduino Station message as a welcome screen. After 10seconds you should see some blinking info (this was done mainly for LCD test purpose and you can change it if needed)
7. Once blinking is done - you should see Temp: and Humid: info WITH REAL DATA. There is no delay for REAL DATA. It should appear immediately with Temp and Humid info. Note that instead of Humidity you can get "Wilgotnosc" as this is PL version of code.
8. It refreshes every 60 seconds giving you info "Refresh" before new data is displayed.
9. I've used some LEGO to cover it and double-side tape to stick it to wall next to my ipad charger (works well :)
STEP 3: Congratulations - It's All Done :)
That's it :) Comments and Questions here - crackopl@gmail.com Major changes to code, suggestions etc. - use above to share please :) See links below for more info and useful hints.
Code is attached.
Few links below:
http://arduino.cc/en/Main/arduinoBoardUnohttp://www.dfrobot.com/index.php?route=product/product&product_id=51http://dx.com/p/arduino-digital-temperature-humidity-sensor-module-121350
16 Comments
yaser ha 8 years ago
Enter the code here, please
it Doesn't open with me
crackopl 8 years ago
Brando5641 - basics. read how to add libraries
Brando5641 8 years ago
C:\Users\Brandon\AppData\Local\Temp\arduino_f9cc66e4bc034c9a8dd3420704a87b1c\sketch_jan31c.ino:2:17: fatal error: dht.h: No such file or directory
#include <dht.h>
^
compilation terminated.
exit status 1
Error compiling.
jerry.ericsson2 8 years ago
Hi, I built one like this but no lego's I used an old leather pouch from a PDA to hold 3 18650 batteries put the arduino in a plastic case built for that purpose and glued my DHT33 to the top of the leather case. Now I have a portable accurate system we take along in our camper to keep up on temps.
steven1983 8 years ago
jerry.ericsson2 8 years ago
TabletaU 8 years ago
I made it, but the code works only if I change "DHT dht;" into "dht DHT;" !
Thank you!
crackopl 8 years ago
crackopl 8 years ago
ydoucare 8 years ago
The only suggestion I have is to spend a couple more bucks and get a DHT22 or better sensor with higher precision. The DHT11 is going to give you readings with a resolution of 1C.
crackopl 9 years ago
Hi all
sorry for delay.
I will share the code (will appear in links).
stay tuned and Happy New Year :)
bdunlap1 9 years ago
hello the link is down can u send me the code
03edM 9 years ago
Hi, could you please share the code again?
The link provided does not seem to be working.
Thanks in advance,
crackopl 9 years ago
Hi,
fixed. Check again please.
Lectric Wizard 10 years ago
Lectric Wizard 10 years ago