[Bug]: LilyGo T-Beam V1.2 (SX1276/AXP2101) - BME280 sensor data corrupted (wrong temp ~52-65°C, humidity/pressure missing)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- c
- Ambito
- embedded-iot
Direzione di ricerca
Start by locating the BME280 driver and the LilyGo T-Beam V1.2 (SX1276) board initialization path, then trace the I2C startup and calibration register reads. Compare the reported temperature with the missing humidity and pressure values to identify where initialization or compensation data fails. Done means the sensor initializes reliably and reports plausible temperature, humidity, and pressure on this board.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
[Bug]: LilyGo T-Beam V1.2 (SX1276/AXP2101) - BME280 sensor data corrupted (wrong temp ~52-65°C, humidity/pressure missing)
Description:
Hi developers,
I am facing an issue with an external BME280 sensor connected to a LilyGo T-Beam V1.2 (SX1276 with AXP2101 PMU) running the latest MeshCore firmware.
The exact same hardware setup was previously running flawlessly under Meshtastic, so a hardware or wiring defect can be 100% ruled out.
Hardware Setup:
• Board: LilyGo T-Beam V1.2 (SX1276 / AXP2101)
• Sensor: BME280 (3.3V version, 6-pin breakout board)
• Wiring:
• SDA connected to GPIO 21
• SCL connected to GPIO 22
• SDO hardwired to GND (forcing I2C address 0x76)
• CSB hardwired to 3V3 (forcing I2C mode)
• Peripherals: An OLED display is sharing the same I2C bus (Pins 21/22 and 3V3/GND) and works perfectly fine.
The Problem:
When using MeshCore (flashed via the official web flasher using the LilyGo T-Beam 1.2 (SX1276) target), the BME280 sensor fails to initialize properly:
- Temperature: The MeshCore App displays an absurdly high, incorrect temperature reading between 52°C and 65°C at normal room temperature.
- Humidity & Pressure: Both values are completely missing/not populated in the telemetry layout.
Suspected Cause:
It seems like a timing issue with the AXP2101 PMU during the boot sequence or a calculation error within the sensor driver's compensation registers. Because the OLED display initializes on the same rail, a minor voltage dip at startup might cause the BME280 to fail reading its internal calibration EPROM data, leading to corrupt raw data interpretation (which mathematically ends up as ~52-65°C).
Could you please look into the I2C startup sequence or the BME280 calibration register readout for the T-Beam V1.2 target?
Thank you for your amazing work on MeshCore!
- Lingua principale
- C
- Stelle
- 3.9k
- Fork
- 1.5k
- Merge medio
- 18h 59m
- PR unite (30g)
- 28
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di meshcore-dev/MeshCore
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
meshcore-dev/MeshCore#3622 ·
I maintainer di solito rispondono entro 1 giorno
-
[Feature Request] Set Australia (Mid) Preset to automatically enable 2 byte default path hash sizeAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
meshcore-dev/MeshCore#3571 · 5 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
meshcore-dev/MeshCore#3567 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
meshcore-dev/MeshCore#3549 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
meshcore-dev/MeshCore#3513 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di meshcore-dev/MeshCore
Issue simili
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
EchoTools/nevr-runtime#698 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
FujiNetWIFI/fujinet-firmware#2079 ·
I maintainer di solito rispondono entro 1 giorno
-
bug Official Image release/25.12 Supported Device target/kirkwood
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
area/archive bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
DarkFlippers/qUnleashed#374 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
VirusTotal/yara#2255 ·