cleanflight / cleanflight

Clean-code version of the baseflight flight controller firmware
http://cleanflight.com
GNU General Public License v3.0
2.61k stars 1.39k forks source link

Battery status incorrect. Battery level detection does not work on SPEV (QX70) #2747

Closed rbekkers closed 7 years ago

rbekkers commented 7 years ago

Hi,

I noticed that my low battery detection did not work. The LED strip kept blinking pink. In the configurator the battery voltage is correct but the status is not connected. In CLI the status shows: # status System Uptime: 920 seconds Voltage: 41 * 0.1V (0S battery - NOT PRESENT) CPU Clock=72MHz, GYRO=MPU6500, ACC=MPU6500 SD card: Startup failed Stack size: 2048, Stack address: 0x10002000 I2C Errors: 1, config size: 1923, max available config: 4096 CPU:14%, cycle time: 132, GYRO rate: 7575, RX rate: 49, System rate: 9

# version # Cleanflight / SPRACINGF3EVO 2.0.1 Apr 19 2017 / 00:39:07 (229d76a)

screenshot_2017-04-19_23-42-43s

As you can see the voltage is correct, but for some reason the battery is 0S and NOT PRESENT.

Any idea what can be the cause? Please let me know if I can help with additional information.

Thanks, Rob

hydra commented 7 years ago

yes. set bat_detect_thresh lower. the default is 5.5v (55) if you're on 1S/2S you may want to reduce this to about 2v (20) From your detected voltage it looks like you're using 1S.

hydra commented 7 years ago

Please use rcgroups for support in future.

rbekkers commented 7 years ago

You were so right. Thank you very much.

2017-04-20 23:37 GMT+02:00 Dominic Clifton notifications@github.com:

yes. set bat_detect_thresh lower. the default is 5.5v (55) if you're on 1S/2S you may want to reduce this to about 2v (20) From your detected voltage it looks like you're using 1S.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cleanflight/cleanflight/issues/2747#issuecomment-295925759, or mute the thread https://github.com/notifications/unsubscribe-auth/Aaikzumf-4mdCa_KkTwZFrRN4M9nSYfyks5rx9AngaJpZM4NDiOi .