

The Greenline TP4056 Step-Up Type-C module is a compact and efficient power management solution designed for charging lithium-ion batteries. It integrates the TP4056 chip, which ensures safe and reliable charging, and features a USB Type-C input for modern connectivity. This module also includes a step-up (boost) converter, allowing it to regulate and increase the output voltage as needed, making it ideal for powering devices that require higher voltages than the input source.








The Greenline TP4056 Step-Up Type-C module has the following key pins and connections:
| Pin/Connection | Description |
|---|---|
| BAT+ | Positive terminal for the lithium battery connection. |
| BAT- | Negative terminal for the lithium battery connection. |
| OUT+ | Positive output terminal for the boosted voltage. |
| OUT- | Negative output terminal for the boosted voltage. |
| USB Type-C Port | Input for 5V DC power supply via USB Type-C connector. |
| PROG | Pin for adjusting the charging current by changing the onboard resistor value. |
Connect the Battery:
Power the Module:
Output Connection:
Adjust Charging Current (Optional):
Adjust Output Voltage (Optional):
To power an Arduino UNO using the Greenline TP4056 Step-Up Type-C module:
Here is an example Arduino sketch to monitor the battery voltage using an analog input pin:
// Define the analog pin connected to the battery voltage divider
const int batteryPin = A0;
// Voltage divider resistor values (in ohms)
const float R1 = 10000.0; // Resistor connected to BAT+
const float R2 = 10000.0; // Resistor connected to GND
void setup() {
Serial.begin(9600); // Initialize serial communication
}
void loop() {
int rawValue = analogRead(batteryPin); // Read the analog value
float voltage = (rawValue / 1023.0) * 5.0; // Convert to voltage (assuming 5V reference)
// Calculate the actual battery voltage using the voltage divider formula
float batteryVoltage = voltage * (R1 + R2) / R2;
Serial.print("Battery Voltage: ");
Serial.print(batteryVoltage);
Serial.println(" V");
delay(1000); // Wait for 1 second before the next reading
}
Module Overheating:
Battery Not Charging:
No Output Voltage:
Output Voltage Too Low or Unstable:
Can I use this module to charge multiple batteries in series? No, this module is designed for single-cell lithium-ion or lithium-polymer batteries only.
What is the maximum output current of the boost converter? The maximum output current depends on the input power and efficiency but is typically around 1A.
Can I use this module without a battery connected? No, the module requires a battery to function properly as it is designed for charging and boosting battery voltage.
Is the USB Type-C port compatible with fast charging? No, the USB Type-C port is for standard 5V input only and does not support fast charging protocols.