From 7cbc1a2b85aef6c272d35a91c16e4e2b5172949e Mon Sep 17 00:00:00 2001
From: noon92 <40807970+noon92@users.noreply.github.com>
Date: Mon, 18 Nov 2024 13:57:36 +0200
Subject: [PATCH 02/11] README.md updated from https://stackedit.io/
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 22038fc..26dbe48 100644
--- a/README.md
+++ b/README.md
@@ -54,7 +54,7 @@
An image preconfigured with the TC2-BBS for comms over UART4.
An image preconfigured with the TC2-BBS for comms over USB. This assumes the USB device is recognized as /dev/ttyACM0.
-Login for the “fresh” image is root:root or pico:luckfox. Login for the configured BBS images is bbs:mesh.
+Login for the “fresh” image is root:root or pico:luckfox. Login for the configured BBS images is bbs:mesh or femto:fox.
The preconfigured images will reboot every 24 hours, and restart the BBS every other hour. In theory, this should happen at 7am UTC (because both the US and Europe are generally inactive at that time). Time is set on boot with the following logic:
- If the system recognizes an RTC module connected via i2c, it will use that.
From 12cab5addaa7eac1a20e5512249aa4dd74412198 Mon Sep 17 00:00:00 2001
From: noon92 <40807970+noon92@users.noreply.github.com>
Date: Mon, 18 Nov 2024 14:00:18 +0200
Subject: [PATCH 03/11] README.md updated from https://stackedit.io/
---
README.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 26dbe48..2cf8980 100644
--- a/README.md
+++ b/README.md
@@ -54,7 +54,7 @@
- An image preconfigured with the TC2-BBS for comms over UART4.
- An image preconfigured with the TC2-BBS for comms over USB. This assumes the USB device is recognized as /dev/ttyACM0.
-Login for the “fresh” image is root:root or pico:luckfox. Login for the configured BBS images is bbs:mesh or femto:fox.
+Login for the “fresh” image is root:root or pico:luckfox. Login for the configured BBS images is root:root, bbs:mesh or femto:fox.
The preconfigured images will reboot every 24 hours, and restart the BBS every other hour. In theory, this should happen at 7am UTC (because both the US and Europe are generally inactive at that time). Time is set on boot with the following logic:
- If the system recognizes an RTC module connected via i2c, it will use that.
@@ -65,10 +65,10 @@
Networking
There are four methods to get online:
-- Ethernet over USB - most adapters should be supported, but I’ve only tested the RTL8152 chipset
-- Preconfigured Ubuntu images: ethernet via the castellated pins at the bottom of the board. See pinout at the bottom of this readme. Note that the MAC address for onboard ethernet is hardcoded to 1a:cf:50:33:5f:92 - if you need to change this,
sudo nano /etc/network/interfaces
-- USB wifi - still a work in progress, but working with a couple different chipsets so far. Note we’re using wpa_supplicant, as networkmanager (nmcli) caused hard crashes
-- RDNIS via usb - see this guide. Note that in the preconfigured images USB is set to host mode, so you’ll have to switch back to peripheral with
sudo luckfox-config. This is not really recommended, but can be used in a pinch
+- Ethernet over USB - most adapters should be supported, but I’ve only tested the RTL8152 chipset.
+- Preconfigured Ubuntu images: ethernet via the castellated pins at the bottom of the board. See pinout at the bottom of this readme. Note that the MAC address for onboard ethernet is hardcoded to 1a:cf:50:33:5f:92 - if you need to change this,
sudo nano /etc/network/interfaces.
+- USB wifi - still a work in progress, but working with a couple different chipsets so far. Note we’re using wpa_supplicant, as networkmanager (nmcli) caused hard crashes.
+- RDNIS via usb - see this guide. Note that in the preconfigured images USB is set to host mode, so you’ll have to switch back to peripheral with
sudo luckfox-config. This is not really recommended, but can be used in a pinch.
Supported hardware
The following hardware is confirmed working with the linked Ubuntu images. Links are to generally accepted “reliable vendors”.
From 4fa62c91c4c68f0925bd05644a8bbee3ed5ad1a3 Mon Sep 17 00:00:00 2001
From: noon92 <40807970+noon92@users.noreply.github.com>
Date: Mon, 18 Nov 2024 14:01:40 +0200
Subject: [PATCH 05/11] README.md updated from https://stackedit.io/
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 2cf8980..b576f75 100644
--- a/README.md
+++ b/README.md
@@ -117,7 +117,7 @@
Installation - connection to Meshtastic node via UART or USB
Choosing a MicroSD card: Any reasonably fast MicroSD card of 32gb or higher should work, but ideally use a card that supports UHS-1 or higher, and is rated for high endurance.
-- Uncompress the 7z file - will require ~29gb of space. In windows, use 7-zip.
+- Uncompress the 7z file - will require ~29gb of space. In Windows, use 7-zip.
- Flash the image your MicroSD card using Balena Etcher or your favorite flashing program. You will likely get a warning that the image appears to be invalid or has no partition table. This is normal.
- Insert the microSD card into the Pico Mini.
- Connect Pico Mini to Meshtastic radio via pins or USB, depending on image flashed. If using pins - use pins 10 and 11 on the Luckfox board.
From 6c119a27082b341e0c785243ed2c4811625010bc Mon Sep 17 00:00:00 2001
From: noon92 <40807970+noon92@users.noreply.github.com>
Date: Mon, 18 Nov 2024 14:02:30 +0200
Subject: [PATCH 06/11] README.md updated from https://stackedit.io/
---
README.md | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/README.md b/README.md
index b576f75..d21a75c 100644
--- a/README.md
+++ b/README.md
@@ -138,8 +138,7 @@
-
-- Rak19003 will require different pin numbers - probably
19,20 but this is untested.
+
- Remember - connect TX on the Luckfox to RX on the Meshtastic board, and vice-versa.
- Power can be supplied to the RAK board via the 3.3v out pin on the Luckfox.
- If communications is via UART, you must bridge the grounds of the two boards.
From ae70a53b792a6a7c645365823d166659a32bb584 Mon Sep 17 00:00:00 2001
From: noon92 <40807970+noon92@users.noreply.github.com>
Date: Mon, 18 Nov 2024 14:13:16 +0200
Subject: [PATCH 07/11] README.md updated from https://stackedit.io/
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index d21a75c..bb6b483 100644
--- a/README.md
+++ b/README.md
@@ -92,7 +92,7 @@
| LoRa radios (working with Meshtasticd) |
* Waveshare RPi LoRa hat without GNSS * Seeed Wio SX1262 * Ebyte E220900M30S |
-Any SPI LoRa radio that’s Meshtastic compatible |
+* E22-900mm22s * E22-900m22s * RA-01SH * HT-CT62 * Any SPI LoRa radio that’s Meshtastic compatible |
Waveshare RPi hat is not recommended as it has issues with sending longer messages. |
From 3c163220761ec91c4293fe119a184971f48cbf5d Mon Sep 17 00:00:00 2001
From: noon92 <40807970+noon92@users.noreply.github.com>
Date: Mon, 18 Nov 2024 14:20:30 +0200
Subject: [PATCH 08/11] README.md updated from https://stackedit.io/
---
README.md | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index bb6b483..097581a 100644
--- a/README.md
+++ b/README.md
@@ -84,18 +84,18 @@
+| LoRa radios (working with Meshtasticd) |
+* Waveshare RPi LoRa hat without GNSS * Seeed Wio SX1262 * Ebyte E220900M30S * RA-01SH * HT-CT62 |
+* E22-900mm22s * E22-900m22s * Any SPI LoRa radio that’s Meshtastic compatible |
+Waveshare RPi hat is not recommended as it has issues with sending longer messages. |
+
+
| RTC (real time clock) |
* DS3231M * DS1307 |
DS1337, DS1338, DS1340, other DS3231 variants |
Some DS3231 modules are listed as have a supercapacitor - these are usually actually lithium coin cells. |
-| LoRa radios (working with Meshtasticd) |
-* Waveshare RPi LoRa hat without GNSS * Seeed Wio SX1262 * Ebyte E220900M30S |
-* E22-900mm22s * E22-900m22s * RA-01SH * HT-CT62 * Any SPI LoRa radio that’s Meshtastic compatible |
-Waveshare RPi hat is not recommended as it has issues with sending longer messages. |
-
-
| Meshtastic nodes |
USB+UART: RAK4631 with RAK19007 or RAK19003 base board |
|
From 10b497a001f54ce0c63c929586566e7447d585c8 Mon Sep 17 00:00:00 2001
From: Tom <116762865+Nestpebble@users.noreply.github.com>
Date: Mon, 18 Nov 2024 13:00:47 +0000
Subject: [PATCH 09/11] Update config.yaml
Added extra radio modules and expected pin configurations
---
meshtasticd/config.yaml | 45 +++++++++++++++++++++++++++++++++++------
1 file changed, 39 insertions(+), 6 deletions(-)
diff --git a/meshtasticd/config.yaml b/meshtasticd/config.yaml
index f58c978..182e62d 100644
--- a/meshtasticd/config.yaml
+++ b/meshtasticd/config.yaml
@@ -8,18 +8,51 @@
Lora:
### Luckfox specific configs:
-
- # Module: sx1262 # Waveshare SX126X XXXM
+
+ ## Waveshare SX126X XXXM
+ ## AI Thinker RA-01SH
+ ## Will work with any module with automatic RF switching, and with no TCXO
+ # Module: sx1262
# gpiochip: 1 # subtract 32 from the gpio numbers
# DIO2_AS_RF_SWITCH: true
# CS: 16 #pin6 (GPIO pin 48 1C0)
# IRQ: 23 #pin17 (GPIO pin 55 1C7)
- # Busy: 22 #pin16 (GPIO pin 54 1C6)
# Reset: 25 #pin13 (GPIO pin 57 1D1)
+ # Busy: 22 #pin16 (GPIO pin 54 1C6)
+ # spidev: spidev0.0 #pins are (CS=6, CLK=7, MOSI=8, MISO=9)
+ # spiSpeed: 2000000
+
+ ## Heltec HT-RA62, Seeed WIO SX1262
+ ## Will work with any module with automatic RF switching, and with TCXO
+ # Module: sx1262
+ # gpiochip: 1 # subtract 32 from the gpio numbers
+ # DIO2_AS_RF_SWITCH: true
+ # DIO3_TCXO_VOLTAGE: true
+ # CS: 16 #pin6 (GPIO pin 48 1C0)
+ # IRQ: 23 #pin17 (GPIO pin 55 1C7)
+ # Reset: 25 #pin13 (GPIO pin 57 1D1)
+ # Busy: 22 #pin16 (GPIO pin 54 1C6)
+ # spidev: spidev0.0 #pins are (CS=6, CLK=7, MOSI=8, MISO=9)
+ # spiSpeed: 2000000
+
+ ## Ebyte E22-900M30S, E22-900M22S with no external RF switching setup
+ ## Will work with any module without RF switching, and with TCXO
+ # Module: sx1262
+ # gpiochip: 1 # subtract 32 from the gpio numbers
+ # DIO2_AS_RF_SWITCH: true
+ # DIO3_TCXO_VOLTAGE: true
+ # CS: 16 #pin6 / GPIO48 1C0
+ # IRQ: 23 #pin17 / GPIO55 1C7
+ # Busy: 22 #pin16 / GPIO54 1C6
+ # Reset: 25 #pin13 / GPIO57 1D1
+ # RXen: 24 #pin12 / GPIO56 1D0
+ # #TXen: bridge to DIO2 on E22 module
# spidev: spidev0.0
# spiSpeed: 2000000
-
- # Module: sx1262 # Bare E22-900M30S or similar
+
+ ## Ebyte E22-900MM22S with no external RF switching setup
+ ## Will work with any module without RF switching and no TCXO
+ # Module: sx1262
# gpiochip: 1 # subtract 32 from the gpio numbers
# DIO2_AS_RF_SWITCH: true
# DIO3_TCXO_VOLTAGE: true
@@ -187,4 +220,4 @@
General:
MaxNodes: 200
MaxMessageQueue: 100
- ConfigDirectory: /etc/meshtasticd/config.d/
\ No newline at end of file
+ ConfigDirectory: /etc/meshtasticd/config.d/
From ecde4f0a692ec08d6570b8fc35c589fad61a78ec Mon Sep 17 00:00:00 2001
From: Tom <116762865+Nestpebble@users.noreply.github.com>
Date: Mon, 18 Nov 2024 13:03:37 +0000
Subject: [PATCH 10/11] Added pinout mapping table
---
README.md | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/README.md b/README.md
index 097581a..827c3af 100644
--- a/README.md
+++ b/README.md
@@ -152,3 +152,18 @@


+## Pinout mapping
+
+| Pin | Pin | Function | | Pin | Pin | Function |
+| ----- | ----- | ---------- | --- | ----- | ------- | ----------- |
+| 1 | VBus | 5V in/out | | 22 | 1V8 | 1.8V out |
+| 2 | GND | | | 21 | GND | |
+| 3 | 3V3 | 3.3V out | | 20 | 4C1 | 1v8 io |
+| 4/42 | 1B2 | UART2TX | | 19 | 4C0 | 1v8 io |
+| 5/43 | 1B3 | UART2RX | | 18/4 | 0A4 | 3v3 io |
+| 6/48 | 1C0 | CS0 | | 17/55 | 1C7 | IRQ |
+| 7/49 | 1C1 | CLK | | 16/54 | 1C6 | BUSY |
+| 8/50 | 1C2 | MOSI | | 15/59 | 1D3 | i2c SCL |
+| 9/51 | 1C3 | MISO | | 14/58 | 1D2 | i2c SDA |
+| 10/52 | 1C4 | UART4TX | | 13/57 | 1D1 | NRST |
+| 11/53 | 1C5 | UART4RX | | 12/56 | 1D0 | RXEN |
From fd1990b9ebee9c0bb4e1307388d0d742b82768c3 Mon Sep 17 00:00:00 2001
From: noon92 <40807970+noon92@users.noreply.github.com>
Date: Mon, 18 Nov 2024 16:03:19 +0200
Subject: [PATCH 11/11] README.md updated from https://stackedit.io/
---
README.md | 136 +++++++++++++++++++++++++++++++++++++++++++++++-------
1 file changed, 119 insertions(+), 17 deletions(-)
diff --git a/README.md b/README.md
index 827c3af..2068a3e 100644
--- a/README.md
+++ b/README.md
@@ -146,24 +146,126 @@
- It should Just Work.
- You can connect to the Luckfox via ethernet or UART serial as described here.
+Pinout mapping
+
+
+
+
+| Pin # |
+Pin ID |
+Function |
+ |
+Pin # |
+Pin ID |
+Function |
+
+
+
+
+| 1 |
+VBus |
+5V in/out |
+ |
+22 |
+1V8 |
+1.8V out |
+
+
+| 2 |
+GND |
+ |
+ |
+21 |
+GND |
+ |
+
+
+| 3 |
+3V3 |
+3.3V out |
+ |
+20 |
+4C1 |
+1v8 IO, SARADC |
+
+
+| 4/42 |
+1B2 |
+Debug UART2-TX |
+ |
+19 |
+4C0 |
+1v8 IO, SARADC |
+
+
+| 5/43 |
+1B3 |
+Debug UART2-RX |
+ |
+18/4 |
+0A4 |
+3v3 IO |
+
+
+| 6/48 |
+1C0 |
+CS0, IO |
+ |
+17/55 |
+1C7 |
+IRQ, IO |
+
+
+| 7/49 |
+1C1 |
+CLK, IO |
+ |
+16/54 |
+1C6 |
+BUSY, IO |
+
+
+| 8/50 |
+1C2 |
+MOSI, IO |
+ |
+15/59 |
+1D3 |
+i2c SCL |
+
+
+| 9/51 |
+1C3 |
+MISO, IO |
+ |
+14/58 |
+1D2 |
+i2c SDA |
+
+
+| 10/52 |
+1C4 |
+UART4-TX |
+ |
+13/57 |
+1D1 |
+UART3-RX, NRST |
+
+
+| 11/53 |
+1C5 |
+UART4-RX |
+ |
+12/56 |
+1D0 |
+UART3-TX, RXEN |
+
+
+
Pin ID explanation: 1C6 = GPIO bank 1, group C, pin 6.
+In Meshtasticd’s config.yaml we use GPIO bank 1, and subtract 32 from the pin number.
+
+
The information on this page is given without warranty or guarantee. Links to vendors of products are for informational purposes only.
-
-
-## Pinout mapping
-
-| Pin | Pin | Function | | Pin | Pin | Function |
-| ----- | ----- | ---------- | --- | ----- | ------- | ----------- |
-| 1 | VBus | 5V in/out | | 22 | 1V8 | 1.8V out |
-| 2 | GND | | | 21 | GND | |
-| 3 | 3V3 | 3.3V out | | 20 | 4C1 | 1v8 io |
-| 4/42 | 1B2 | UART2TX | | 19 | 4C0 | 1v8 io |
-| 5/43 | 1B3 | UART2RX | | 18/4 | 0A4 | 3v3 io |
-| 6/48 | 1C0 | CS0 | | 17/55 | 1C7 | IRQ |
-| 7/49 | 1C1 | CLK | | 16/54 | 1C6 | BUSY |
-| 8/50 | 1C2 | MOSI | | 15/59 | 1D3 | i2c SCL |
-| 9/51 | 1C3 | MISO | | 14/58 | 1D2 | i2c SDA |
-| 10/52 | 1C4 | UART4TX | | 13/57 | 1D1 | NRST |
-| 11/53 | 1C5 | UART4RX | | 12/56 | 1D0 | RXEN |