Firmware for the RNode radio interface
Go to file
Mark Qvist 7f998e6436 Merge branch 'master' of github.com:markqvist/RNode_Firmware 2024-10-12 14:07:25 +02:00
.github/ISSUE_TEMPLATE Added issue templates 2024-02-29 18:02:28 +01:00
Builds/Handheld RNode Added build guide 2023-01-16 12:37:12 +01:00
Console Updated console image 2024-10-11 17:46:13 +02:00
Documentation Updated readme 2023-09-18 10:26:08 +02:00
Fonts Added fonts 2023-09-12 21:50:13 +02:00
Python Module Cleanup 2023-01-16 12:48:22 +01:00
Release Updated console image 2024-10-11 17:46:13 +02:00
.gitignore Added basic console site generator and web server 2023-01-07 23:32:07 +01:00
BLESerial.cpp Cleanup 2024-10-11 16:39:38 +02:00
BLESerial.h Cleanup 2024-10-11 16:39:38 +02:00
Bluetooth.h Decrease connection interval on BLE to increase throughput 2024-10-12 12:55:35 +01:00
Boards.h Added input button and sleep config to T-Beam and Heltec v2 boards 2024-10-05 22:20:34 +02:00
Config.h Cleanup 2024-10-11 16:39:38 +02:00
Console.h Cleanup 2024-10-11 16:39:38 +02:00
Device.h Cleanup 2024-10-11 16:39:38 +02:00
Display.h Cleanup 2024-10-11 16:39:38 +02:00
Framing.h Cleanup 2024-10-11 16:39:38 +02:00
Graphics.h Cleanup 2024-10-11 16:39:38 +02:00
Input.h Added basic input driver 2024-05-02 01:13:26 +02:00
LICENSE Updated license to GPLv3 2022-11-10 12:34:33 +01:00
MD5.cpp MD5 library 2018-06-20 08:45:36 +02:00
MD5.h MD5 library 2018-06-20 08:45:36 +02:00
Makefile Cleanup 2024-10-11 16:39:38 +02:00
Modem.h Add SX1280 driver and split driver in three parts 2024-02-09 20:56:26 +00:00
Power.h Cleanup 2024-10-11 16:39:38 +02:00
README.md Updated readme 2024-10-11 17:23:31 +02:00
RNode_Firmware.ino Improve checks around split packet handling in transmit() 2024-10-12 13:00:52 +01:00
ROM.h Cleanup 2024-10-11 16:39:38 +02:00
Utilities.h Cleanup 2024-10-11 16:39:38 +02:00
arduino-cli.yaml Add unsigned.io boards to arduino-cli environment prep 2024-04-20 21:21:55 +02:00
esp32_btbufs.py Check ESP32 BT buffer config before building 2024-09-25 14:21:38 +02:00
partition_hashes Cleanup 2024-10-11 16:39:38 +02:00
release_hashes.py Cleanup 2024-10-11 16:39:38 +02:00
sx126x.cpp Cleanup 2024-10-11 16:39:38 +02:00
sx126x.h Cleanup 2024-10-11 16:39:38 +02:00
sx127x.cpp Cleanup 2024-10-11 16:39:38 +02:00
sx127x.h Cleanup 2024-10-11 16:39:38 +02:00
sx128x.cpp Cleanup 2024-10-11 16:39:38 +02:00
sx128x.h Cleanup 2024-10-11 16:39:38 +02:00

README.md

Important! This repository is currently functioning as a stable reference for the default RNode Firmware, and only receives bugfix and security updates. Further development, new features and expanded board support is now happening at the RNode Firmware Community Edition repository, and is maintained by Liberated Systems. Thanks for all contributions so far!

RNode Firmware

This is the open firmware that powers RNode devices.

An RNode is an open, free and unrestricted digital radio transceiver. It enables anyone to send and receive any kind of data over both short and very long distances. RNodes can be used with many different kinds of programs and systems, but they are especially well suited for use with Reticulum.

RNode is not a product, and not any one specific device in particular. It is a system that is easy to replicate across space and time, that produces highly functional communications tools, which respects user autonomy and empowers individuals and communities to protect their sovereignty, privacy and ability to communicate and exchange data and ideas freely.

An RNode made from readily available and cheap parts, in a durable 3D printed case

The RNode system is primarily software, which transforms different kinds of available hardware devices into functional, physical RNodes, which can then be used to solve a wide range of communications tasks. Such RNodes can be modified and built to suit the specific time, locale and environment they need to exist in.

Latest Release

The latest release, installable through rnodeconf, is version 1.78. This release brings the following changes:

  • Improves BLE on RAK4631
  • Adds graceful BLE disconnect on device sleep
  • Fixes intermittent packet corruption on RAK4631
  • Fixes incorrect preamble calculation on SX1280
  • Improves CSMA parameters and P-curve
  • Updated console image to include latest packages

You must have at least version 2.2.0 of rnodeconf installed to update the RNode Firmware to version 1.78. Get it by updating the rns package to at least version 0.8.4.

A Self-Replicating System

If you notice the presence of a circularity in the naming of the system as a whole, and the physical devices, it is no coincidence. Every RNode contains the seeds necessary to reproduce the system, the RNode Bootstrap Console, which is hosted locally on every RNode, and can be activated and accesses at any time - no Internet required.

The designs, guides and software stored within allows users to create more RNodes, and even to bootstrap entire communications networks, completely independently of existing infrastructure, or in situations where infrastructure has become unreliable or is broken.

Where there is no Internet, RNodes will still communicate

The production of one particular RNode device is not an end, but the potential starting point of a new branch of devices on the tree of the RNode system as a whole.

This tree fits into the larger biome of Free & Open Communications Systems, which I hope that you - by using communications tools like RNode - will help grow and prosper.

One Tool, Many Uses

The RNode design is meant to flexible and hackable. At it's core, it is a low-power, but extremely long-range digital radio transceiver. Coupled with Reticulum, it provides encrypted and secure communications.

Depending on configuration, it can be used for local networking purposes, or to send data over very long distances. Once you have an RNode, there is a wide variety of possible uses:

Types & Performance

RNodes can be made in many different configurations, and can use many different radio bands, but they will generally operate in the 433 MHz, 868 MHz, 915 MHZ and 2.4 GHz bands. They will usually offer configurable on-air data speeds between just a few hundred bits per second, up to a couple of megabits per second. Maximum output power will depend on the transceiver and PA setup used, but will generally lie between 17 dbm and 27 dBm.

The RNode system has been designed to allow reliable systems for basic human communications, over very wide areas, while using very little power, being cheap to build, free to operate, and near impossible to censor.

While speeds are lower than WiFi, typical communication ranges are many times higher. Several kilometers can be acheived with usable bitrates, even in urban areas, and over 100 kilometers can be achieved in line-of-sight conditions.

Supported Boards & Devices

It's easy to create your own RNodes from one of the supported development boards and devices. If a device or board you want to use is not yet supported, you are welcome to join the effort and help creating a board definition and pin mapping for it!

The RNode Firmware supports the following boards:

  • LilyGO T-Beam v1.1 devices with SX1276/8 LoRa chips
  • LilyGO T-Beam v1.1 devices with SX1262/8 LoRa chips
  • LilyGO T-Beam Supreme devices
  • LilyGO T-Deck devices (currently display is disabled)
  • LilyGO LoRa32 v1.0 devices
  • LilyGO LoRa32 v2.0 devices
  • LilyGO LoRa32 v2.1 devices (with and without TCXO)
  • LilyGO T3S3 devices with SX1276/8 LoRa chips
  • LilyGO T3S3 devices with SX1262/8 LoRa chips
  • Heltec LoRa32 v2 devices
  • Heltec LoRa32 v3 devices
  • RAK4631 devices
  • Homebrew RNodes based on ATmega1284p boards
  • Homebrew RNodes based on ATmega2560 boards
  • Homebrew RNodes based on Adafruit Feather ESP32 boards
  • Homebrew RNodes based on generic ESP32 boards

Supported Transceiver Modules

The RNode Firmware supports all transceiver modules based on Semtech SX1276 or Semtech SX1278 chips, that have an SPI interface and expose the DIO_0 interrupt pin from the chip.

Support for SX1262, SX1268 and SX1280 is being implemented. Please support the project with donations if you want this faster!

Getting Started Fast

You can download and flash the firmware to all the supported boards using the RNode Config Utility. All firmware releases are now handled and installed directly through the rnodeconf utility, which is included in the rns package. It can be installed via pip:

# Install rnodeconf via rns package
pip install rns --upgrade

# Install the firmware on a board with the install guide
rnodeconf --autoinstall

For more detailed instruction and in-depth guides, you can have a look at some of these resources:

If you would rather just buy a pre-made unit, you can visit one of the community vendors that produce and sell RNodes:

If you'd like to have your shop added to this list, let me know.

Support RNode Development

You can help support the continued development of open, free and private communications systems by donating via one of the following channels:

  • Monero:
    84FpY1QbxHcgdseePYNmhTHcrgMX4nFfBYtz2GKYToqHVVhJp8Eaw1Z1EedRnKD19b3B8NiLCGVxzKV17UMmmeEsCrPyA5w
    
  • Ethereum
    0xFDabC71AC4c0C78C95aDDDe3B4FA19d6273c5E73
    
  • Bitcoin
    35G9uWVzrpJJibzUwpNUQGQNFzLirhrYAH
    
  • Ko-Fi: https://ko-fi.com/markqvist

License & Use

The RNode Firmware is Copyright © 2024 Mark Qvist / unsigned.io, and is made available under the GNU General Public License v3.0. The source code includes an SX1276 driver that is released under MIT License, and Copyright © 2018 Sandeep Mistry / Mark Qvist.

You can obtain the source code from git.unsigned.io or GitHub.

Every RNode also includes an internal copy of it's own firmware source code, that can be downloaded through the RNode Bootstrap Console, by putting the RNode into Console Mode (which can be activated by pressing the reset button two times within two seconds).

The RNode Ecosystem is free and non-proprietary, and actively seeks to distribute it's ownership and control. If you want to build RNodes for commercial purposes, including selling them, you must do so adhering to the Open Source licenses that the various parts of the RNode project is released under, and under your own responsibility.

If you distribute or modify this work, you must adhere to the terms of the GPLv3, including, but not limited to, providing up-to-date source code upon distribution, displaying appropriate copyright and license notices in prominent positions of all conveyed works, and making users aware of their rights to the software under the GPLv3.

In practice, this means that you can use the firmware commercially, but you must understand your obligation to provide all future users of the system with the same rights, that you have been provided by the GPLv3. If you intend using the RNode Firmware commercially, it is worth reading this page.