
© Agrowtek Inc. | www.agrowtek.com | Technology to Help You Grow™
8
Sensor # Type Integer Scale Range
1 Temperature x100 -2000 - 6000 (-20 - 60°C) / -400 - 14000 (-4 - 140°F)
2 Humidity x10 0 - 1000 (0 - 100%)
3 Light x1 0 - 1000 W/m2
4CO2 x1 0 - 10,000 ppm
5 Speed x1 0 - 125mph
6 Direction x1 0 - 359°
7 Barometric Pressure NOT CURRENTLY AVAILABLE
8 Rain 0 - 1
Sensors with alternate units may toggle the units using the“toggle units”register. To toggle the units, send
the sensor channel number to to the toggle register. This register is write-only.
For example: to toggle between °F and °C, send a “1” to register 1002.
Sensor values are available in integer or oating point formats depending on the register requested
(see map.)
Sensor Value Registers
0x03 Read Multiple Registers
0x06 Write Single Register
A request to use a function that is not available will return an illegal function exception.
Supported Commands
Data registers are 16 bits wide with addresses using the standard MODICON protocol. Floating point values
use the standard IEEE 32-bit format occupying two contiguous 16 bit registers. ASCII values are stored with
two characters (bytes) per register in hexadecimal format.
Register Types
Toggle Units Register
For example: an integer temperature value of 2417 is equal to a temperature reading of 24.17°C.
The value“9999” is representative of a failed sensor (with the exception of CO2 which will read 0.)
Calibration registers are 16-bit signed integers for the purpose of calibrating the sensor values or analog out-
put channels. Calibration may be achieved by writing the desired calibrated value to the associated register.
Writing to the calibration registers automatically invokes the calibration routine for that register.
Oset Calibration
Oset, or zero calibration, is an arithmatic positive or negative correction to the sensor reading and is the
only type of sensor calibration available on climate/environmental sensors.
To perform a sensor oset calibration, simply write the corrected sensor value to the oset calibration reg-
siter (taking into account the integer scale as shown above.)
Calibration Registers