![]() |
![]() |
---|---|
Example for a RS485 wind sensor using RAKwireless RUI3 on a RAK3172.
Works with the Rika RK900-09 sensor.
Sensor works by default with 9600 Baud
Rika RK900-09 Wind Sensor register setup
Address | Multiplier | Register content |
---|---|---|
0x0000 | /100 | Wind Speed |
0x0001 | /1 | Wind Direction |
0x0002 | /10 | Temperature |
0x0003 | /10 | Humidity |
0x0004 | /10 | Barometric Pressure |
0x0020 | *1 | Device address |
Assembly is done with the "standard" mounting plate of the Unify Enclosure.
Sensor connection is done
with the 5-pin IP65 connector of the Unify Enclosure. Antenna used is Blade Antenna with 2.3
dBi gain.
RAK19002 12V booster must be installed in the Sensor Slot B
A permanent power supply will be required due to the power consumption of the Wind Sensor. This is not yet implemented in the setup.
Firmware is based on RUI3-RAK5802-Modbus-Master with adjustements for the used RS485 sensor.
Send interval of the sensor values can be set with a custom AT command. Interval time is set in seconds
ATC+SENDINT?
Command definition
ATC+SENDINT,: Set/Get the interval sending time values in seconds 0 = off, max 2,147,483 seconds
OK
ATC+SENDINT=?
Get current send interval in seconds
ATC+SENDINT=3600
OK
ATC+SENDINT=3600
Get current send interval to 3600 seconds == 1 hour
ATC+SENDINT=3600
OK