PaxInstruments / labwiz-board

A development board based on the STM32 series processors specifically targeting the STM32F103RxT series.
4 stars 2 forks source link

MCP73832T-2 Battery Charger #121

Closed robojay closed 7 years ago

robojay commented 7 years ago

With the battery voltage divider in place, the charger will always think a battery is installed (look at the data sheet (http://ww1.microchip.com/downloads/en/DeviceDoc/20001984g.pdf) for battery detection method). I don't think this is a problem for the current design, but something to note.

Also, the data sheet says a bypass cap should also be on the regulator's VIN (VDD) pin. You should add one.

charlespax commented 7 years ago

I've added a fuel gauge. Same as in the SparkFun LiPo Fuel Gauge (https://www.sparkfun.com/products/10617). screen shot 2017-02-02 at 13 51 08

Removed voltage divider from battery. screen shot 2017-02-02 at 13 51 15

PC5 is now available. We could attach it to the alert interrupt of the fuel gauge, but I don't think it's worth sacrificing a pin.