Open avbentem opened 7 years ago
HI,
Function badger_read_vcc_mv() does not measure LiPo voltage... this function measures MCU supply voltage (after LDO) so this can't be over 3.3 but it starts falling if battery is emptying until 2.7V which is marked as MCU minimum operating voltage. This function can be used to alert for low battery.
I assume the
badger_read_vcc_mv
function is measuring the LiPo connector (which I cannot test right now). When using the USB port, or when connecting a battery pack toVin
andGND
, I always get 3339 millivolts for the Badgerboard function, and always 3283 millivolts for the response of the RN2483sys get vdd
command. (Another Badgerboard always reports 3410 for the Badgerboard function and 3325 forVdd
.)The
sys get vdd
command is documented by Microchip as:Badgerboard's technical specifications do not indicate how it's connected.
Please document what
badger_read_vcc_mv
is measuring, and how the RN2483'sVdd
is connected.