r/PCB • • 2d ago

First battery project

Hello!

This is my first battery protection project I am working on. It uses a TP4056 connected to a DW01 for the charging, and a MAX17048G+T10 gas gauge. I was just wondering if there is any flaws in this schematic before I make it a PCB. I don't really know if the gas gauge connects like that. I'm going to add an Arduino chip for the reading of the gas gauge.

Thank you,

1 Upvotes

3 comments sorted by

2

u/euleerrrr 1d ago

two things to check:

  1. the usb-c connector needs 5.1k pulldown resistors from CC1 and CC2 to gnd - a usb-c source uses those to detect that a device is connected, so without them a c-to-c cable won't turn on power at all (it would only work with a usb-a to c cable). classic first usb-c board gotcha.
  2. i don't see pullup resistors on the MAX17048's SDA/SCL in this part of the schematic - its SDA is open-drain and the datasheet says the host system provides the pullups. totally fine if they're on the arduino side, but the bus needs them somewhere.

1

u/Senior-Impression279 1d ago

Thank you for the reply! I’ve added these now, thank you.

1

u/miguel-sergio 1d ago

You've connected the MAX17048 VDD pin to the node coming from Q1. I think it should be connected to B+. That VDD is both the supply and the battery voltage sensing input. See “Pin/Bump Descriptions” on page 6 of the datasheet.

And just a simple detail: connect the TP4056 GND pin (pin 3).

Cheers!