How to know voltage if I disconnect USB
I'm making a script where I read some sensors and last reading is a voltage. The problem is I print the results but how the sipy & expansion are connected via USB the voltage is not correct.
How could I check the batt measurement if usb is connected?
@ecabanas When you have connected to your expansion board both the battery and USB, the battery is charging and unfortunately it is not possible to get the actual battery voltage.
hi, the battery
rcolistete last edited by
See this topic "Guide/Tutorial/Reference about Expansion Board" and section "10. Battery voltage reading via voltage divider and VBATT pin".
So, depending on the version of Expansion Board, it is easier to have different voltage reading with and without USB,
@ecabanas Where does voltage reading refer to? Battery or something else?