diff --git a/Boards.h b/Boards.h index 7899609..3c8a409 100644 --- a/Boards.h +++ b/Boards.h @@ -1059,7 +1059,7 @@ false // DIO2_AS_RF_SWITCH }, }; - const int8_t interface_pins[INTERFACE_COUNT][10] = { + /*const int8_t interface_pins[INTERFACE_COUNT][10] = { // SX1278 { 39, // pin_ss @@ -1073,8 +1073,8 @@ -1, // pin_rxen -1 // pin_tcxo_enable } - }; - /*const int8_t interface_pins[INTERFACE_COUNT][10] = { + };*/ + const int8_t interface_pins[INTERFACE_COUNT][10] = { // SX1278 { 10, // pin_ss @@ -1088,7 +1088,7 @@ -1, // pin_rxen -1 // pin_tcxo_enable } - };*/ + }; #else #error An unsupported ESP32 board was selected. Cannot compile RNode firmware. diff --git a/CHANGELOG.md b/CHANGELOG.md index fc279b9..9a4572a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,22 @@ All notable changes to this project will be documented in this file. Fixed : for any bug fixes. Security : in case of vulnerabilities. +### 2025-03-03 + +Final pinout of LoRa module defined. Should work on most ESP32-S3 development boards. + +|pin|GPIO| +|---|----| +|NSS|10| +|MOSI|11| +|SCK|12| +|MISO|13| +|RST|14| +|DIO|15| +|BUSY|16| +|RX LED|17| +|TX LED|18| + ### 2025-02-28 Started all over again. This time I succeeded! The Waveshare ESP32 S3 Pico and the Ra-02 SX1278 LoRa transceiver are working as a proper rnode. It took me some time, but now I am happy. See Documentation/HOWTO-change-firmware-and-compile-it_MeesElectronics.md for more information about adding a new board to the code. diff --git a/Makefile b/Makefile index 34a0acc..e40a48a 100644 --- a/Makefile +++ b/Makefile @@ -275,9 +275,9 @@ upload-techo: # Added board from Mees Electronics upload-waveshare-esp32-s3-pico: - arduino-cli upload -p $(or $(port), /dev/ttyACM1) --fqbn esp32:esp32:esp32s3 + arduino-cli upload -p $(or $(port), /dev/ttyACM0) --fqbn esp32:esp32:esp32s3 @sleep 1 - python3 ./Release/esptool/esptool.py --port $(or $(port), /dev/ttyACM1) --chip esp32-s3 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x210000 ./Release/console_image.bin + python3 ./Release/esptool/esptool.py --port $(or $(port), /dev/ttyACM0) --chip esp32-s3 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x210000 ./Release/console_image.bin @sleep 3 rnodeconf $(or $(port), /dev/ttyACM0) --firmware-hash $$(./partition_hashes ./build/esp32.esp32.esp32s3/RNode_Firmware_CE.ino.bin) diff --git a/README.md b/README.md index df8b932..f7c04eb 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,26 @@ -# RNode Firmware - Community Edition +# RNode Firmware - Mees Electronics Edition This is a copy of the community maintained fork of the open firmware which powers RNode devices found on [https://github.com/liberatedsystems/RNode_Firmware_CE](https://github.com/liberatedsystems/RNode_Firmware_CE). The copy has been created to add support for hardware designed by [Mees Electronics](https://meezenest.nl/mees). The original repository by Mark Qvist can be found [here](https://github.com/markqvist/RNode_Firmware). The first new board is a combination of a Waveshare ESP32 S3 Pico and an Ra-02 SX1278 LoRa transceiver. See [./Documentation/HOWTO-change-firmware-and-compile-it_MeesElectronics.md](https://git.meezenest.nl/marcel/RNode_Firmware_CE/src/branch/master/Documentation/HOWTO-change-firmware-and-compile-it_MeesElectronics.md) for more information about adding a new board to the code. +The Waveshare firmware also works on the LilyGO T7-S3 ESP32-S3 Development Board. And it is expected to work on all ESP32-S3 boards which expose the proper GPIO pins. + Pinout between ESP and Ra-02: |Ra-02|ESP32 GPIO| |---|----| -|NSS|39| -|MOSI|37| -|MISO|36| -|SCK|38| -|RST|40| -|DIO|35| +|NSS|10| +|MOSI|11| +|SCK|12| +|MISO|13| +|RST|14| +|DIO|15| +|BUSY|16| +|RX LED|17| +|TX LED|18| + +# What it is 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](https://reticulum.network).