What it does#
A battery board has two supplies: USB VBUS when it is plugged in, the LiPo when it is not. Two Schottky diodes can join them, but each drops 0.3–0.5 V, and from a LiPo that is a big part of the headroom the 3.3 V regulator needs.
The TI LM66200 does the same job with two switches of about 40 mΩ: at 200 mA it drops 8 mV instead of 0.4 V. It always passes the higher input to VOUT and blocks current flowing back into the other input, so the battery never feeds the USB cable.
Pins (SOT-583-8): 1 and 5 = GND, 2 and 7 = VOUT, 3 = VIN1, 6 = VIN2, 4 = ~ON (low = on), 8 = ST.
| LM66200 | |
|---|---|
| Inputs | 1.6–5.5 V each (6 V absolute maximum) |
| Current | 2.5 A continuous |
| On-resistance | 40 mΩ typical at 3.3 V |
| Own current | 1.35 µA typical |
| ST | open drain: released (high) while VIN1 is in use |
Wiring#
- VIN1 = USB, VIN2 = battery. With USB at 5 V and a LiPo at 4.2 V or less, USB always wins, and ST tells the firmware which one is in use.
- ~ON to GND keeps it on. Driven high it turns both inputs off.
- ST needs a pull-up. Pull it to the 3.3 V rail when a GPIO reads it.
- 1 µF on each input close to the pins, and at least 0.1 µF on VOUT (the example has 10 µF, which also helps during the switchover).
- The LM66200 does not charge the battery: keep a LiPo charger on VBUS for that.
Pitfalls#
- 5.5 V maximum. Fine for USB 5 V, not for a 9 V or 12 V supply or USB PD above 5 V.
- Fast drops. If the input in use falls faster than 1 V per 10 µs and the other one is below 2.5 V, the chip resets and soft-starts again. Capacitance on the inputs or on VOUT slows the drop.
- Not an ideal diode for reverse polarity. A battery plugged in the wrong way round still needs its own protection (see MOSFET).
Footprint#
SOT-583-8 is 2.1 × 1.2 mm with a 0.5 mm pitch: a stencil and reflow job, not hand soldering. The catalog has no LCSC number for it yet, so the JLCPCB order leaves it out of assembly until one is added.