![]() |
![]() |
![]() |
|---|
This library is still in testing phase!
This library provides functions to communicate over a one wire serial interface with slave modules.
This protocol is used by RAK2560 SensorHub sensor probes and IO probes. It is as well used to communicate with the RAK9154 Solar Battery Lite.
The simpliest hardware configuration to connect to SensorHub Sensor Probes and IO Probes that do not require 12V supply (check the data sheets)
- RAK19007 WisBlock Base Board
- RAK4631 WisBlock Core Module
- RAK13002 WisBlock IO module
- RAK19002 WisBlock Boost module (if 12V supply is required)
In this configuration, the Sensor Probe is connected with 3.3V, GND and RXD1 only from the RAK13002 module only.

For Sensor and IO probes that require a 12V supply voltage, an extra supply source is required, e.g. the RAK19002 Boost Module.

- RakOnewireProtocol - Using the library to communicate with a SensorHub Sensor or IO Probe
- RAK4631-OneWireSerial - PlatformIO example with parsing of the received sensor data
- SoftwareHalfSerialExample - Example for the software half serial interface.
In Arduino IDE install the library from the library manager. The library can be found in the manager with the searcth term RAK-OneWireSerial. For manual installation download the library from RAK-OneWireSerial as ZIP file. Unzip it and place the RUI3-Arduino-Library folder into the library directory. In Arduino IDE this is usually /libraries/
In PlatformIO install the library project dependencies by adding
lib_deps =
beegee-tokyo/RAK-OneWireSerial
into platformio.ini
For the latest, not released version use
lib_deps =
https://github.com/beegee-tokyo/RAK-OneWireSerial.git
The OneWireSerial is a software serial communication. It is preferable used with RX1 (GPIO P0.15) of the RAK4631.
It should work with other GPIO's as well, but it is not tested.


