-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rain calculation #5
Comments
Thanks Hennie,
I am happy to add in your refinement. I am about to add in the latest
version that also has the UV detector incorporated. So I will update
the rainfall conversion factor at that time and give you due
acknowledgement. The new version also incorporates an RGB LED that
signals with a colour as each sensor is successfully logged. I don't
have the circuit diagram drawn yet to accompany it so it may be a little
while before the whole thing is updated.
I am pleased with your interest in the project and assistance,
Rob
…On 12/02/17 20:54, Hserfontein wrote:
Hi Rob,
I agree with afeno, this is an excellent project and perfectly
documented :)
I would like to add my experience to your project. I did some vigorous
testing on the rain calculation and found that a factor of
"*25.4/1000.0" (instead of 25.0), yields a 100% accurate result
compared to the Oregon base station.
The calculations should therefor read as follows:
void rain(){
rainTotal =
float(((nyb(18)*100000)+(nyb(17)*10000)+(nyb(16)*1000)+(nyb(15)*100)+(nyb(14)*10)+nyb(13))*25.4/1000.0);
//Serial.println((nyb(18)*100000)+(nyb(17)*10000)+(nyb(16)*1000)+(nyb(15)*100)+(nyb(14)*10)+nyb(13),DEC);
rainRate =
float(((nyb(8)*10000)+(nyb(9)*1000)+(nyb(10)*100)+(nyb(11)*10)+nyb(12))*25.4/1000.0);
//Serial.println((nyb(8)*10000)+(nyb(9)*1000)+(nyb(10)*100)+(nyb(11)*10)+nyb(12),DEC);
I am not sure, but I think it has to do with the fact that there are
25.4 mm in an inch.
Regards,
Hennie
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AGzc5VLXiUQ-Omq6K4_8We6KqBPLxsq0ks5rbtbBgaJpZM4L-cVI>.
--
*Rob Ward*
Lake Tyers Beach, 3909
Lake Tyers Beach Website <http://www.laketyersbeach.net.au>
Ubuntu Mate - A great OS <https://ubuntu-mate.org/>
|
Hi Rob,
I plan to add a hardware real time clock and SD card interface to mine to add a time stamp and store the data on the SD card, to make it standalone. I do not want to keep a computer running 24/7 just to record my weather data. Currently I am using CoolTerm to capture and store the data from the USB interface.
Looking forward to any new devlopments from your side.
Kind Regards
Hennie Serfontein (Snr)
From: Rob Ward [mailto:[email protected]]
Sent: 12 February 2017 13:58
To: robwlakes/ArduinoWeatherOS <[email protected]>
Cc: Hennie Serfontein Snr <[email protected]>; Author <[email protected]>
Subject: Re: [robwlakes/ArduinoWeatherOS] Rain calculation (#5)
Thanks Hennie,
I am happy to add in your refinement. I am about to add in the latest
version that also has the UV detector incorporated. So I will update
the rainfall conversion factor at that time and give you due
acknowledgement. The new version also incorporates an RGB LED that
signals with a colour as each sensor is successfully logged. I don't
have the circuit diagram drawn yet to accompany it so it may be a little
while before the whole thing is updated.
I am pleased with your interest in the project and assistance,
Rob
…On 12/02/17 20:54, Hserfontein wrote:
Hi Rob,
I agree with afeno, this is an excellent project and perfectly
documented :)
I would like to add my experience to your project. I did some vigorous
testing on the rain calculation and found that a factor of
"*25.4/1000.0" (instead of 25.0), yields a 100% accurate result
compared to the Oregon base station.
The calculations should therefor read as follows:
void rain(){
rainTotal =
float(((nyb(18)*100000)+(nyb(17)*10000)+(nyb(16)*1000)+(nyb(15)*100)+(nyb(14)*10)+nyb(13))*25.4/1000.0);
//Serial.println((nyb(18)*100000)+(nyb(17)*10000)+(nyb(16)*1000)+(nyb(15)*100)+(nyb(14)*10)+nyb(13),DEC);
rainRate =
float(((nyb(8)*10000)+(nyb(9)*1000)+(nyb(10)*100)+(nyb(11)*10)+nyb(12))*25.4/1000.0);
//Serial.println((nyb(8)*10000)+(nyb(9)*1000)+(nyb(10)*100)+(nyb(11)*10)+nyb(12),DEC);
I am not sure, but I think it has to do with the fact that there are
25.4 mm in an inch.
Regards,
Hennie
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AGzc5VLXiUQ-Omq6K4_8We6KqBPLxsq0ks5rbtbBgaJpZM4L-cVI>.
--
*Rob Ward*
Lake Tyers Beach, 3909
Lake Tyers Beach Website <http://www.laketyersbeach.net.au>
Ubuntu Mate - A great OS <https://ubuntu-mate.org/>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#5 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AYhyVyHThWMBiHNoIhZKD0KMWYTNxy3eks5rbvO7gaJpZM4L-cVI>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Rob,
I agree with afeno, this is an excellent project and perfectly documented :)
I would like to add my experience to your project. I did some vigorous testing on the rain calculation and found that a factor of "*25.4/1000.0" (instead of 25.0), yields a 100% accurate result compared to the Oregon base station.
The calculations should therefor read as follows:
void rain(){
rainTotal = float(((nyb(18)*100000)+(nyb(17)*10000)+(nyb(16)*1000)+(nyb(15)*100)+(nyb(14)*10)+nyb(13))*25.4/1000.0);
//Serial.println((nyb(18)*100000)+(nyb(17)*10000)+(nyb(16)*1000)+(nyb(15)*100)+(nyb(14)*10)+nyb(13),DEC);
rainRate = float(((nyb(8)*10000)+(nyb(9)*1000)+(nyb(10)*100)+(nyb(11)*10)+nyb(12))*25.4/1000.0);
//Serial.println((nyb(8)*10000)+(nyb(9)*1000)+(nyb(10)*100)+(nyb(11)*10)+nyb(12),DEC);
I am not sure, but I think it has to do with the fact that there are 25.4 mm in an inch.
Regards,
Hennie
The text was updated successfully, but these errors were encountered: