Hi ,
I have an Expansion Board Base for XIAO with a esp32c3 where a lipo battery is connected. On which pin can I read the battery charge (percentage or voltage) knowing that the GPIO A0 input is already taken by a sensor.
Thanks,
Emmanuel
Hi ,
I have an Expansion Board Base for XIAO with a esp32c3 where a lipo battery is connected. On which pin can I read the battery charge (percentage or voltage) knowing that the GPIO A0 input is already taken by a sensor.
Thanks,
Emmanuel
Hi @cgwaltney , thanks for the diagrams, my problem is that I’d like to measure the battery voltage to know when to charge it. I’d like to know if the Expansion Board has a line connected to the GPIO to see the battery voltage, or do I have to measure it another way?
Thanks
You have to do it another way… The Battery Charging Circuit is not “Smart” we are wishing for this in future revisions
I would think you should bring a line from the battery + over to an Analog Pin… you can use A0 if you are not using the A0 Grove Port You may need a diode or small resistor to make sure you do not accidentally overvolt the pin
Hi there,
So what @cgwaltney suggests works and This Thread here is a good work.
just to add to the suggestion pile.
HTH
GL PJ
Hi Emmanuel_COLUSSI,
This may be helpful.
Hi ,
thank you all for your suggestions, I’m going to test what @cgwaltney suggests, I’ll keep you informed.
Emmanuel
Thank you all!
I applied the solution using a voltage divider as suggested here, connected to the A1 input. It’s a pity this feature isn’t directly available on the Expansion Board.
HI there,
Yea we are looking for an UPDATE to the Dev board… This should be added to the next rev for sure. Hilarious , Battery powered devices but you can’t measure battery percentage…
things like a POWER switch, UpGradable DIsplay, SWD and JTAG (compatible) for all of Seeed’s Xiao’s, a SOCKET for the Xiao, I2S audio amp & headphone Jack, 3D printable Stand or enclosure and more.
GL PJ
is there still no no-soldering solution to measure the battery voltage for the built-in battery port?
I have a single lipo cell connected and need to tell the user the current battery level.
If I need to solder, what resistor value do I need to use? SW guy here
Hi there,
LOL… Yea there is a WiKi page with a picture of them soldered. So I thought, but on the bottom of the dev board , my Google PHY located the thread with picture…
HTH
GL PJ
if you google this exact phrase" reading Battery level on the Xiao Expansion Board Base resistors " switch to Image view you’ll get more than enough info to conquer the Xiao Battery World forsure
Thanks so much, I used 47k and 100k resistors and adjusted the formula accordingly, it works perfect now.
Still, a big shame for Seeed to not do this onboard!!