RAK3112/3312 receive sensitivity VERY poor with MeshCore (but works OK with Meshtastic)
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 70/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- c
- Área
- embedded-iot
Línea de trabajo
Empieza por target.cpp de la variante RAK3112 y lee radio_init(). El issue indica que GPIO4 debe alimentar el interruptor RF interno antes de inicializar la radio. Comprueba cómo configura los pines la variante e inicializa la radio; después, verifica la recepción en un RAK3112/3312 con MeshCore. El trabajo estará terminado cuando la radio reciba señales de forma fiable, incluidas las de repetidores lejanos, y sigan funcionando la transmisión y las interfaces existentes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
}
- Lenguaje dominante
- C
- Estrellas
- 3.9k
- Forks
- 1.5k
- Merge medio
- 2 d 12 h
- PR fusionados (30 d)
- 58
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de meshcore-dev/MeshCore
-
CMD_SET_DEFAULT_FLOOD_SCOPE leaves an older, longer name's tail after the new namePosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
meshcore-dev/MeshCore#3891 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
meshcore-dev/MeshCore#3826 ·
Los mantenedores suelen responder en 2 días
-
App Preset Australia: NTAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
meshcore-dev/MeshCore#3825 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
meshcore-dev/MeshCore#3781 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
meshcore-dev/MeshCore#3760 · 3 comentarios ·
Los mantenedores suelen responder en 2 días
Todos los issues de meshcore-dev/MeshCore
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
fastfetch-cli/fastfetch#2780 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
elliotchance/vsql#2079 ·
Los mantenedores suelen responder en 1 día
-
[libcbor] update to 0.15.1Abiertocategory:port-update
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 2 días
-
docs
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 61/100
vim/vim#22107 · 1 comentario ·
Los mantenedores suelen responder en 13 días