mcqn / my-bikes-got-led

My Baby's Got LED, bike edition
Other
0 stars 0 forks source link

Rework design for integrated charger/5V boost chip #20

Open amcewen opened 1 month ago

amcewen commented 1 month ago

TI have a nice integrated battery charging and 5V boost chip that could replace both the charger and the 5V boost circuit.

Nice things about it are:

It'd be useful to compare the costs - I think it'll be more expensive than the current option, but it'd be useful to know roughly how much (so what's the total BoM cost for this circuit over the existing charger and 5V boost, inc. inductors, etc.); and maybe do a bit of a search through LCSC to see if there are any alternative all-in-one options. Presumably it's a fairly popular circuit, given how many USB power banks there are.

huffeec commented 1 month ago

Very ball park numbers gives a ~+$0.24 difference with this chip over the current setup. I've not managed to find anything equivalent on LCSC. (finding anything on LCSC is a challenge though so I'll have another quick look at some point)

Old
Battery management – CN3791 $0.5

Total - $1.55

New BQ25895M $1.79

amcewen commented 1 month ago

Dismantling one of the Pimoroni battery packs, they've got a protection PCB internally, so dropping the battery protection should be okay.

There's a 2.2uH inductor on the sample circuit for the new chip, but that shouldn't make a massive difference - there seem to be some on LCSC that are super cheap ($0.03!) and even if I'm missing some of the more important criteria (was just a quick search for shielded ones, at 2.2uH with a 3.5A+ current rating) they'll likely not be massively more expensive.

Might be worth a quick scan of Kicad to see if that throws up any alternative options; maybe Tindie too? But if we don't find anything cheaper I think a move to the BQ is worth doing.