ysoldak / HeadTracker

Zero configuration, auto-calibrating wireless DIY Head Tracker, for Nano 33 BLE and XIAO BLE Sense boards
The Unlicense
62 stars 8 forks source link

Enhancement request for higher battery charge current [Seeed board] #32

Closed puresims closed 1 year ago

puresims commented 1 year ago

The Xiao BLE has a built in charger for a lipo, but it default charges at 50ma. It can be made to charge at 100ma but has to be done in code.

From the seeedstudio wiki ref: HERE

Battery Charging current The battery charging current is selectable as 50mA or 100mA, where you can set Pin13 as high or low to change it to 50mA or 100mA. The low current charging current is at the input model set up as HIGH LEVEL and the high current charging current is at the output model set up as LOW LEVEL.

Low Charging Current

void setup(){
pinMode (P0_13, OUTPUT);
}
void loop() {
digitalWrite(P0_13, HIGH);
}

High Charging Current

void setup(){
pinMode (P0_13, OUTPUT);
}
void loop() {
digitalWrite(P0_13, LOW);
}
ysoldak commented 1 year ago

Guys, you can try a binary build that shall enable high charge current. Let me know if it works as expected. Download "binaries" here: https://github.com/ysoldak/HeadTracker/actions/runs/6151924908

Attention: this is not an official release, just a way for you to quickly test the implementation.