Skip to content

VCC reading wrong #10

@varna9000

Description

@varna9000

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions