Instructables
loading
loading
Picture of Arduino Weather Station Part3, Rain
TipBuckDiagram.jpg
So one of my last projects was adding a weather vane to my Arduino weather station.
http://www.instructables.com/id/Arduino-Wind-Chill-Machine/
http://www.instructables.com/id/Arduino-Weather-Station-Part2/

This Lazy Old Geek decided to add a rain gauge to it even though we don’t get much rain in the high desert. Most digital rain gauges are based on something called a tipping bucket. Here is a good diagram complements of:
http://park18.wakwak.com/~weather/archive/RainGauge.htm

There are actually a lot of rain gauges for sale. Amazon.com has some tipping buckets for around $20. But I’m a Geek where’s the challenge in that, so I decided to build my own.
 
 
Remove these adsRemove these ads by Signing Up

Step 1: Parts List

Picture of Parts List
AdaFruitDataLogger.jpg
NutJar.JPG
CustomBracket.JPG
Spacers.JPG
Magnet.JPG
Hall SS461C.jpg
Syringe.JPG

Parts List:

USB Freeduino (Arduino-clone) $22.50
Adafruit Data logging shield $19.50
http://www.adafruit.com/index.php?main_page=product_info&cPath=17_21&products_id=243

SD Card $ 6

Aluminum NoTrespassing Sign $ 2
2 Ethernet Couplers                       $1.40 (ebay.com)

1 empty Cashew nut plastic jar
1 Funnel (5.5" diameter)                 dollar store
1 ¾” pipe strap                                  $ 0.59
2 #8 nylon washers                          $ 0.17 @
1 small magnet (10 for $1 at Harbor Freight)
Honeywell SS461C Hall Effect IC $1.86 Digikey

Prices US dollars March 2011

Useful Tools:

Drill/drill press
Rotary tool (Dremel/clone)
Syringe ($0.99)

Any USB Arduino should work but it is easier to wire it up to an Arduino shield so the clone would have to be shield compatible. There are some good deals on ebay for Arduino Duemilanove 2009 for about $18.
 
The syringe is actually a cattle syringe for veterinarian use. I am a vet, close enough. Actually, this worked pretty good for calibrating my rain gauge.

 

1-40 of 45Next »
MarkAndrewLim5 months ago

If I have a different diameter for my collecting funnel, can i still use these formula to calculate the amount of rainfall?

jolomedina5 months ago

Do anybody know how to do the GUI in MATLAB or can you please help or teach me how to do it in VB? Need help! :( Thank you!

msuzuki777 (author)  jolomedina5 months ago
Sorry,

Learning VB Express is pretty hard. I've been programming VB for probably 20 years and still have trouble. There are some tutorials but I doubt if they would help. E.g.,
http://msdn.microsoft.com/en-us/library/dd492171.aspx

I think you can do it if MATLAB but I don't have any experience with it.

LOG
AdityaB16 months ago

Really excited with this project.

Anyway, i'm going to integrate this system with a server. it was located miles away from the place where i place this system. So how can i do that?

Is it possible to send the read data using GSM modem and log it every 10 minutes?

Or maybe is there another way to do that?

thank you

msuzuki777 (author)  AdityaB16 months ago

I don't know how you could transmit/receive over several miles. You're probably right about using a GSM module but I have no experience for doing that.

You will also have to have a power source at the weather station.

LOG

ruben199757 months ago

Nice project ! I'm going to use this project for school :)

AnasP8 months ago

this is great inspiration .. i have been duin it as a part of my final year project..

can u please post or send me the new code u use...

thank you..........

msuzuki777 (author)  AnasP8 months ago

Sorry, I don't have any newer code that will work with this setup.

LOG

jim5150jvc9 months ago

That mountain in the background looks very familar. Might that be somewhere near the Coachella Valley in California?

msuzuki777 (author)  jim5150jvc9 months ago

No, it's in Colorado.

LOG

naught1011 year ago

5mm seems like quite a large step - it must be quite common in a lot of areas to just get 1-5mm, and then have a sunny day. Since your remaining moisture is sitting in a metal cup in a greenhouse, I imagine a lot of it would evaporate in that situation, and you'd get a bias against low rainfall days. I imagine you could go a *lot* smaller without many problems cropping up.

msuzuki777 (author)  naught1011 year ago

I'm not sure where you got 5mm. I know I talked about 5mL as my bucket volume. But rain is measured in length(height) like inches or mm. The way I calculated it is that the volume of water hitting the bucket is the diameter of the funnel times the height of water.

As shown in step 8, the 5mL bucketful translates to 0.0128 inches of rain which is about 0.325 mm.

This is plenty accurate for me.

But you are correct that the accuracy could be increased with a smaller bucket size or what I would do would be to increase the funnel diameter.

LOG

Vinskeet1 year ago

Hello!

Your design is great, nice work! I'm working on a similar project but I'm a little strapped for time so I am trying to avoid ordering parts. Right now I'm working on the rain station and I'm wondering if you think that the SS345PT/SS445P is a suitable replacement for the SS361? the 361s are designed to respond to alternating North and South poles while the 345/445 responds to a single pole. I don't think I should have to change your design at all.. Any ideas?
I was also considering using a Hall Effect Sensor, but I'm not sure.
Much appreciated,
-V

msuzuki777 (author)  Vinskeet1 year ago

My concern is that I don't think the SS345PT/SS445P are latching sensors. My sketch is designed to look for a high state than count only when it sees a low state. I believe these sensors only transition when the magnet is near but then returns to it's inactive state.

If my sketch was able to catch every toggle, then I suspect the count would be doubled actually. If it missed some toggles than the rain count would be less than actual.

LOG

A quick question. In all three parts, a few of the same parts. Did you purchase three sets of these, or are you listing them for people who only want to make the one part?

msuzuki777 (author)  PatrickDickey527611 year ago

The parts lists are confusing if you read all of my Weather Station Instructables. Some, mainly the Arduino and data shield are duplicated. Only one of each is needed.

By the way, I'm still using my weather station but replaced the data logging shield with a custom PCB and eliminated the SD card as I never used it that much.

LOG

usephotep2 years ago
we only making in our project just for rain.....
usephotep2 years ago
are there any additional codes f we use ethernet shield or SD shield??because we're not using a data shield....
usephotep2 years ago
Mr. msuzuki,can i know f you have using a software in this project and may i know what is it??thank you sir...
msuzuki777 (author)  usephotep2 years ago
Yes, the Arduino sketch is in a zip file Step 8. The Arduino talks to a PC with USB. The PC is running a VBExpress program which is in a zip file Step 9.

LOG
beaumont42 years ago
Hi I have been inspired by your weather station enough to embark on a project of my own, however I am an hobby para-glider and have removed some elements such as the rain gauge and wind chill in favour of elements such as Air pressure and humidity which I have done successfully. I would be very pleased if you could provide the VB source code so I could make customizations. P.s would be pleased to provide photos of my weather station attempt, regards John
msuzuki777 (author)  beaumont42 years ago
Great. I'm trying to figure out how to attach a file. So there should be a weatherstation.zip attached.

What did you use for an air pressure sensor?

Hope this helps. I am using VBExpress2010.

L.O.G.
karlitoboi2 years ago
mr. lazy old geek... we did your project as our inspiration to our project(THESIS project actually), but we use EW-512 hall effect ic (since yours is not available in our country) and we directly connect it to our pic16f877a we have our own program but we have not tested it. in your own view, do you think it will work? and one more thing we don't have shield, but we have our data transceiver for our wireless transmission...does the hall effect still effective in our project since we directly connect it to our pic without your shield?
msuzuki777 (author)  karlitoboi2 years ago
As far as I can tell, the EW-512 will work okay. You will still need a pullup resistor. And it should work fine connecting it directly to the PIC. In this Instructable, I used the shield as it has a Real Time Clock and the SD data storage. But in my current weather station, I don't use a shield.

I like your plan of using wireless transmission. Hope it works for you.

LOG
thank you very much sir!
so, where should i put the pull up resistor, in the red wire of the EW-512?
thank you sir!
msuzuki777 (author)  karlitoboi2 years ago
I do not have any EW-512s so am not familiar with them. I looked at a several datasheets. One of them said a pullup was required but a couple of others said you don't. So you probably won't need one but I don't know for sure without more information on the particular EW-512 that you have. I guess I would try it without a pullup and see if it works.

LOG
usephotep2 years ago
can we still apply the circuit diagram even without using shield? if it's not applicable, what changes do we have to make?
msuzuki777 (author)  usephotep2 years ago
Yes, modify sketch. See other comments.

LOG
usephotep2 years ago
can we connect the sensors directly to the arduino, instead of the shield since we won't be using it?
msuzuki777 (author)  usephotep2 years ago
Yes

LOG
ozmahades2 years ago
we won't be using datalogger shield but is it possible to directly store the data to pc
?!
msuzuki777 (author)  ozmahades2 years ago
Yes, The Arduino sketch sends weather data to the serial port. In my last step, there is a Visual Basic Express program that accepts this data, fills in the PC display and also writes the data to a CSV file. Now that I took a quick look at the VB Express program I doubt it would work on anybody's PC as it has some specific references to my PC.

I use my weather station daily. In my current version, I am no longer using the datalogger or Real Time Clock. The VB Express program puts a timestamp on the serial data before writing it to a CSV file.

LOG
usephotep2 years ago
where do we connect the sensor terminals if there's no shield used?

msuzuki777 (author)  usephotep2 years ago
You will have to duplicate the schematic in the Instructable on a proto board or breadboard. This will have to be interfaced with the Arduino (Atmega328). The sketch will have to be modified to remove references to the real time clock and SD card.

LOG
usephotep2 years ago
is it ok if we use a 328 microcontroller for the arduino that we are going to use?????
msuzuki777 (author)  usephotep2 years ago
Yes, that is what I used.

LOG
usephotep2 years ago
will the circuit run even without the use of the shield? and how is it implemented using pc?
msuzuki777 (author)  usephotep2 years ago
I actually made a PCB for the resistors and capacitor but it could be made on a protoboardor protoshield. I did modify the software to remove any reference to the Real Time Clock and the SD card but it still talks to the PC.

I use it most mornings to check on the temperature and wind (and rain) before I take a walk with my dog.

LOG
usephotep2 years ago
what is the difference between adafruit data logging shield for arduino and ADAFRUIT INDUSTRIES - 772 - LCD SHIELD KIT,16x2 BLUE/WHITE DISPLAY, ARDUINO ????
msuzuki777 (author)  usephotep2 years ago
The data logging shield has a real time clock chip and can write and read SD cards.
The LCD shield has a display and a joystick.

In my current version of my weather station, I no longer use the data logger and just leave it connected to my PC.

LOG
1-40 of 45Next »