Power tree
Why each part is there
- F1 limits a short to a blown fuse. A LiPo can deliver tens of amps into a mistake.
- D1 sits backwards across the rail. Connect the battery reversed and it conducts, blowing F1 before anything else is hurt. It costs no voltage in normal use.
- C1 supplies the current spike when motors start, so the rail doesn't sag.
- U1 steps 7.4 V down to 5 V efficiently. A linear regulator would waste a third of the power as heat.
- C2, C3 smooth the 5 V rail: the big one for slow dips, the small one for fast noise.
Check on the bench
- Set U1 to 5.00 V with nothing connected to its output, then wire in the logic.
- Stop driving at 6.6 V (3.3 V per cell). Running a LiPo lower damages it.
- Servos take a separate tap from +5 V with their own 470 µF capacitor at the connector, not the microcontroller's 5 V pin.