Ep0FQl5X6e

TP4056X lithium battery charging and discharging module

 
Overview
There are three versions in total. The first version lacks automatic overvoltage and undervoltage protection, as well as automatic power switching. The latter two versions use a window comparator circuit to support custom overvoltage and undervoltage protection voltages.
The first version can operate at a charging current of 0.9802A. For the latter two versions, the choice depends on the MOSFET selection. Currently, the selected MOSFET in the project only supports a charging current of 0.2A and a discharging current of 0.1A. The charging current can be increased by replacing the MOSFET.
The overvoltage and undervoltage protection range can be selected by adjusting the resistance values ​​of R1, R6, and R7.
 
PDF_Lithium Battery Charge/Discharge Module tp4056x.zip
Altium lithium battery charge/discharge module tp4056x.zip
PADS_Lithium Battery Charge/Discharge Module tp4056x.zip
BOM_Lithium Battery Charge/Discharge Module tp4056x.xlsx
96418
WS2812_2023-11-22_22-02-38
WS2812 - Based on STM32F103C6T6
It uses 24 WS2812 chips, with two buttons for controlling lighting effects, and uses a CH340N serial port for programming.
Project.hex
PDF_WS2812_22-02-38.zip
Altium_WS2812_22-02-38.zip
PADS_WS2812_22-02-38.zip
BOM_WS2812_2023-11-22_22-02-38.xlsx
96419
Lower cost Allwinner H5 Linux development board
To reduce manufacturing costs, the six-layer board was changed to a four-layer board, and most of the I/O ports were brought out, making it compatible with Raspberry Pi.
Based on the previous six-layer board, it was changed to a four-layer board to reduce costs, but I haven't figured out its specific use yet. I installed an Android system on one of the H3 boards and watched TV for a whole semester. The
impedance was chosen to be 3313 impedance for the four-layer board!
The board adds an onboard wireless network card (8188) instead of the default one, but at no extra cost. The antenna will report a DRC error. Remember to post this before releasing the board.
The QQ group is here: 251322693.
 
 
 
 
Regarding the rtl8188ftv driver, refer to rk3399's article. Also, I don't recommend using 8188ftv; I suggest using EU series modules, as the drivers are easier to handle. I haven't installed the ftv driver on Linux 3.10 yet. The EU driver can be directly added during kernel compilation. It's
from GitHub and has been tested and works on H3
. You can install the rtl8188fu driver with the following commands from PPA.
for xUbuntu 16.04-18.04-20.04-22.04-23.04-23.10 / Linux Mint 20.x-21.x
: `sudo add-apt-repository ppa:kelebek333/kablosuz`
`sudo apt-get update` `
sudo apt install rtl8188fu-dkms`
 
 
PDF_Lower Cost Allwinner H5 Linux Development Board.zip
Altium - Lower Cost Allwinner H5 Linux Development Board.zip
PADS - Lower Cost Allwinner H5 Linux Development Board.zip
BOM_Lower Cost Allwinner H5 Linux Development Board.xlsx
96420
Fast charging power bank
Let's DIY a fast-charging power bank to keep warm this winter!
As a dedicated electronics DIY enthusiast, how could I not want a fast-charging power bank?
This power bank uses the SW6208 motherboard solution; it features two USB-A outputs and either a micro-USB or Type-C input; the Type-C input supports PD output; it supports 4.2/4.35/4.4/4.5V battery types; it supports JEITA specifications; it supports temperature loop control
; and its output power reaches up to 22.5W. It also features automatic load detection/light load detection
 
. 22.5W flash charging + fast charging function parameters:
--Output fast charging protocol
supports PPS/PD3.0/PD2.0
, QC4+/QC4/QC3.0/QC2.0
, AFC ,
FCP
, SCP
, PE2.0/PE1.1
, and SFCP,
and supports low-voltage direct charging
.--Input fast charging protocol
supports PD3.0/PD2.0
, AFC
, FCP
, SCP
, and PE1.1.
Note:
1. After installing the battery, a complete charge-discharge equalization process must be performed for the digital battery level display to be accurate! Specific method: 1. First, discharge the battery by charging the phone until the battery is completely depleted and the phone shuts down. Then, charge the power bank until it shows fully charged. Then it can be used normally. (Remember! If you remove and replace the battery after equalization, you need to do the equalization again.)
2. I used two 10000mAh lithium-ion batteries in parallel. However, these batteries are prone to bulging. Poor power management will almost always cause bulging, even with high-end power banks from brands like Xiaomi and Maxx. I used these batteries because I had them on hand and was too lazy to replace them. If you want to use them, I recommend 18650 batteries from reputable brands like Panasonic; they are of excellent quality and safe to use.
3. If you plan to store the phone unused for a long time, I suggest discharging it to 80% and recharging it every three months. Although I designed a low-voltage protection circuit, it's still possible for the battery to fail.
The PCB uses JLCPCB color silkscreen printing technology; the panel was designed using CAD + LCPCB Professional Edition, and I am very satisfied with the results. Highly recommended! The casing is also printed using 3D printing technology, which has high precision. Highly recommended!
Power bank v16.stl
QQ Video 20240105152404.mp4
PDF_Fast Charging Power Bank.zip
Altium Fast Charging Power Bank.zip
PADS_Fast Charging Power Bank.zip
96424
Modular low-pressure electromagnetic railgun
Modular low-pressure electromagnetic railgun
Made in 2022, it has a compact structure but a rather complicated manufacturing process. It measures 24x24mm, with each stage measuring 30mm in length. It uses an 8S+3S lithium battery for power and incorporates many nut pillars. Some components do not match the schematic.
 
PDF_Modular Low-Pressure Electromagnetic Gun.zip
Altium_Modular Low-Pressure Electromagnetic Gun.zip
PADS_Modular Low-Pressure Electromagnetic Gun.zip
BOM_Modular Low-Pressure Electromagnetic Gun.xlsx
96425
DuduClock_Battery
It replicates the open-source weather clock "Dudu Clock" by Bilibili UP "Da Congming's Second-hand Brain", and adds battery power and power on/off functions.
The following were added to the circuit:
1. Battery charging and discharging management;
2. Power-on/off circuit. The following software modifications were made: 1. After the program runs, Q3 is turned on to supply power to the subsequent circuits. 2. A power-off function was added. Software notes: 1. Due to insufficient study of the source code, pin conflicts occurred. The original code used GPIO12 as a network indicator light; here, GPIO12 is used to output a high level to turn on Q3. Therefore, the statements operating on GPIO12 in the source code need to be commented out or deleted. Alternatively, you can use another pin as "PWR_OUT". After commenting it out, the function operating on D4 in net.cpp will compile with an error; commenting it out will resolve the issue. 2. At the beginning of program execution, PWR_OUT is controlled to output a high level. 3. A power-on function was added to the button event handling. When the interface is in the "clock interface", pressing and holding the button for 3 seconds will turn off the device.









Demo video.mp4
PDF_DuduClock_Battery.zip
Altium_DuduClock_Battery.zip
PADS_DuduClock_Battery.zip
BOM_DuduClock_Battery.xlsx
96426
[Open Source Modified Version] ElectronBot_ServoDrive
Based on the servo motor driver PCB board of the open-source project Electronbot by Zhihui Jun, since the original version and various modified versions still use wire bonding, which is inconvenient for programming and replacement, I made a slight modification to facilitate subsequent programming and disposal. It has been verified to be usable.
This description
is based on the servo drive PCB board of the open-source project Electronbot by Zhihui Jun. The wiring on both sides has been modified to use 4-pin and 5-pin connectors. Testing has shown it works correctly. This eliminates the need for soldering wires, making programming, assembly, and disposal easier. It has been verified as feasible. Compared to the original PCB, it is more compact during assembly, with better internal space for wire management, making assembly simpler and more convenient. Several other boards will be updated later to further simplify assembly.
Since the original and various modified versions still use soldering, programming and replacement are extremely inconvenient. Therefore, this modification facilitates subsequent programming and disposal. It has been verified as usable and is shared to help others build their own boards. A ready-made Gerb file is also uploaded as an attachment.
Special
thanks to: Lvyin (绿荫)

. This solution is based on Lvyin's modified suggestions and the final board verification.
Here is his Bilibili channel; you can follow him: Lvyin Aguang.
I also recommend his host computer software: ElectronBot.DotNet. (The latest version also supports Hanwen e-ink screen expansion modules!) Electronic Brain Store address:

Welcome to join the group for discussion: 147597938.


Also, I'd like to thank the following projects for giving me my own electronic robot (in no particular order):
Xiaoka Voice Version, Xiaopeng Study Version, Little Mage Improved Version


(Also, please follow my Bilibili collection!) ๑乛◡乛๑
Electronic Series Nanny Tutorial:
I've collected several videos sharing my experiences and pitfalls, which should solve most problems during the production process. Parts


List:
In addition to the original parts, you need to purchase the following two types of connector

cables. Don't forget to buy




the spacing:
Pin count:
Single/Double




0.6mm
1*4,
Double


0.6mm
1*5. Here's a bare P-
type dual-ended



board
: (Forgive me for being a newbie; the board uses a pseudo-four-layer design). Welcome to continue optimizing and sharing!
This is the modified outline (mainly the wiring scheme at both ends).
I really revised it several times just for these two small terminals (^▽^).
This is a suggested placement scheme after the modification.
Looking at the comments on several related posts on Bilibili and forums, many people get stuck on the assembly.
The wiring at both ends of the modified board is more elegant and saves more space.
I suggest using heat-shrink
tubing although it's longer, the thin wires take up almost no space and won't increase the assembly difficulty
. This is the final result after discussion and practice:
finally achieving "modularization"!
1.mp4
2.mp4
Gerber_Modified ElectroBot_ServoDrive_PCB_2024-01-11.zip
PDF_【Open Source Modified Version】ElectronBot_ServoDrive.zip
Altium_【Open Source Modified Version】ElectronBot_ServoDrive.zip
PADS_【Open Source Modified Version】ElectronBot_ServoDrive.zip
BOM_【Open Source Modified Version】ElectronBot_ServoDrive.xlsx
96427
A 3.0 hub based on VL813, USB 1 to 4 adapter (certified and tested).
It uses the VL813 chip, which can replace the VL812 chip. Testing passed; both can transfer data. Test images have been uploaded; a SanDisk 32GB flash drive was used.
This project references: https://oshwhub.com/course-examples/usb-mo-kuai-3-0-ji-xian-qi. Thanks to JLCPCB's Bilibili tutorial; you can follow the steps to design this circuit board using JLCPCB's video tutorials on Bilibili. Later DIY soldering will require a hot air gun and related tools.
 
The original project used Type-C, the Bilibili tutorial video used Type-B, and this project uses a USB male connector.
It can be used to create a USB expansion port.
484ae6640a725bcb0674395ef618616c.mp4
PDF_VL813-based 3.0 HUB, USB 1 to 4 converter (certified and tested).zip
Altium_VL813-based 3.0 HUB, USB 1 to 4 converter (certified and tested).zip
PADS_VL813-based 3.0 HUB, USB 1 to 4 converter (certified and tested).zip
BOM_VL813-based 3.0 expansion dock HUB 1 to 4.xlsx
96428
LM5116 step-down module verification board
A 5V 7A step-down module based on the LM5116 synchronous step-down controller, with a voltage input range of 9-60V.
LM5116 Features:

Peak current simulation mode;
Input voltage range up to 100 V;
Low shutdown current (
can drive standard or logic-level MOSFETs)
; Gate drive current up to 3.5 A;
Free-running or synchronous operation up to 1 MHz;
Selectable diode simulation mode;
Output voltage range 1.215 V to 80 V;
Voltage reference accuracy 1.5% ;
Programmable current limit
; Programmable soft start;
Programmable line undervoltage lockout;
Automatic switching to external bias power supply;
Thermal shutdown

 
; Input 24V, tested with a 5V/5A load; Enhanced heat dissipation required for long-term operation.
 
lm5116.pdf
PDF_LM5116 step-down module verification board.zip
Altium_LM5116 step-down module verification board.zip
PADS_LM5116 step-down module verification board.zip
BOM_LM5116 Step-Down Module Verification Board.xlsx
96429
LM5116 step-down module 12V 5A verification board
A 12V 5A step-down module based on the LM5116 synchronous step-down controller, with a voltage input range of 15-60V.
LM5116 Features:

Peak current simulation mode;
Input voltage range up to 100 V;
Low shutdown current (
can drive standard or logic-level MOSFETs)
; Gate drive current up to 3.5 A;
Free-running or synchronous operation up to 1 MHz;
Selectable diode simulation mode;
Output voltage range 1.215 V to 80 V;
Voltage reference accuracy 1.5% ;
Programmable current limit
; Programmable soft start;
Programmable line undervoltage lockout;
Automatic switch to external bias power
supply; Thermal shutdown.

 
 
Schematic copied from TI official 12V board.
 
Input 24V, tested with 12V 2.8A load (maximum load 35W), can operate stably for a long time.
Size adapted to A3 flight controller PMU box, enhancing heat dissipation.
lm5116.pdf
LM5116_12V.pdf
PDF_LM5116 step-down module 12V 5A verification board.zip
Altium_LM5116 step-down module 12V 5A verification board.zip
PADS_LM5116 step-down module 12V 5A verification board.zip
BOM_LM5116 step-down module 12V 5A verification board.xlsx
96430
electronic
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-26 18:20:25

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号