You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two similar flight controlers, one original and other clone. When updating from version 6, the original card reads 0V when connected to the pc, but the clone card reads approximately 1,20V. After this correction #9147 when connecting it without battery it detects 1 cell and activates BAT_CRIT_LOW even set beeper -ON_USB.
Steps to Reproduce
Flash version above 7.0
Set predefined settings
Activate motors and servos output
The beeper is activated by BAT_CRIT_LOW
Expected behavior
When the board is connected to a computer and the battery is not connected, the low battery alarm should not sound.
Suggested solution(s)
For example, set a condition that if the battery voltage is lower than 2.5 V no battery is connected or some more sophisticated solution.
#defineVBATT_PRESENT_THRESHOLD 100 // Minimum voltage to consider battery present
For example VBATT_PRESENT_THRESHOLD = 2000
The text was updated successfully, but these errors were encountered:
tiriad
changed the title
Low battery alarm beeps when card is connected to pc without battery
Low battery alarm beeps when board connected to pc without battery
Apr 10, 2024
Current Behavior
I have two similar flight controlers, one original and other clone. When updating from version 6, the original card reads 0V when connected to the pc, but the clone card reads approximately 1,20V. After this correction #9147 when connecting it without battery it detects 1 cell and activates BAT_CRIT_LOW even set beeper -ON_USB.
Steps to Reproduce
Expected behavior
When the board is connected to a computer and the battery is not connected, the low battery alarm should not sound.
Suggested solution(s)
For example, set a condition that if the battery voltage is lower than 2.5 V no battery is connected or some more sophisticated solution.
inav/src/main/sensors/battery.c
Line 69 in b79dea6
For example VBATT_PRESENT_THRESHOLD = 2000
The text was updated successfully, but these errors were encountered: