Skip to content

Using LiPo 3.7V with Arduino Mini Pro #9

@FilipDem

Description

@FilipDem

Hi,
Thank you for the great library. Hower a question and a problem.
I am using the Arduino Pro Mini (ATMega328P) 3.3V version.

Problem: I go in PowerDown (for 8 seconds). However in most cases the percentage reading is 0 (zero). Had anyone the same problem? After investigation I found out that the reading is correct until the first PowerDown (LowPower.powerDown(SLEEP_8S, ADC_OFF, BOD_ON);). After the first wakeup it reads always 0 (float p = vcc.Read_Perc(VCC_MIN, VCC_MAX);).

Question: When using the LiPo, the battery has a typical voltage of 3.7, but can go to 4.2 when fully charged. The LiPo is connected to the "RAW". What is the vcc_max to use? As far as I understood, the measurement is done after the (internal) regulator on the Vin (so +-3.3 max, correct?). So what is then the min and max to use.

Recommendation: would also be great to add an example with voltage higher than 3V. You are using only 2 alkaline in your example of 1.5...

Thanks again!

Filip

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