3003 21700 5V5A PD RP5 EN:修订间差异

来自Mcuzone Wiki
(创建页面,内容为“== '''关键词''' == 树莓派5、Raspberry Pi、21700、5V5A、I2C交互串口、边充边放、实时检测电流电压 == '''一、简介''' == 此21700 PD电源模块专门针对树莓派5设计,输出通过USB-C PD口和树莓派5进行5V5A PD协商,树莓派系统自动识别5V5A。 输入(充电)采用USB-C接口进行充电,支持常规5V充电,也支持PD充电(工作在5V)。输出端具备三种接口,分别为镀金顶针,USB-A和…”)
 
无编辑摘要
 
(未显示同一用户的5个中间版本)
第1行: 第1行:
== '''关键词''' ==
[[3003 21700 5V5A PD RP5|切换语言为中文]]
树莓派5、Raspberry Pi、21700、5V5A、I2C交互串口、边充边放、实时检测电流电压


== '''一、简介''' ==
== '''Keywords''' ==
此21700 PD电源模块专门针对树莓派5设计,输出通过USB-C PD口和树莓派5进行5V5A PD协商,树莓派系统自动识别5V5A。
Raspberry Pi 5, Raspberry Pi, 21700, 5V5A, I2C Interactive Serial Port, Charge and Discharge Simultaneously, Real-time Current and Voltage Monitoring


输入(充电)采用USB-C接口进行充电,支持常规5V充电,也支持PD充电(工作在5V)。输出端具备三种接口,分别为镀金顶针,USB-A和USB-C,三个接口可同时使用,共享5V5A;同时预留了2.54-2p接口。其中顶针版可以节约线缆空间,方便随身携带;USB-C为PD输出接口支持和树莓派5PD协商。标配两节(并联)21700锂电池,两节容量可达10000mAh。
== '''I. Introduction''' ==
This 21700 PD power module is specifically designed for the Raspberry Pi 5. The output is negotiated through the USB-C PD port with the Raspberry Pi 5 at 5V 5A using PD protocol. Raspberry Pi OS automatically recognizes the 5V 5A configuration.


模块具有电池充电的电流电压监测功能,电池放电的电流电压监测功能以及5V放电电流电压监测功能(通过l2C顶针读取)。
The input (charging) utilizes a USB-C interface for charging, supporting standard 5V charging as well as PD charging (operating at 5V). The output is equipped with three types of interfaces: pogo pins, USB-A, and USB-C. All three interfaces can be used simultaneously, sharing 5V5A, and a 2.54-2p interface is also reserved. The version with pogo pins can save cable space, making it convenient to carry around; the USB-C port supports PD output and can negotiate power delivery with the Raspberry Pi 5. It includes two (parallel) 21700 lithium batteries, with a combined capacity of up to 10000mAh.


线路板采用四层板设计,可提升板子的供电能力和散热效率,PCB板通过UL和ROHS认证,防火等级为94V-0。
The module features battery charging/discharging current and voltage monitoring, and 5V discharging current and voltage monitoring (read via I2C pins).


== '''二、硬件资源''' ==
The board adopts a four-layer design, which enhances the power supply capacity and heat dissipation efficiency of the board. The PCB is UL and ROHS certified, with a flammability rating of 94V-0.
1. '''输出''':


*具有三种输出接口,分别为USB-A和USB-C以及镀金顶针,总电流5V5A,短时6A;
== '''II. Hardware Spec''' ==
1. '''Output:'''


*USB-C接口支持5V5A PD协议,可于树莓派5正常协商,不弹窗,足5V5A;
*It is equipped with three output interfaces: USB-A, USB-C, and gold-plated pogo pins, with a total current of 5V 5A, and a short-term current of 6A.


*USB-A接口和镀金顶针输出不带PD协议,系统会报低功率,可通过加软件代码识别5V5A;也可以选配USB A-C PD适配器或PD Dongle适配器额,实现PD握手协议;
*The USB-C interface supports the 5V5A PD protocol, which can be properly negotiated with the Raspberry Pi 5 without any pop-up warnings, delivering a full 5V5A output.


*一路输出激活按键,电池进入欠压保护后需要预充一段时间(5-30分钟,视负载轻重而变化)才能重新打开输出,如果急用可通过该按键提前打开输出(基本预充3-5分钟左右即可通过按键打开输出);
*The USB-A interface and gold-plated pogo pins output without PD protocol, the system will report low power. It can recognize 5V5A by adding software code, you can also choose to equip a USB A-C PD adapter or PD Dongle adapter to achieve PD handshake protocol.


*具备5V输出过流保护、过热保护;
*It is quipped with an output activation button, when the battery enters under-voltage protection, it requires a pre-charging period (ranging from 5 to 30 minutes, depending on the load) before the output can be turned back on. If urgent use is needed, the output can be activated prematurely by pressing this button (typically, after about 3-5 minutes of pre-charging, the output can be activated via the button).


*具备大电流电源总开关,关闭后无漏电,可长时间存放;
*It is equipped with overcurrent protection and overheating protection for 5V output.


2. '''输入''':
*It is equipped with a high-current power main switch, which ensures no leakage after turning off, allowing for long-term storage.


*采用USB-C接口进行充电,充电电流2.8A,支持PD充电头(即充电电源需5V2.8A以上);
2. '''Input:'''


3. '''电池''':
*It utilizes a USB-C interface for charging, with a charging current of 2.8A, and supports PD chargers (i.e., the charging power supply must be 5V2.8A or higher).


*2节21700电池共10000mAh,额定容量9600mAh,可靠放电能力达10A以上,确保5V5A足功率输出;'''''树莓派5循环播放视频续航测试,约8小时;'''''
3. '''Battery:'''


*具备电池充电电压电流监测、电池放电电压电流监测、5V放电电压电流监测(通过I2C顶针读取),用户可据此判断负载和续航情况;
*Two 21700 batteries with a total capacity of 10,000mAh, a rated capacity of 9,600mAh, and a reliable discharge capability of over 10A, ensuring a full power output of 5V5A. '''''Raspberry Pi 5 Loop Playback Battery Life Test: Approximately 8 Hours.'''''


*具备电池欠压保护,电池电压降至约2.7V时将关闭输出;
*It is equipped with battery charging/discharging voltage and current monitoring, and 5V discharging voltage and current monitoring (read via I2C pins). Users can assess the load and battery life based on this information.


*具备电池过充保护、过流保护;
*It is equipped with under voltage protection, and the output will be turned off when the battery voltage drops to approximately 2.7V.
 
*It features overcharge protection and overcurrent protection.


4. '''LED''':
4. '''LED''':


*四个LED电量指示功能,通过按键手动激活;
*Four LED battery level indicators, manually activated via a button.


*一个LED输出指示灯;
*An LED output indicator.


*两个LED充电指示灯,充电时红灯亮,充满后红灯灭,绿灯亮;
*Two LED charging indicator lights: the red light turns on during charging, and when fully charged, the red light turns off and the green light turns on.


5. '''其他'''
5. '''Others:'''


*尺寸:85*56mm,四层板设计;沉金工艺,无铅生产,PCB通过UL和ROHS认证,防火等级94V-0;
*Size: 85*56mm. Four-layer board design, immersion gold process, lead-free production, PCB certified by UL and ROHS, flame retardant rating 94V-0.


*预留2.54mm-2Pin接口,可用于外接风扇,或输出;
*Reserve a 2.54mm-2Pin interface, which can be used for connecting an external fan or for output purposes.


*可选铝合金底座,优化重载散热。
*Optional aluminum alloy base, optimized for heavy-duty heat dissipation.


http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/3003_21700_5V5A_PD_17.jpg
http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/3003_21700_5V5A_PD_17.jpg
第60行: 第62行:
http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/3003_21700_5V5A_PD_24.jpg
http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/3003_21700_5V5A_PD_24.jpg


装配电池时请注意下列事项:
Please note the following when installing the battery:


1. 由于21700电池容量比较大,为了缩短充电时间,大电流充电阶段电流高达2.8A,建议采用5V2.8A以上的适配器充电。如果适配器达不到2.8A的输出能力,可能会导致充电时充电头保护(充不进)甚至损坏;
1. Due to the large capacity of the 21700 battery, in order to reduce charging time, the high-current charging phase requires a current of up to 2.8A. It is recommended to use an adapter with 5V2.8A or higher for charging. If the adapter cannot output 2.8A, it may cause the charger to enter protection mode during charging (unable to charge) and could even lead to damage.


2. 21700电池能量巨大,请千万看清楚方向再放入电池座。一旦插反很可能会冒烟起火甚至爆炸,为了大家安全着想,请仔细核对,非必要请勿插拔!
2. The 21700 battery has a large capacity. Please make sure to check the orientation carefully before inserting it into the battery holder. If inserted incorrectly, it may very likely smoke, catch fire, or even explode. For the sake of everyone's safety, please verify carefully. Do not plug or unplug unless necessary!


电池极性和安装说明:
Battery Polarity and Installation Instructions:


http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/3003_21700_5V5A_PD_27.jpg
http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/3003_21700_5V5A_PD_27.jpg


注意:插拔电池的时候请一定注意正负极方向,核对线路板上丝印。对于因电池接反导致的任何风险我们概不承担,请小心使用。因电池接反导致的器件损坏不在保修范围内。因用户自备的电源适配器充电,导致电池炸了或器件损坏,概不保修,请用优质正品电源,或从我司采购。
Note: When inserting or removing the battery, please make sure to pay attention to the polarity direction and check the silk screen on the circuit board. We will not be liable for any risks caused by reverse battery connection. Please use with care. Damage to components caused by reverse battery connection is not covered under warranty. If the battery explodes or the device is damaged due to charging with a user-provided power adapter, it will not be covered under warranty. Please use a high-quality genuine power supply, or purchase one from our company.


== '''三、查看电源实时参数(树莓派OS)''' ==
== '''III. View real-time power parameters (Raspberry Pi OS)''' ==
此操作基于树莓派OS 64位版本为:2024-10-22-raspios-bookworm-armhf.img.xz
The version of the Raspberry Pi OS is: 2024-10-22-raspios-bookworm-armhf.img.xz


树莓派OS下载地址:
You can download the Raspberry Pi OS in:


https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-64-bit
https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-64-bit


=== 3.1 打开I2C接口 ===
=== 3.1 Enable the I2C interface ===
本模块是通过I2C接口查看电源实时参数,需要在树莓派OS下打开I2C接口:
This module uses the I2C interface to view real-time power parameters. You need to enable the I2C interface in the Raspberry Pi OS.


左上角树莓派标志—Preferences—Raspberry Pi Configuration—Interfaces
The Raspberry Pi logo in the upper left corner - Preferences - Raspberry Pi Configuration - Interfaces


将I2C打开,如图所示:
Enable "I2C", as shown in the figure:


http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/3003_21700_5V5A_PD_07.jpg
http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/3003_21700_5V5A_PD_07.jpg


这样就完成了相关配置。
This completes the I2C configuration.


=== 3.2 查看电源实时参数 ===
=== 3.2 View real-time power parameters ===
打开树莓派终端,下载查看电源实时参数软件:
Open the terminal and download the power real-time parameter software:


<code>wget -O INA219.py <nowiki>http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/INA219_10MR1126.py.zip</nowiki></code>
<code>wget -O INA219.py <nowiki>http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/INA219_10MR1126.py.zip</nowiki></code>


随后运行该软件,即可看到电源实时参数:
Then execute the software, and you will be able to see the real-time power parameters:


<code>python INA219.py</code>
<code>python INA219.py</code>


http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/3003_21700_5V5A_PD_28.jpg
http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/3003_21700_5V5A_PD_31.jpg


Charge:实时充电参数;
Charge: Real-time charging parameters


Discharge:实时放电参数;
Discharge: Real-time discharging parameters


5V output:5V输出实时参数;
5V output: Real-time parameters of 5V output


Time:运行时间。
Time: Running time


== '''四、查看电源实时参数(Ubuntu系统)''' ==
== '''IV. View real-time power parameters (Ubuntu OS)''' ==
此操作基于Ubuntu系统版本为:ubuntu-24.10-preinstalled-desktop-arm64+raspi.img.xz
The version of the Ubuntu system is: ubuntu-24.10-preinstalled-desktop-arm64+raspi.img.xz


Ubuntu系统下载地址:
You can download the Ubuntu system in:


https://ubuntu.com/download/raspberry-pi
https://ubuntu.com/download/raspberry-pi


=== 4.1 打开I2C接口 ===
=== 4.1 Enable the I2C interface ===
本模块是通过I2C接口查看电源实时参数,需要确认Ubuntu系统是否打开了I2C接口:
This module uses the I2C interface to view real-time power parameters. You need to confirm whether the I2C interface is enabled in the Ubuntu OS:


<code>sudo nano /boot/firmware/config.txt</code>
<code>sudo nano /boot/firmware/config.txt</code>


查看红框处的i2c_arm是否设置了on,如果没有,请设置:
Please check if the i2c_arm at the red box is set to on; if not, please set it.


http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/3003_21700_5V5A_PD_09.jpg
http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/3003_21700_5V5A_PD_09.jpg


=== 4.2 查看电源实时参数 ===
=== 4.2 View real-time power parameters ===
打开Ubuntu系统终端,首先安装smbus支持:
Open the terminal, and install the smbus support first:


<code>sudo apt-get install python3-smbus</code>
<code>sudo apt-get install python3-smbus</code>


然后下载查看电源实时参数软件:
Then download the power real-time parameter software:


<code>wget -O INA219.py <nowiki>http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/INA219_10MR1126.py.zip</nowiki></code>
<code>wget -O INA219.py <nowiki>http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/INA219_10MR1126.py.zip</nowiki></code>


随后运行该软件,即可看到电源实时参数:
Then execute the software, and you will be able to see the real-time power parameters:


<code>python3 INA219.py</code>
<code>python3 INA219.py</code>


http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/3003_21700_5V5A_PD_29.jpg
http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/3003_21700_5V5A_PD_32.jpg


Charge:实时充电参数;
Charge: Real-time charging parameters


Discharge:实时放电参数;
Discharge: Real-time discharging parameters


5V output:5V输出实时参数;
5V output: Real-time parameters of 5V output


Time:运行时间。
Time: Running time


== '''五、USB-C PD握手协议测试''' ==
== '''V. USB-C PD handshake protocol test''' ==
由于树莓派5的电源C口有特殊的PD握手要求,若不是用树莓派5原厂电源,而是采用普通电源给树莓派5供电,即使输入的电压和电流符合5V5A的要求,树莓派OS或者Ubuntu系统也会提示此电源不支持5V5A,如图红框所示(以树莓派OS为例):
Due to the specific PD handshake requirements of the USB-C power port on the Raspberry Pi 5, if a non-original power supply is used to power the Raspberry Pi 5, even if the input voltage and current meet the 5V5A specifications, the Raspberry Pi OS or Ubuntu OS will still indicate that the power supply does not support 5V5A, as shown in the red box in the figure (using Raspberry Pi OS as an example):


http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/3003_21700_5V5A_PD_16.jpg
http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/3003_21700_5V5A_PD_16.jpg


我们的21700 5V5A PD电源模块可以实现树莓派5的PD握手,具体实现的方法有以下三种:
Our 21700 5V5A PD power module can achieve PD handshake with Raspberry Pi 5. The specific implementation methods are as follows:


1. 板载输出USB-C,具有握手协议,用CC线与树莓派5的USB-C口,上电启动系统即可(如下图)。
1. The onboard output USB-C features a handshake protocol. By connecting it to the USB-C port of the Raspberry Pi 5 using a CC cable, you can power on and boot the system (as shown in the figure below).


http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/3003_21700_5V5A_PD_25.jpg
http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/3003_21700_5V5A_PD_25.jpg


2. 若使用顶针供电功能,可以配我司PD dongle配件。将PDdongle插入树莓派5的USB-C口,重启即可(如下图)。
2. If the pogo pins power supply function is used, it can be paired with our PD dongle accessory. Insert the PD dongle into the USB-C port of the Raspberry Pi 5 and restart it (as shown in the figure below).


http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/3003_21700_5V5A_PD_18.jpg
http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/3003_21700_5V5A_PD_18.jpg


3. 若使用输出USB-A,可配我司的USB A-C PD适配器,插在输出USB-A口上,再接CC线到树莓派5的电源C口,上电启动系统(如下图)。
3. If using the output USB-A port, you can pair it with our USB A-C PD adapter. Plug the adapter into the output USB-A port, then connect a CC cable to the power USB-C port of the Raspberry Pi 5. Power on to start the system (as shown in the figure below).


http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/3003_21700_5V5A_PD_30.jpg
http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/3003_21700_5V5A_PD_30.jpg


以上三种输出接口,三种方法都可以实现:即使不是树莓派5原装电源,系统也不会弹窗,同时树莓派5自身USB口不会限电流。
Through these three methods, the following functionality can be achieved with all three output interfaces: even if it's not the original Raspberry Pi 5 power supply, the system will not pop up a warning, and the USB ports on the Raspberry Pi 5 itself will not limit the current.


如果您的树莓派5运行系统实际功耗不大,我们的电源顶针版电源最多可以同时给3个树莓派5进行符合5V5A PD握手协议的输出;而USB版电源最多可以给2个树莓派5进行符合5V5A PD握手协议的输出。
If the actual power consumption of your Raspberry Pi 5 system is not high, our pogo pins power supply can simultaneously provide output compliant with the 5V5A PD handshake protocol for up to three Raspberry Pi 5 units; whereas the USB version power supply can support up to two Raspberry Pi 5 units with the same 5V5A PD handshake protocol output.


'''21700 5V5A 电源模块PD协商演示:'''
'''21700 5V5A Power module PD negotiation demo:'''


<html><iframe style="width: 600px; height: 340px;" frameborder="0" src="http://www.mcuzone.com/wiki/3005_USB_A-C_PD_and_PD_Dongle/pddd.mp4" allowfullscreen></iframe></html>
<html><iframe style="width: 600px; height: 340px;" frameborder="0" src="http://www.mcuzone.com/wiki/3005_USB_A-C_PD_and_PD_Dongle/pddd.mp4" allowfullscreen></iframe></html>


== '''六、充放电数据''' ==
== '''VI. Charge and discharge data''' ==
'''''<big>注意:本节测试数据均为本公司实测得到,仅代表当次测试结果,仅供参考,不代表产品最终数据。</big>'''''
'''''<big>Note: The test data in this section are obtained from actual measurements by our company and represent only the results of that particular test. They are for reference purposes only and do not represent the final product data.</big>'''''


'''充电测试:'''
'''Charging test:'''


初始充电电流为0.38A,电池电压达到3V后开始大电流充电,充电电流最高为2.8A,充满需要3h44min。
The initial charging current is 0.38A. Once the battery voltage reaches 3V, high-current charging begins, with the maximum charging current reaching 2.8A. A full charge takes 3 hours and 44 minutes.


2A充电时,完全充满需要4h28min。
When the charging current is 2A, it takes 4 hours and 28 minutes to fully charge.


'''放电测试:'''
'''Discharging test:'''
{| class="wikitable"
{| class="wikitable"
|放电电流
|Discharging current
|放电时间
|Discharging time
|-
|-
|5V1A
|5V1A
第205行: 第207行:
|}
|}


{{联系我们_图标}}
{{Contact_Us_icon}}
 
[http://wiki.mcuzone.com/index.php?title=3003_21700_5V5A_PD%E6%A0%91%E8%8E%93%E6%B4%BE5%E7%94%B5%E6%BA%90 T]

2025年3月3日 (一) 13:45的最新版本

切换语言为中文

Keywords

Raspberry Pi 5, Raspberry Pi, 21700, 5V5A, I2C Interactive Serial Port, Charge and Discharge Simultaneously, Real-time Current and Voltage Monitoring

I. Introduction

This 21700 PD power module is specifically designed for the Raspberry Pi 5. The output is negotiated through the USB-C PD port with the Raspberry Pi 5 at 5V 5A using PD protocol. Raspberry Pi OS automatically recognizes the 5V 5A configuration.

The input (charging) utilizes a USB-C interface for charging, supporting standard 5V charging as well as PD charging (operating at 5V). The output is equipped with three types of interfaces: pogo pins, USB-A, and USB-C. All three interfaces can be used simultaneously, sharing 5V5A, and a 2.54-2p interface is also reserved. The version with pogo pins can save cable space, making it convenient to carry around; the USB-C port supports PD output and can negotiate power delivery with the Raspberry Pi 5. It includes two (parallel) 21700 lithium batteries, with a combined capacity of up to 10000mAh.

The module features battery charging/discharging current and voltage monitoring, and 5V discharging current and voltage monitoring (read via I2C pins).

The board adopts a four-layer design, which enhances the power supply capacity and heat dissipation efficiency of the board. The PCB is UL and ROHS certified, with a flammability rating of 94V-0.

II. Hardware Spec

1. Output:

  • It is equipped with three output interfaces: USB-A, USB-C, and gold-plated pogo pins, with a total current of 5V 5A, and a short-term current of 6A.
  • The USB-C interface supports the 5V5A PD protocol, which can be properly negotiated with the Raspberry Pi 5 without any pop-up warnings, delivering a full 5V5A output.
  • The USB-A interface and gold-plated pogo pins output without PD protocol, the system will report low power. It can recognize 5V5A by adding software code, you can also choose to equip a USB A-C PD adapter or PD Dongle adapter to achieve PD handshake protocol.
  • It is quipped with an output activation button, when the battery enters under-voltage protection, it requires a pre-charging period (ranging from 5 to 30 minutes, depending on the load) before the output can be turned back on. If urgent use is needed, the output can be activated prematurely by pressing this button (typically, after about 3-5 minutes of pre-charging, the output can be activated via the button).
  • It is equipped with overcurrent protection and overheating protection for 5V output.
  • It is equipped with a high-current power main switch, which ensures no leakage after turning off, allowing for long-term storage.

2. Input:

  • It utilizes a USB-C interface for charging, with a charging current of 2.8A, and supports PD chargers (i.e., the charging power supply must be 5V2.8A or higher).

3. Battery:

  • Two 21700 batteries with a total capacity of 10,000mAh, a rated capacity of 9,600mAh, and a reliable discharge capability of over 10A, ensuring a full power output of 5V5A. Raspberry Pi 5 Loop Playback Battery Life Test: Approximately 8 Hours.
  • It is equipped with battery charging/discharging voltage and current monitoring, and 5V discharging voltage and current monitoring (read via I2C pins). Users can assess the load and battery life based on this information.
  • It is equipped with under voltage protection, and the output will be turned off when the battery voltage drops to approximately 2.7V.
  • It features overcharge protection and overcurrent protection.

4. LED

  • Four LED battery level indicators, manually activated via a button.
  • An LED output indicator.
  • Two LED charging indicator lights: the red light turns on during charging, and when fully charged, the red light turns off and the green light turns on.

5. Others:

  • Size: 85*56mm. Four-layer board design, immersion gold process, lead-free production, PCB certified by UL and ROHS, flame retardant rating 94V-0.
  • Reserve a 2.54mm-2Pin interface, which can be used for connecting an external fan or for output purposes.
  • Optional aluminum alloy base, optimized for heavy-duty heat dissipation.

3003_21700_5V5A_PD_17.jpg

3003_21700_5V5A_PD_24.jpg

Please note the following when installing the battery:

1. Due to the large capacity of the 21700 battery, in order to reduce charging time, the high-current charging phase requires a current of up to 2.8A. It is recommended to use an adapter with 5V2.8A or higher for charging. If the adapter cannot output 2.8A, it may cause the charger to enter protection mode during charging (unable to charge) and could even lead to damage.

2. The 21700 battery has a large capacity. Please make sure to check the orientation carefully before inserting it into the battery holder. If inserted incorrectly, it may very likely smoke, catch fire, or even explode. For the sake of everyone's safety, please verify carefully. Do not plug or unplug unless necessary!

Battery Polarity and Installation Instructions:

3003_21700_5V5A_PD_27.jpg

Note: When inserting or removing the battery, please make sure to pay attention to the polarity direction and check the silk screen on the circuit board. We will not be liable for any risks caused by reverse battery connection. Please use with care. Damage to components caused by reverse battery connection is not covered under warranty. If the battery explodes or the device is damaged due to charging with a user-provided power adapter, it will not be covered under warranty. Please use a high-quality genuine power supply, or purchase one from our company.

III. View real-time power parameters (Raspberry Pi OS)

The version of the Raspberry Pi OS is: 2024-10-22-raspios-bookworm-armhf.img.xz

You can download the Raspberry Pi OS in:

https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-64-bit

3.1 Enable the I2C interface

This module uses the I2C interface to view real-time power parameters. You need to enable the I2C interface in the Raspberry Pi OS.

The Raspberry Pi logo in the upper left corner - Preferences - Raspberry Pi Configuration - Interfaces

Enable "I2C", as shown in the figure:

3003_21700_5V5A_PD_07.jpg

This completes the I2C configuration.

3.2 View real-time power parameters

Open the terminal and download the power real-time parameter software:

wget -O INA219.py http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/INA219_10MR1126.py.zip

Then execute the software, and you will be able to see the real-time power parameters:

python INA219.py

3003_21700_5V5A_PD_31.jpg

Charge: Real-time charging parameters

Discharge: Real-time discharging parameters

5V output: Real-time parameters of 5V output

Time: Running time

IV. View real-time power parameters (Ubuntu OS)

The version of the Ubuntu system is: ubuntu-24.10-preinstalled-desktop-arm64+raspi.img.xz

You can download the Ubuntu system in:

https://ubuntu.com/download/raspberry-pi

4.1 Enable the I2C interface

This module uses the I2C interface to view real-time power parameters. You need to confirm whether the I2C interface is enabled in the Ubuntu OS:

sudo nano /boot/firmware/config.txt

Please check if the i2c_arm at the red box is set to on; if not, please set it.

3003_21700_5V5A_PD_09.jpg

4.2 View real-time power parameters

Open the terminal, and install the smbus support first:

sudo apt-get install python3-smbus

Then download the power real-time parameter software:

wget -O INA219.py http://www.mcuzone.com/wiki/3003_21700_5V5A_PD/INA219_10MR1126.py.zip

Then execute the software, and you will be able to see the real-time power parameters:

python3 INA219.py

3003_21700_5V5A_PD_32.jpg

Charge: Real-time charging parameters

Discharge: Real-time discharging parameters

5V output: Real-time parameters of 5V output

Time: Running time

V. USB-C PD handshake protocol test

Due to the specific PD handshake requirements of the USB-C power port on the Raspberry Pi 5, if a non-original power supply is used to power the Raspberry Pi 5, even if the input voltage and current meet the 5V5A specifications, the Raspberry Pi OS or Ubuntu OS will still indicate that the power supply does not support 5V5A, as shown in the red box in the figure (using Raspberry Pi OS as an example):

3003_21700_5V5A_PD_16.jpg

Our 21700 5V5A PD power module can achieve PD handshake with Raspberry Pi 5. The specific implementation methods are as follows:

1. The onboard output USB-C features a handshake protocol. By connecting it to the USB-C port of the Raspberry Pi 5 using a CC cable, you can power on and boot the system (as shown in the figure below).

3003_21700_5V5A_PD_25.jpg

2. If the pogo pins power supply function is used, it can be paired with our PD dongle accessory. Insert the PD dongle into the USB-C port of the Raspberry Pi 5 and restart it (as shown in the figure below).

3003_21700_5V5A_PD_18.jpg

3. If using the output USB-A port, you can pair it with our USB A-C PD adapter. Plug the adapter into the output USB-A port, then connect a CC cable to the power USB-C port of the Raspberry Pi 5. Power on to start the system (as shown in the figure below).

3003_21700_5V5A_PD_30.jpg

Through these three methods, the following functionality can be achieved with all three output interfaces: even if it's not the original Raspberry Pi 5 power supply, the system will not pop up a warning, and the USB ports on the Raspberry Pi 5 itself will not limit the current.

If the actual power consumption of your Raspberry Pi 5 system is not high, our pogo pins power supply can simultaneously provide output compliant with the 5V5A PD handshake protocol for up to three Raspberry Pi 5 units; whereas the USB version power supply can support up to two Raspberry Pi 5 units with the same 5V5A PD handshake protocol output.

21700 5V5A Power module PD negotiation demo:

VI. Charge and discharge data

Note: The test data in this section are obtained from actual measurements by our company and represent only the results of that particular test. They are for reference purposes only and do not represent the final product data.

Charging test:

The initial charging current is 0.38A. Once the battery voltage reaches 3V, high-current charging begins, with the maximum charging current reaching 2.8A. A full charge takes 3 hours and 44 minutes.

When the charging current is 2A, it takes 4 hours and 28 minutes to fully charge.

Discharging test:

Discharging current Discharging time
5V1A 6h30min
5V2A 3h15min
5V3A 1h58min
5V4A 1h24min
5V5A 55min

Contact Us

0001_x.jpg 0002_fb.jpg 0004_ytb.jpg 0003_bb.jpg 0005_qq.jpg QQ:8204136

Email: mcuzone@vip.qq.com

Tel: +86(0)13957118045

If there are any omissions, errors, or infringements on this page, please contact us through the above methods. Thank you!

Copyright 2004-2025 Wildchip