Stufin
Home Quick Cart Profile

2in1 charge discharge board module DIY 18650 lithium battery Power Mobile Bank

Buy Now

Component Name

2in1 Charge Discharge Board Module DIY 18650 Lithium Battery Power Mobile Bank

Overview

The 2in1 Charge Discharge Board Module is a versatile DIY power management module designed for 18650 lithium batteries. This module serves as a comprehensive solution for charging, discharging, and monitoring 18650 lithium-ion batteries, making it an ideal component for various IoT projects, robotics, and mobile power bank designs.

Functionality

  • Battery Charging: The module can charge 18650 lithium-ion batteries with a maximum current of 1A. It supports constant current and constant voltage charging modes.
  • Battery Discharging: The module allows for discharging the battery with a maximum current of 2A. This feature enables the battery to power external devices, such as smartphones, tablets, or other IoT devices.
  • Battery Monitoring: The module provides real-time monitoring of the battery's state of charge (SOC), voltage, and temperature. This ensures safe and efficient battery operation.
  • Protection Features: The module incorporates multiple protection features, including:
The 2in1 Charge Discharge Board Module offers the following functionalities

Overcharge protection

Over-discharge protection

Short-circuit protection

Over-voltage protection

Under-voltage protection

Over-temperature protection

Key Features

  • Dual Mode Operation: The module can operate in either charge mode or discharge mode, making it a versatile solution for various applications.
  • Adjustable Output Voltage: The output voltage can be adjusted between 4.2V to 12V, allowing the module to power devices with different voltage requirements.
  • High-Efficiency Conversion: The module boasts high-efficiency conversion, ensuring minimal energy loss during charging and discharging operations.
  • Small Form Factor: The module's compact design makes it suitable for integration into small devices, such as mobile power banks, IoT devices, and robotics.
  • Easy Assembly: The module is designed for DIY enthusiasts and hobbyists, with clear labeling and a simple assembly process.
  • SafetyCertifications: The module meets various safety certifications, including CE, FCC, and RoHS, ensuring safe operation and compliance with regulatory standards.

Technical Specifications

  • Input Voltage: 5V
  • Output Voltage: Adjustable between 4.2V to 12V
  • Output Current: Up to 2A
  • Charging Current: Up to 1A
  • Operating Temperature: -20C to 80C
  • Storage Temperature: -40C to 125C
  • Dimensions: 45mm x 25mm x 10mm
  • Weight: 20g

Applications

  • Mobile Power Banks: Ideal for building custom mobile power banks for charging smartphones, tablets, and other devices on-the-go.
  • IoT Devices: Suitable for powering IoT devices, such as sensors, actuators, and microcontrollers.
  • Robotics: Can be used to power robotic systems, including robotic arms, drones, and other autonomous devices.
  • DIY Projects: Perfect for hobbyists and DIY enthusiasts looking to design and build custom power management solutions.

Conclusion

The 2in1 Charge Discharge Board Module is a comprehensive power management solution for 18650 lithium-ion batteries. With its adjustable output voltage, high-efficiency conversion, and built-in protection features, this module is an ideal component for various IoT, robotics, and mobile power bank applications.

Pin Configuration

  • 2in1 Charge Discharge Board Module DIY 18650 Lithium Battery Power Mobile Bank
  • The 2in1 Charge Discharge Board Module is a versatile DIY module designed for 18650 lithium battery power banks. This module allows for both charging and discharging of the battery, making it an ideal component for various IoT projects. Below is a detailed explanation of the pins on the module, along with a step-by-step guide on how to connect them.
  • Pinout Description:
  • The module has a total of 7 pins, which are:
  • 1. VCC (Red): Input voltage pin, typically connected to a 5V power source (e.g., USB port).
  • 2. GND (Black): Ground pin, connected to the negative terminal of the power source.
  • 3. B+ (Yellow): Positive terminal of the 18650 lithium battery.
  • 4. B- (Black): Negative terminal of the 18650 lithium battery.
  • 5. OUT+ (Red): Positive output terminal for the charged battery (e.g., for powering external devices).
  • 6. OUT- (Black): Negative output terminal for the charged battery (e.g., for powering external devices).
  • 7. LED (Green): Indicates the charging status of the battery (LED turns on when charging, off when fully charged or not charging).
  • Connection Structure:
  • Step 1: Power Source Connection
  • Connect the VCC (Red) pin to a 5V power source (e.g., a USB port).
  • Connect the GND (Black) pin to the negative terminal of the power source.
  • Step 2: Battery Connection
  • Connect the B+ (Yellow) pin to the positive terminal of the 18650 lithium battery.
  • Connect the B- (Black) pin to the negative terminal of the 18650 lithium battery.
  • Step 3: Output Connection (Optional)
  • Connect the OUT+ (Red) pin to the positive terminal of an external device (e.g., a DC-DC converter or a load).
  • Connect the OUT- (Black) pin to the negative terminal of an external device (e.g., a DC-DC converter or a load).
  • Step 4: Charging Status Indicator
  • Connect the LED (Green) pin to a suitable resistor (e.g., 1k) and then to a 5V power source (optional, but recommended for charging status indication).
  • Important Notes:
  • Ensure proper polarity when connecting the battery and external devices to avoid damage or-short circuits.
  • The module can handle a maximum input voltage of 5V and a maximum output current of 1A.
  • Use a suitable protection circuit or fuse to prevent overcharging or over-discharging of the 18650 lithium battery.
  • By following these step-by-step instructions, you can successfully connect the 2in1 Charge Discharge Board Module and utilize its features for your IoT projects.

Code Examples

2in1 Charge Discharge Board Module DIY 18650 Lithium Battery Power Mobile Bank
Overview
The 2in1 charge discharge board module is a versatile and compact DIY solution for managing 18650 lithium batteries in various IoT projects. This module allows for simultaneous charging and discharging of the battery, making it an ideal component for building mobile power banks, robots, and other battery-powered devices.
Features
Supports 18650 lithium battery
 2in1 charging and discharging function
 Overcharge and over-discharge protection
 Short-circuit protection
 Reverse polarity protection
 Compact size: 35x20mm
Pinout
The module has the following pins:
VCC: Input voltage (5V)
 GND: Ground
 BAT: Battery connection (18650 lithium battery)
 CHG: Charging indicator (LED)
 DIS: Discharging indicator (LED)
 OUT: Output voltage (5V)
Example 1: Simple Power Bank
In this example, we'll demonstrate how to use the 2in1 charge discharge board module to build a simple power bank.
Components
1 x 2in1 charge discharge board module
 1 x 18650 lithium battery
 1 x Micro-USB connector (for charging)
 1 x USB-A connector (for discharging)
Code
No code is required for this example, as the module operates independently. Simply connect the Micro-USB connector to a power source (e.g., a wall adapter) to charge the battery. The CHG LED will indicate when the battery is charging. Once the battery is fully charged, the DIS LED will turn on, and the power bank is ready to use.
Example 2: Arduino-Based Battery Monitor
In this example, we'll use the 2in1 charge discharge board module with an Arduino board to monitor the battery's state of charge (SoC) and voltage.
Components
1 x 2in1 charge discharge board module
 1 x Arduino board (e.g., Arduino Uno)
 1 x 18650 lithium battery
 1 x BME280 temperature and humidity sensor (optional)
Code
```c++
const int batVoltagePin = A0;  // Analog input for battery voltage
const int batSoCPin = A1;    // Analog input for battery SoC
const int ledPin = 13;       // Digital output for LED indicator
void setup() {
  pinMode(ledPin, OUTPUT);
  pinMode(batVoltagePin, INPUT);
  pinMode(batSoCPin, INPUT);
}
void loop() {
  int batVoltage = analogRead(batVoltagePin);
  int batSoC = analogRead(batSoCPin);
  
  // Calculate battery voltage and SoC
  float voltage = batVoltage  5.0 / 1023.0;
  float soc = map(batSoC, 0, 1023, 0, 100);
  
  // Print battery voltage and SoC to serial monitor
  Serial.print("Battery Voltage: ");
  Serial.print(voltage);
  Serial.println("V");
  Serial.print("Battery SoC: ");
  Serial.print(soc);
  Serial.println("%");
  
  // Turn on LED if battery is fully charged
  if (soc >= 90) {
    digitalWrite(ledPin, HIGH);
  } else {
    digitalWrite(ledPin, LOW);
  }
  
  delay(1000);
}
```
In this example, we use the Arduino board to read the battery voltage and SoC from the analog inputs of the 2in1 charge discharge board module. We then calculate the battery voltage and SoC and print them to the serial monitor. Finally, we use an LED to indicate when the battery is fully charged.
Note: This code is for illustration purposes only and may require modifications to work with your specific setup.