Input registers
@@ -669,10 +680,33 @@ APRS weather reports. But of course we use SI units.NOTE Register 30013 holds the backup temperature reading from the pressure sensor.
+Status bits | +Description | +logic 0 | +logic 1 | +
---|---|---|---|
0 | +Heater status | +heater off | +heater on | +
The ModBus registers are 16 bit wide. For better precision, some units are scaled by a factor of 10 or 100. This way, values with up to two decimal points can be stored as 16 bit integer values. Just divide diff --git a/build-doc/weather_station.md b/build-doc/weather_station.md index 45cfe10..f9a4e14 100644 --- a/build-doc/weather_station.md +++ b/build-doc/weather_station.md @@ -5,7 +5,11 @@ author: M.T. Konstapel date: 2024-01-15 website: https://meezenest.nl/mees/ logo: ./images/mees_logo.svg +pdf_version: ./weather_station.pdf +git_repo: https://git.meezenest.nl/ numbersections: true +# Formatting: +geometry: "a4paper, left=2.0cm, right=2.0cm, top=1.9cm, bottom=2.54cm" 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 can be read via an RS485 ModBus RTU interface. The main processor is an Arduino Pro Mini (ATmega328P 5V@16MHz) --- @@ -286,9 +290,14 @@ The measurements and order of the measurements are the same as for APRS weather | 30011 | Snow fall | NOT IMPLEMENTED | | 30012 | Raw rain counter | NOT IMPLEMENTED | | 30013 | Temperature (two's complement) | degrees Celcius * 100 | +| 30014 | Status bits | see table below | ^NOTE^ Register 30013 holds the backup temperature reading from the pressure sensor. +| Status bits | Description | logic 0 | logic 1 | +|-------------|---------------|------------|-----------| +| 0 | Heater status | heater off | heater on | + The ModBus registers are 16 bit wide. For better precision, some units are scaled by a factor of 10 or 100. This way, values with up to two decimal points can be stored as 16 bit integer values. Just divide by 10 or 100 to get the floating point values. # Schematic diff --git a/build-doc/weather_station.pdf b/build-doc/weather_station.pdf index 73f7cb5..f59425d 100644 Binary files a/build-doc/weather_station.pdf and b/build-doc/weather_station.pdf differ