Skip to content

beegee-tokyo/RAK-OneWireSerial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAKWireless WisBlock RAKstar

⚠️ BETA! ⚠️

This library is still in testing phase!

Library for RAK-OneWireSerial

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.

⚠️ This library implements a software half serial communication. It is designed to work with the WisBlock RAK4631 (Arduino) only. ⚠️


Required hardware

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.
RAKWireless

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


Examples


Installation

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

SERIAL assignments

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.

Functions

About

This library provides functions to communicate over a one wire serial interface with slave modules This protocol is used by RAK2560 SensorHub

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors