Meshcore: Difference between revisions

From NURDspace
Jump to navigation Jump to search
 
Line 30: Line 30:
* explicit header: true
* explicit header: true
* CRC: true
* CRC: true
* preamble length: 16


See https://unsigned.io/understanding-lora-parameters/ for an explanation of these (and more) LoRa variables
See https://unsigned.io/understanding-lora-parameters/ for an explanation of these (and more) LoRa variables

Latest revision as of 19:38, 30 November 2025

Meshcore is a distributed mesh-network, similar to Meshtastic, but incompatible with it. Some say it is better.

The space has joined the network with a so-called repeater. We are talking with people to install a repeater in the light masts in the old stadium of FC Wageningen, which would put it at a height of ~75m. With that we should be able to see a really big area.

Space repeater

Repeater name: NURDspace_repeater

Chip: LilyGo T-Beam 1.1

Antenna: 6dBi Dipole

NOT currently battery-backed!

other member's repeaters

aetios: aetios_rp001

Melan: Melpeater

Folkert has one but it's not currently connected to our network.

other member's nodes

Sparcie: SPARCie (running from her place)

settings

  • UK/EU narrow
  • 869.618 MHz
  • 62.50 kHz bandwidth
  • Spreading factor (sf): 8
  • Coding rate (cr): 8
  • sync word: 0x12
  • explicit header: true
  • CRC: true
  • preamble length: 16

See https://unsigned.io/understanding-lora-parameters/ for an explanation of these (and more) LoRa variables

channels

  • #nurds
  • #hsnl


miscellaneous

Code changes to allow a lilygo t-beam to be used via python:

diff --git a/variants/lilygo_tbeam_SX1276/platformio.ini b/variants/lilygo_tbeam_SX1276/platformio.ini
index 3562c40..926c42b 100644
--- a/variants/lilygo_tbeam_SX1276/platformio.ini
+++ b/variants/lilygo_tbeam_SX1276/platformio.ini
@@ -131,3 +131,29 @@ build_src_filter = ${LilyGo_TBeam_SX1276.build_src_filter}
 lib_deps =
   ${LilyGo_TBeam_SX1276.lib_deps}
   ${esp32_ota.lib_deps}
+
+[env:Tbeam_SX1276_companion_wifi]
+extends = LilyGo_TBeam_SX1276
+board_build.upload.maximum_ram_size=2000000
+build_flags =
+  ${LilyGo_TBeam_SX1276.build_flags}
+  -I examples/companion_radio/ui-new
+  -D MAX_CONTACTS=160
+  -D MAX_GROUP_CHANNELS=8
+  -D BLE_PIN_CODE=123456
+;  -D BLE_DEBUG_LOGGING=1
+  -D OFFLINE_QUEUE_SIZE=128
+;  -D RADIOLIB_DEBUG_BASIC=1
+;  -D MESH_PACKET_LOGGING=1
+;  -D MESH_DEBUG=1
+  -D WIFI_SSID='"NURDspace"'
+  -D WIFI_PWD='"geheim"'
+  -D WIFI_DEBUG_LOGGING=1
+build_src_filter = ${LilyGo_TBeam_SX1276.build_src_filter}
+  +<helpers/esp32/*.cpp>
+  +<helpers/ui/MomentaryButton.cpp>
+  +<../examples/companion_radio/*.cpp>
+  +<../examples/companion_radio/ui-new/*.cpp>
+lib_deps =
+  ${LilyGo_TBeam_SX1276.lib_deps}
+  densaugeo/base64 @ ~1.4.0