I have been looking for a weather station for ages to attach to my 1wire network and could not justify the >US500 costs for the parts. Over Christmas I did purchase the hobby boards barometer, humidity and UV sensors together with a new HUB so I am on my way.
I have just found a lower cost alternative for wind speed/direction and rain gauge around $100 and although not as good as the more expensive units should at least get me underway and I can then upgrade latter.
http://www.sparkfun.com/datasheets/Sensors/Weather/Weather%20Sensor%20Assembly..pdf
I have a BAE910 that I will use to interface device to and was thinking.
AI Wind direction, CNT wind speed, PIO Rain Gauge
The following raw values can be fed directly into my rrdtools trend data however would also like some easy statistics calculated/accumulated at the BAE910 level which I could also feed into BAE910. As much data the BAE910 can calculate the easier the web interface will be to create as I do not need to do any rrdtool calcs to retrieve real time data. I will display this data on a simple web interface which will be created with raphaeljs. See current site www.rjconway.homeip.net
Rain -raw counts
Rain - today from midnight
Rain –mm/ 15 minutes
Rain – any other calcs you can think of ?
Wind -raw counts
Wind -windspeed averaged over xx time
Wind -Gust Speed & Time stamp last 24 hrs
Rain – any other calcs you can think of ?
Direction -raw analog voltage
Direction -degrees 0-360
Questions:
1. Do you think the calcs required are possible ? As the BAE is dedicated to these devices I would like to do as many calcs/statistics as humanly possible directly within the device.
2. Could the basic conversion calcs for rain and wind be implemented as a special AE function specific to this device. I was thinking as an example a function could be “RATE CNT 2794” and this would do the calculation/conversion same as wind speed without having to write AE code. I understand I am asking for a lot now and not really sure about the implementation.
3. Maybe I/we could do an application note specific to this sensor for the BAE910
4. I see the BAE911 with I2C would have been a good choice for Humidity (easy pulse input) and barometer I2C/SPI however have already purchased these as specific 1wire devices for my network so the BAE910 is what I have.
########### Instrument data ##############
Rain Gauge
0.2794 mm / pulse
Wind Speed
A wind speed of 1.492 MPH (2.4 km/h) causes the switch to close once per second
Wind Direction
Direction (Degrees) (Ohms) Voltage
0 33k 3.84v
22.5 6.57k 1.98v
45 8.2k 2.25v
67.5 891 0.41v
90 1k 0.45v
112.5 688 0.32v
135 2.2k 0.90v
157.5 1.41k 0.62v
180 3.9k 1.40v
202.5 3.14k 1.19v
225 16k 3.08v
247.5 14.12k 2.93v
270 120k 4.62v
292.5 42.12k 4.04v
315 64.9k 4.78v
337.5 21.88k 3.43v