RAK3112/3312 receive sensitivity VERY poor with MeshCore (but works OK with Meshtastic)
維護者通常 2 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 70/100
- Issue 類型
- 缺陷
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- c
- 領域
- embedded-iot
研究方向
從 RAK3112 變體的 target.cpp 開始,閱讀 radio_init()。issue 指出,必須先由 GPIO4 為內部 RF 開關供電,再初始化無線電。檢查該變體如何設定腳位及初始化無線電,然後使用 MeshCore 在 RAK3112/3312 上驗證接收情況。完成標準是無線電能可靠地接收訊號,包括來自遠處中繼器的訊號,同時傳送功能和現有介面仍可正常運作。
由索引模型根據 Issue 內容生成。
描述
Using a RAK3112 radio module. Comes with older Meshtastic image pre-flashed -- works fine.
Flash a MeshCore image, radio cannot "hear" any signals, except for a Companion that is also inside the house (but the reported signal is very weak).
Compared MeshCore with Meshtastic using the same HW, in the same location, etc.
Tried several MeshCore builds, starting with 1.15, USB and BLE. No difference.
Also tried enabling the "AGC Reset" option.
Transmit appears to be working: see a clear signal on a nearby SDR, on the correct frequency.
Interfaces (USB, BLE) work OK, as does radio configuration.
Using an AI suggestion, found that MeshCore is not driving GPIO4, to power the RF Switch in the 3112 module. This effectively keeps the RF Switch in the 'transmit' mode at all times, so the receiver only hears very strong signals that "bleed through" the switch chip.
The code additions shown below makes everything work. Now hearing repeaters 10-15 miles away.
I understand that someone with a deeper understanding of the system may want a different implementation to achieve the same thing.
In RAK3112 variant, target.cpp, function radio-init() :
// Add this #define :
#ifndef RAK3112_ANT_SW
#define RAK3112_ANT_SW 4
#endif
bool radio_init() {
fallback_clock.begin();
rtc_clock.begin(Wire);
// Add these 3 lines to power the RAK3112 internal RF switch (ANT_SW = GPIO4)
pinMode(RAK3112_ANT_SW, GPIO_MODE_OUTPUT);
digitalWrite(RAK3112_ANT_SW, HIGH);
delay(10); // allow time for power to stabilize
#if defined(P_LORA_SCLK)
return radio.std_init(&spi);
#else
return radio.std_init();
#endif
}
- 主要語言
- C
- 星號
- 3.9k
- 分支
- 1.5k
- 平均合併
- 2 天 12 小時
- 30 天內合併 PR
- 58
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
meshcore-dev/MeshCore 的其他 Issue
-
CMD_SET_DEFAULT_FLOOD_SCOPE leaves an older, longer name's tail after the new name可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 1/5 1 小時以內 新手友好度 88/100
meshcore-dev/MeshCore#3891 · 1 則留言 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 64/100
meshcore-dev/MeshCore#3826 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
meshcore-dev/MeshCore#3825 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
meshcore-dev/MeshCore#3781 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 70/100
meshcore-dev/MeshCore#3760 · 3 則留言 ·
維護者通常 2 天內回覆
查看 meshcore-dev/MeshCore 的全部 Issue
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 68/100
fastfetch-cli/fastfetch#2780 ·
維護者通常 1 天內回覆
-
enhancement
難度 2/5 1-3 小時 新手友好度 72/100
elliotchance/vsql#2079 ·
維護者通常 1 天內回覆
-
category:port-update
難度 2/5 1-3 小時 新手友好度 64/100
維護者通常 2 天內回覆
-
docs
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 61/100
維護者通常 13 天內回覆