marcel
eeb6bd846c
|
8 months ago | |
---|---|---|
article | 10 months ago | |
build-doc | 8 months ago | |
datasheet | 8 months ago | |
firmware | 8 months ago | |
hardware/ds-15901_interface | 11 months ago | |
test_software | 11 months ago | |
CHANGELOG.md | 8 months ago | |
LICENSE | 12 months ago | |
README.md | 9 months ago | |
TODO.md | 8 months ago |
README.md
Weather station with ModBus over RS-485
Abstract
A weather station build around a SparkFun Weather Meter Kit (SEN-15901). The temperature, humidity and pressure are measured with I2C sensors housed in an RS1 Passive Radiation Shield from Garni. The data is available via an RS485 ModBus RTU interface. The main processor is an Arduino Pro Mini (ATmega328P 5V@16MHz)
Documentation
An apprehensive description of the project can be found here: https://meezenest.nl/mees/weather_station.html
Sensors
- SparkFun SEN-15901 Weather Station (wind speed, wind direction and rain fall)
- Silicon Labs Si7021 (humidity and temperature)
- Bosch BMP280 (pressure)
Measurements
- Wind direction
- Wind speed (average of last 10 minutes)
- Wind gust (last 10 minutes)
- Rain fall (last hour)
- Rain fall (last 24 hours)
- Temperature
- Humidity
- Atmospheric pressure
ModBus
- RS485 transceiver
- ModBus address: 14 (fixed in software)
Dependencies
- Arduino IDE
Arduino libraries
- https://github.com/sparkfun/SparkFun_Weather_Meter_Kit_Arduino_Library
- https://github.com/orgua/iLib
- https://github.com/epsilonrt/modbus-arduino
- https://github.com/epsilonrt/modbus-serial
Libraries are included with the source code of this project
Known bugs
There is a bug in the Si7021 chip: when the sensor is exposed to extreme environmental conditions for a longer period (very high or very low humidity), the humidity register will wrap around and give wrong values. (https://community.silabs.com/s/question/0D51M00007xeOo9SAE/si7021-relative-humidity-reading-underflowing-?language=en_US). Workaround: let's assume the humidity will never go below 15%. In the Netherlands a humidity below 20% is rare, but can occur and the minimum value ever measured in De Bilt was 6% (on 1 april 1965). At several other sites in the Netherlands the humidity went as low as 10%. But as this was a one time event and the measurements are doubtful, this event was not registered in the original database. (https://nl.wikipedia.org/wiki/Relatieve_luchtvochtigheid) In rare cases, the humidity value could creep up above 15% (when the actual humidity is 100%) and still give wrong values.
License
Copyright (C) 2023, 2024 M.T. Konstapel
Software
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Hardware and documentation
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.