ArduinoSystemStatus icon indicating copy to clipboard operation
ArduinoSystemStatus copied to clipboard

VCC reading wrong

Open varna9000 opened this issue 4 years ago • 0 comments

If you are powering the microcontroller directly from the battery you will get the battery voltage without using any additional pin.

I'm reading 4.2V LiPo battery from attiny85 VCC pin, but getVCC() returns 4.9V. The battery is also connected to the bat output of tp4056, but the charging module is not plugged to power supply.

If I measure the battery voltage with multimeter, it shows the correct 4.2v voltage.

Do you know what could be wrong here?

varna9000 avatar Dec 01 '21 20:12 varna9000