A while ago I got a idea to build my own weather station, from scratch.
It turned out great. Lets begin!

Step 1: Parts

A list of items I used:
-2x Arduino nano.
-433mhz transmitter .
-433mhz Receiver.
-4x20 LCD (blue)
-a Blue led and resistor
-Electric installation box (watertight).
- Digital Barometric Pressure and Temp Sensor.
- DHT11 Temperature & Humidity Sensor
-1mm Aluminum sheet.
-PIR sensor (movement).
-Bits of wire.
-Heat shrink tube.
-Nuts and bolts.

And a range of different (basic) tools.
<p>Both of the Transmitter, and Receiver codes has tons of error and won't verify, did I download the right files? </p>
<p>Hi Partck,</p><p>have you installed the libraries for the LCD and the DHT?</p>
<p>I did install a couple different DHT11 and LCD, It work for the receiver however the transmitter still didn't compile. Where did you get your DHT library </p>
<p>Same here with the transmitter, lots of DHT11 errors</p>
<p>Hi! great project, I made everything but I can't compile TX because I cant find wich DHT11 library are you use. Could you give us a little help ? 10x</p>
<p>Hi Bram,</p><p>I made a similar weather station but I have a problem in the RF communication. It works properly at the beginning but after a while I lose some chars from the end of the message.</p><p>If I monitor the message through the serial monitor of my UNO before sending it, the message is OK. The received message is OK also at the beginning but after a certain time I loss some chars from the end of the message. I have to reset the UNO which receives the message to repair the communication.</p><p>Have you ever encountered with this problem? Have you any suggestion to solve it?</p><p>THX Gyalu</p>
<p>I found the problem and could solve but I don't understand the cause...</p><p>I moved this two lines from the top of my program into the loop()<br>byte messageLength = VW_MAX_MESSAGE_LEN;<br>byte message[VW_MAX_MESSAGE_LEN];<br>after that my radio worked well.</p><p>Since this variables are local its all right.</p>
<p>I'm just buying the material to build something like that. Nice to have found that as I'm newbie to Arduino and C. I had in mind to also show the min and max temp with a button to reset these max and min as we have in external thermometer. Would it be a though job to modify the code to get that ? Thanks</p>
<p>would your Tx and Rx codes work if i were to use Arduino Uno boards instead of the Nano??</p>
<p>Hi, Yes i think so, the pins are basically the same between the Uno and Nano,</p>
<p>if i can make a suggestion..... the rain sensor now has two 90degree-angled pins sticking out at the top. De-solder them and either take straight pins coming out of the bottom or just 2 wires coming out of the bottom.<br>That way you only need a very small hole to put them through. When the rainsensor is then flush, lay a small wall of silicone against the rim to stop any water from leaking under it.<br>With regard to its analog output... I wonder if that is any added value because that is already what you get when just using it as a voltage divider with another resistor. So if you want to use it in analogue mode, no use the add the little sensor board it came with and feed a comparator IC that is just idle: just grab a resistor and use it as a voltage divider</p>
<p>Thank you bram2202 for making a nice instructable.</p><p>Finally I made your weather station with solar power and power saving techniques..</p><p>You can see <a href="http://SOLAR POWERED ARDUINO WEATHER STATION" rel="nofollow">SOLAR POWERED ARDUINO WEATHER STATION</a></p>
<p>Weet zeker dat je niet 'disgrace' bedoelt maar 'degrees' :-)<br>'disgrace' is weer totaal iets anders</p>
<p>Great stuff! Inspired me a lot! Will build a similar thing.</p>
<p>Hi,</p><p>Great Instructable, I am going to make something similar.</p><p>Quick question, is your power from the mains or battery?</p><p>Thanks for taking the time to share the code!</p>
Hi, <br><br>Both the sender and receiver are powered by 12v power adapters from mains.<br><br>The idea was to power the outdoor unit from a Lipo battery charged by solar panels, but i chose the easy way.<br>Maybe i'll build this in the future
HI Bram, <br>Like your neat Weerstation, wil en copie marken <br>Can you post the latest code for your Weerstation. <br> <br>Bedankt <br>Peter
Hey Peter, <br> <br>The Code in the Zip above is the latest code. <br>I wanted to write new code, but i didn't had the time for it. <br> <br>Groeten, <br>Bram <br> <br>
Hi, <br> <br>I used the newest version of the IDE at the time. <br> <br>but I just checked out the software and I remembered something, <br>I changed something in the framework of the IDE. <br>I added some rows to allow the software to convert a float to an int. <br>Only I don&rsquo;t know which line. <br> <br>I will look into this some more. <br> <br>When I find it I will post it here and change the instructable! <br>
perhaps a patch to IDE adruino ? like this one : http://www.timewasters-place.com/arduino-string-and-float/
Did the patch work? I have not had a chance to test it out yet but i'm having the same problem you seem to be having.
with the 1.5.4 IDE it's ok <br> <br>thanks
Does one have to use Arduino 1.5.4 as well as these patches for the system to work? Just downloading 1.5.4 complied the code with no errors but i cannot get anything to transmit. Thank you for your time. <br>
Hey, that seems to have fixed the problem at least compiling wise. I'll have to upload it into the circuit and then check if that did the trick. Thanks a lot!
Yes. that&rsquo;s the one I used. <br>I backed up the &ldquo;WString.h&rdquo; and &ldquo;WString.cpp&rdquo; files and replaced them with the downloaded ones. <br>
Does one have to use Arduino 1.5.4 as well as these patches for the system to work? Just downloading 1.5.4 complied the code with no errors but i cannot get anything to transmit. Thank you for your time.
many thanks
Yes, that would be very helpful, thank you. I'm running into the same issue here.
Hi <br> <br>very great project !! <br> <br>but i have probleme with the transmiter sketch <br>I've the &quot;error call of overloaded 'string(float&amp;,int)' is ambiguous&quot; <br>what's the IDE version of arduino you used ? <br> <br>many thanks <br>
Great project! <br> <br> I've been building the breadboard prototype and ran into some problems with the code. The LCD works fine when plugged in and I got to change the name and display etc. However, after compiling the code and uploading it to the Arduino for the transmitter, I am unable to see anything being transmitted in the serial monitor (should i see any values?). The blinking LED also stopped. Any ideas/sugestions? <br> <br>I'm new to Arduino so please excuse my ignorance. <br> <br>Thank you for your time.
You should try making a stand alone arduino for your project like I did.
I thought about that, it wouldn&rsquo;t be difficult, <br>you only need to attach a temperature sensor, like you used to one of the free ports on the Arduino inside the &ldquo;In house&rdquo; unit. <br> <br>But the intention of the project was to measure the outside temperature, humidity en barometric pressure. <br>For that I needed 2 Arduino&rsquo;s to commutate wireless. <br>So a Standalone wasn&rsquo;t an option. <br>
If it displays the temp in C how would you get it to display in F
You can do this at 2 point in this project,<br>Just before you send the temperature, or after you received it.<br><br>Just multiply the value by 33.8<br>
I like your Proto box. <br> <br>You used wires on your LCD <br> <br>Have you seen my instructable Pinning Liquid Crystal Displays? <br> <br>Joe
Thank you! <br> <br>Yes I did. <br>I Looked at a way to solder it directly to the Board with the Arduino, <br>but the pinuot was totally different. <br>so the easiest way was to do this with wires. <br> <br>Yes I&rsquo;ve seen your instructable, Nice one! <br>I&rsquo;ll keep this in mind for my next project.
I'm not sure when I would ever use this, but it would be pretty cool to have. Or just to make as a conversation starter.

About This Instructable


242 favorites


Bio: I’m a 28 year old Programmer with a interest in Electronics and Cars
More by bram2202: 3D Printer Compact Arduino GPS Speedo + and more Change Baudrate of MT3339 With Arduino (fixed)
Tags: Arduino
Add instructable to: