#Battery charge and discharge boost module based on TP5400 (Snowflake Lamp Base 2.0)
## Overview
-TP5400 is a single-cell lithium-ion battery charger and constant 5V boost controller dedicated to mobile power supply. The charging part integrates high-precision voltage and It integrates charging current regulator, pre-charging, charging status indication and charging cut-off functions, and can output a maximum charging current of 1A. The boost circuit uses a VFM switching DC/DC boost converter with extremely low no-load current manufactured using CMOS technology. It has extremely low no-load power consumption (less than 10uA), and the boost output driving current capability can reach 1A. No external keys required, plug and play.
- The charging part uses a linear step-down method with built-in PMOSFET and an anti-backflow circuit, so no external detection resistor or isolation diode is required. Thermal feedback automatically adjusts the charging current to limit the chip temperature during high-power operation or high ambient temperature conditions, and the full voltage is fixed at 4.2V. The charging current can be set externally via a resistor. When the battery reaches 4.2V, the charging current gradually drops to 1/5 of the set current value, and TP5400 will automatically terminate charging. The boost part also has a built-in power NMOSFET, and the smaller internal resistance can provide a driving capability of up to 5V/1A. The high level of integration allows TP5400 to operate normally with only a small number of peripheral components. TP5400 also integrates charging temperature protection, a boost input power supply current-limiting loop, which can dynamically adjust the current according to load conditions, and has fast response and over-current shutdown functions. The boost converter uses variable frequency, so it has extremely low no-load power consumption, ripple, stronger driving capability, and higher efficiency than similar products at home and abroad.
## Introduction
1. It’s still the same as 1.0, there’s nothing to introduce, just look at the pictures! ! !
### Picture display
![Circuit Board 3]

![Circuit Board 1]

#### The LEDs here are soldered to the wrong color, the right is red and the left is green
![Circuit Board 2]

### Finished product
![Finished product 1 ]

### Function
1. Supports the minimum brightness and maximum brightness of snowflake lights.
2. No more
## Notes
### LED status indication
! [LED indication diagram]

### Reject short circuit
## Known issues
### 1. The green indicator light does not light up. I don’t know what the problem is at the moment (I am a high school student) , I don’t have much time, I’ll look for a reason next time!)
### 2. Nothing.