Skip to content

cropsteering/OS-RS485

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OS-RS485 - Alpha

OpenSteering-RS485 Data logger

Pins must be defined in rs485.h if you are using the RAK5802 you should set your pins as follows.

#define RS485_DEFAULT_DE_PIN (0xff)

#define RS485_DEFAULT_RE_PIN (0xff)

#define SERIAL_PORT_HARDWARE Serial1

MQTT Downlink Config commands

To start rs485 measurements, with a single ComWinTop THC-S rs485 Soil sensor, send the following command.

2+01+03+00+00+00+03+05+CB

You can send these via MQTT downlink to the following sub

MQTT_USER/MQTT_ID/config
example: r4wk/test/config

This is all set in the mqtt_config.h

Hardware needed

You'll want a RAK baseboard and RAK11200 core

And then you will want the RS485 Module: RAK5802

If you want to use the SD card module, you will want to use the DUAL IO board ( RAK19001 )

How to flash

  1. https://docs.rakwireless.com/Product-Categories/WisBlock/RAK11200/Quickstart/#install-platformio
  2. Clone this repo to a local folder
  3. Open cloned folder in VSCode+PlatformIO (from above)
  4. Press the PlatformIO: Upload button (or however you want to build/flash)

Support

If you want to support, use one of the referral links above to purchase your RAK hardware. OR just use the referral code

You won't see the discount until you check out

About

OpenSteering-RS485 Data logger

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published