Barometer Altutude telemetry not sending to the radio
Current Behavior
I can't get Baro Altitude telemetry to my radio TX16S (EdgeTX 2.9.4) I have a drone Betafpv Pavo20 with FC: F4 2-3S 20A AIO FC V1 (STM32F405RGT6) this board has barometer BMP280 RX: Serial ELRS 2.4G Receiver RX firmware version: BETAFPV AIO 2400 RX ELRS I got 19 sensors reading, even Vspeed, battery, but no baro altitude
Steps to Reproduce
I enabled telemetry feature I clearly see the readings from baro at sensors page (so baro definetly working) I was trying to delete all sensors and discover them again multiple times I was trying to read telemetry mirror from the aux1, but still got all other telemetry readings except of Altitude
Expected behavior
Suggested solution(s)
I should be able to discover baro altitude in TX16S and into AUX Telemetry mirror
Additional context
Here is the DUMP of my settings
version
INAV/BETAFPVF405 7.0.0 Mar 25 2024 / 11:09:05 (118cd485)
GCC-10.3.1 20210824 (release)
may I ask first where you got this Firmware from? 7.0 compiled on March 25th does not make much sense. This does not sound like an official INAV Build.
this is a build from manufacturer of FC. But I think I can move the target to the newer version of Inav later
If there is an official target, I suggest to try 7.1 first to make sure your issue is not already fixed in between. The commit seems to be the same as the official INAV so that should be fine. Not sure why BFPV is building it themselves if there is a target but well :D
what is the target name? I pulled the lates master and didn't find the target for betafpvf405, there is just (BETAFPVF411, BETAFPVF435, BETAFPVF722) which one should I use for F405?
If there is an official target, I suggest to try 7.1 first to make sure your issue is not already fixed in between. The commit seems to be the same as the official INAV so that should be fine. Not sure why BFPV is building it themselves if there is a target but well :D
I think that they will add this target later, cause it is in development right now.
They defined USE_BARO in target.h, so I guess altitude telemetry should be added to scheduler in crsf.c#initCrsfTelemetry and be processed by this method crsf.c#processCrsf during telemetry processing cycle, but it doesn't work for some reason. And I don't know how to debug this code using USB, so I have no clue what is actually going on, in runtime :(
There is an inofficial target here: https://github.com/sensei-hacker/inav_unofficial_targets/tree/unofficial_targets/src/main/target
you could use that target file and build from the 7.1 Release branch with that to see if that works.
Hmmm, Cannot find a valid ref in release_7.1.0 where has it gone?
That repository is not up2date. But the target file is there. you can clone the official repository and use the target file from the inofficial one. Mabye @sensei-hacker can help.
Ok, I got it. @b14ckyy thaks for advice! I modify the 7.1.0 release locally and add BARO + VARIO sensor into CRSF protocol Is there a pinio_box feature in INAV7 like in betaflight, so I can set one of the pin as a switch for led strip?
PINIO is enabled on target when available on the FC on a dedicated pin. If you need it on another FC that has no pad for it you could repurpose a signal pad.
So I have to compile pins mapping with firmware? How to set pin on/off on one of aux switches?
On Sun, Apr 7, 2024, 17:40 b14ckyy @.***> wrote:
PINIO is enabled on target when available on the FC on a dedicated pin. If you need it on another FC that has no pad for it you could repurpose a signal pad.
— Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav/issues/9894#issuecomment-2041603066, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNVMUTD7DTBYZLJHLNSXVLY4GVLJAVCNFSM6AAAAABFWN7VSOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBRGYYDGMBWGY . You are receiving this because you authored the thread.Message ID: @.***>
So I have to compile pins mapping with firmware? How to set pin on/off on one of aux switches? In Betaflight I did it with user1 mode, how it works in inav?
that's unfortunately above my paygrade in terms of coding. A developer need to answer that.
I have the same issue for no Barometer(Alt) in telemetry, although getting other signals like RxBt, RSSI, etc. INAV config 7.1.0 FC firmware 7.1.0 [speedybee F405 WING] Baro should be from onBoard Baro, no GPS I tried configuration tab > sensors&buses > Barometer set to AUTO and SPL06
Because I am a beginner for INAV, I may mistake INAV setting. Please let me know how to fix, thanks!
status
INAV/SPEEDYBEEF405WING 7.1.0 Mar 27 2024 / 14:34:15 (59a6ee61)
GCC-10.3.1 20210824 (release)
System Uptime: 371 seconds
Current Time: 2041-06-28T01:04:00.000+00:00
Voltage: 0.00V (0S battery - NOT PRESENT)
CPU Clock=168MHz, GYRO=ICM42605, ACC=ICM42605, BARO=SPL06
STM32 system clocks:
SYSCLK = 168 MHz
HCLK = 168 MHz
PCLK1 = 42 MHz
PCLK2 = 84 MHz
Sensor status: GYRO=OK, ACC=OK, MAG=NONE, BARO=OK, RANGEFINDER=NONE, OPFLOW=NONE, GPS=NONE
SD card: Startup failed
Stack size: 6144, Stack address: 0x10010000, Heap available: 1728
I2C Errors: 0, config size: 10467, max available config: 131072
ADC channel usage:
BATTERY : configured = ADC 1, used = ADC 1
RSSI : configured = none, used = none
CURRENT : configured = ADC 2, used = ADC 2
AIRSPEED : configured = none, used = none
System load: 5, cycle time: 1005, PID rate: 995, RX rate: 49, System rate: 9
Arming disabled flags: CLI
OSD: not enabled
VTX: not detected
-# get baro
baro_hardware = SPL06
Allowed values: NONE, AUTO, BMP085, MS5611, BMP280, MS5607, LPS25H, SPL06, BMP388, DPS310, B2SMPB, MSP, FAKE
baro_cal_tolerance = 150
Allowed range: 0 - 1000
inav_use_gps_no_baro = OFF
Allowed values: OFF, ON
inav_w_z_baro_p = 0.350
Allowed range: 0 - 10
inav_baro_epv = 100.000
Allowed range: 0 - 9999
osd_baro_temp_alarm_min = -200
Allowed range: -550 - 1250
osd_baro_temp_alarm_max = 600
Allowed range: -550 - 1250
I have the same issue for no Barometer(Alt) in telemetry, although getting other signals like RxBt, RSSI, etc.
RxBat and Rssi are coming from your receiver. As opposed though from the flight controller. Most likely, you don't have telemetry properly wired and configured from the FC to the RX.
Please make your own issue, with a screenshot of your Ports page attached, and a picture of your wiring.
Same here, baro Alt missing but VSpd baro working
Frsky X10 Express with EdgeTX 2.9.4, HiYounger ELRS TX module ELRS 3.3.2, Beta light ELRS RX, SpeedyBee F405 Wing Mini with INAV 7.1.0
Telemetry data radio
Same issue: FC firmware 7.1.2 [speedybee F405 WING] ELRS telemetry I tried configuration tab > sensors&buses > Barometer set to SPL06 In telemetry baro Alt is missing and VSpd stuck on 0 m/s In sensors tab I can see barometer and altitude working correctly
UPDATE: I downgraded to the 7.0.0 version. Baro Alt is still missing but VSpd is now working correctly
Same issue 7.1.2 with speedybee F405 wing and ELRS