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 天内回复