Xiao Expanxn Base...read batt status for Meshtaxc

Hello –

Couple comments and questions…

Running this setup on battery…well, it sure would be helpful if battery charge levels would print to screen, instead of showing “USB”. I like to see that status also displayed in the Meshtastic app node listing.

Reviewing the schem seems only method is to maybe solder a voltage divider behind the J2 connxn, drag a wire over to the A0/D0 grove header? Is A0 the pin to use? Is that what Meshtastic would read to provide batt status?

Thanks.

Edit: nodes FA34 and BB30 are my nodes and can see…

I was outside getting that board to lock sats and noticed the how battery status displayed…POST!

Inside I read this:
https://forum.seeedstudio.com/t/expansion-board-base-for-xiao-level-battery/284110

Lemme do some more reading. I am though interested specifically in getting batt status pushed to Meshtastic

Grove - Rotary Angle Sensor (panel mount version), compatible with both Arduino and Raspberry Pi - Seeed Studio try this unit on D0 Grove port and see if you can use it as a voltage divider… I wanted to always try this

Thanks for the comeback.

I been browsing the Heltec V3 schema and that board is reading batt level at A1 after the switching mosfet… I think… as ADC_IN to its S3FN8 at GPIO1. And looking further it seems that pin functions are swapped when comparing Heltec V3 to Xiao S3. Does firmware determine what functions these pins serve at boot?

Edit: I tried starting up on the Meshtastic Discord and got the scariest looking Captcha ever seen, endless loop email verification…so given up on that.

1 Like