Giter VIP home page Giter VIP logo

Comments (3)

UnexpectedMaker avatar UnexpectedMaker commented on July 28, 2024 2

The divider is always on when the board is powered, even if no battery is present, as the PMIC can't tell the different between no battery and a full battery, so still tries to charge, so VBAT always has voltage, so the divider is always sucking current.

But as Josh pointed out it's low uA... I'd not increase the resistors unless you don't want to be able to read the voltage accurately, as higher value resistors will just increase their susceptibility to noise, decreasing the ADC's accuracy.

So if you don't need to read the voltage, removing one of the divider resistors means no current use at all, but if you do want to read the voltage, ultimately, it's not costing much.

The TinyPICO deep sleeps at 18uA or less.

from tinypico-hardware.

nevercast avatar nevercast commented on July 28, 2024 1

Looking at the schematic https://github.com/tinypico/tinypico-hardware/blob/master/TinyPICO%20Release%20P3/TinyPICO_Schematic.pdf

The divider is always enabled when on battery and sends the battery to ground through about 600kOhm which is about 6 microamps at 3.7V. You can probably increase the resistor values and keep their ratio if 6 microamps is too much for you.

from tinypico-hardware.

nevercast avatar nevercast commented on July 28, 2024

GPIO35 is an input only pin and has no hardware drivers. Therefore the pins should follow nominal leakage characteristics when not being sampled. Therefore I would expect 50nA according to the input current specified here: https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf#page=41 and here https://www.espressif.com/sites/default/files/documentation/esp32-pico-d4_datasheet_en.pdf#page=15

image

from tinypico-hardware.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.