Usbc pd airsoft module
Fluffik214·airsoft-battery-module
About the Usbc pd airsoft module
Usbc pd airsoft module is an open source STM32 PCB design by Fluffik214, published on GitHub under the CC-BY-NC-4.0 license. It is a 2-layer board measuring 135 × 21 mm, with 80 components from 44 distinct parts.
Its main chip is the ST STM32F042F6P6, from the STM32 family. Other key parts include the WCH CH224K (LCSC C970725), TI TPD2E2U06DCKR, TI BQ25798RQMR, TI BQ7692003PWR (3.3V LDO, addr 0x08, CRC) and Diodes AP7381-33SA-7 (40V in). By type, the board carries 35 capacitors, 26 resistors, 6 ICs, 4 diodes, 3 transistors and 2 connectors.
It belongs with the power & battery designs in this gallery.
From the project
This is a USB-C PD charger and cell monitor for a 3S LiPo that lives in an airsoft stock tube. It has one USB-C port. A PD charger charges the pack through it, and a phone plugged into the same port shows each cell's voltage and charge % in the companion Android app.
This is a USB-C PD charger and cell monitor for a 3S LiPo that lives in an airsoft stock tube. It has one USB-C port. A PD charger charges the pack through it, and a phone plugged into the same port shows each cell's voltage and charge % in the companion Android app.
- One port, two jobs. On a PD charger the module charges. On a phone it only reports (5 V never charges, so the phone isn't drained). It never does both at once. - Charging rules: - It starts after USB has stayed between 12 and 17 V for 5 s, then charges to your preset: Full, a custom %, Storage (3.80 V/cell) or Off. - If USB…
Main components on the Usbc pd airsoft module
Usbc pd airsoft module bill of materials (BOM)
80 components, 44 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | WCH CH224K (LCSC C970725) CH224K WCH | SSOP-10-1EP_3.9x4.9mm_P1mm_EP2.1x3.3mm | U1 |
| 1 | TI TPD2E2U06DCKR TPD2E2U06DCK TECH PUBLIC | SOT-323_SC-70 | U2 |
| 1 | TI BQ25798RQMR BQ25798RQMR TI | Texas_RQM0029A_VQFN-29_4x4mm_P0.4mm | U3 |
| 1 | TI BQ7692003PWR (3.3V LDO, addr 0x08, CRC) BQ7692003PWR TI | TSSOP-20_4.4x6.5mm_P0.65mm | U4 |
| 1 | Diodes AP7381-33SA-7 (40V in) AP7381-33SA-7 | SOT-23 | U5 |
| 1 | ST STM32F042F6P6 STM32F042F6P6 ST | TSSOP-20_4.4x6.5mm_P0.65mm | U6 |
| 2 | C8545 2N7002 JSCJ | SOT-23 | Q1, Q3 |
| 1 | Diodes DMP3099L-7 (Vgs +-20V) DMP3099L DIODES | SOT-23 | Q2 |
| 1 | HRO TYPE-C-31-M-12 (LCSC C165948) USB_C_Receptacle_USB2.0_16P Korean Hroparts Elec | USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J1 |
| 1 | JST S4B-XH-SM4-TB BALANCE 3S (JST-XH 4P) JST | JST_XH_S4B-XH-SM4-TB_1x04-1MP_P2.50mm_Horizontal | J2 |
| 1 | Littelfuse 1206SFF300F/32 (any 3A >=32V 1206 fast fuse) 3A 32V fast LANSON | Fuse_1206_3216Metric | F1 |
| 2 | Murata NCP15XH103F03RC 10k B3435 (103AT) muRata | R_0402_1005Metric | TH1, TH2 |
| 1 | Littelfuse SMF20A (20V TVS) SMF20A Jingdao Microelectronics | D_SMF | D1 |
| 1 | C84263 RED (charging) NATIONSTAR | LED_0603_1608Metric | D2 |
| 1 | C37704 BAT54C Nexperia | SOT-23 | D3 |
| 1 | C22371299 GREEN (status) HONGLITRONIC | LED_0603_1608Metric | D4 |
| 1 | Coilcraft XAL4020-102MEB 1uH Coilcraft | L_Coilcraft_XAL4020-XXX | L1 |
| 8 | C14445 1uF 10V Samsung Electro-Mechanics | C_0402_1005Metric | C1, C23, C24, C25, C26, C27, C28, C33 |
| 5 | C440198 10uF 35V muRata | C_0805_2012Metric | C2, C3, C7, C8, C9 |
| 3 | C2888326 100nF 50V YAGEO | C_0402_1005Metric | C4, C10, C16 |
Show 24 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 2 | C285062 47nF 25V FH | C_0402_1005Metric | C5, C6 |
| 8 | C15850 10uF 25V Samsung Electro-Mechanics | C_0805_2012Metric | C11, C12, C13, C14, C15, C17, C18, C21 |
| 1 | C19666 4.7uF 16V Samsung Electro-Mechanics | C_0603_1608Metric | C19 |
| 1 | C1523 1nF 50V FH | C_0402_1005Metric | C20 |
| 1 | C29936 1uF 25V Samsung Electro-Mechanics | C_0603_1608Metric | C22 |
| 1 | C215803 1uF 50V FH | C_0805_2012Metric | C29 |
| 1 | C19666 4.7uF 10V Samsung Electro-Mechanics | C_0603_1608Metric | C30 |
| 4 | C6119778 100nF HRE | C_0402_1005Metric | C31, C32, C34, C35 |
| 1 | C4410 1k UNI-ROYAL | R_1206_3216Metric | R1 |
| 1 | C25796 56k 1% UNI-ROYAL | R_0402_1005Metric | R2 |
| 3 | C25744 10k UNI-ROYAL | R_0402_1005Metric | R3, R9, R21 |
| 1 | C226747 10.5k 1% YAGEO | R_0402_1005Metric | R4 |
| 1 | C25076 100R UNI-ROYAL | R_0402_1005Metric | R5 |
| 1 | C2933105 5.23k 1% FOJAN | R_0402_1005Metric | R6 |
| 1 | C29402 30.1k 1% UNI-ROYAL | R_0402_1005Metric | R7 |
| 1 | C25879 2.2k UNI-ROYAL | R_0402_1005Metric | R8 |
| 3 | C25741 100k UNI-ROYAL | R_0402_1005Metric | R10, R11, R20 |
| 1 | C22775 100R UNI-ROYAL | R_0603_1608Metric | R12 |
| 4 | C25196 56R UNI-ROYAL | R_0603_1608Metric | R13, R14, R15, R16 |
| 2 | C2906864 1k FOJAN | R_0402_1005Metric | R17, R26 |
| 2 | C26083 1M UNI-ROYAL | R_0402_1005Metric | R18, R19 |
| 1 | C25741 100k 1% UNI-ROYAL | R_0402_1005Metric | R22 |
| 1 | C25744 10k 1% UNI-ROYAL | R_0402_1005Metric | R23 |
| 2 | C25900 4.7k UNI-ROYAL | R_0402_1005Metric | R24, R25 |
Usbc pd airsoft module design files
The KiCad project lives in the Fluffik214/airsoft-battery-module repository on GitHub; these links point at the commit this page was built from.
Usbc pd airsoft module: common questions
What microcontroller does the Usbc pd airsoft module use?
The Usbc pd airsoft module is built around the ST STM32F042F6P6, from the STM32 family.
How big is the Usbc pd airsoft module?
The Usbc pd airsoft module measures 135 × 21 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Usbc pd airsoft module?
80 components, from 44 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the Usbc pd airsoft module design files?
From the Fluffik214/airsoft-battery-module repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the Usbc pd airsoft module design in my own project?
It is published under CC-BY-NC-4.0, which limits how it may be reused; read the license before building on it.
Can I test firmware for the Usbc pd airsoft module without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.
More boards in airsoft-battery-module
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
AxxSolder
AxxAxx
39 × 82.5 mm122 parts2LGPL-3.01.7kSTM32
LibreVNA
jankae
122 × 98 mm592 parts6LGPL-3.01.6kSTM32
AIOC
skuep
21 × 31.5 mm47 parts2LMIT1.4kSTM32
Ferris
pierrechevalier83
208.8 × 86.8 mm102 parts2LSHL-2.11.3kSTM32
176 pin board
rusefi
61.8 × 73.2 mm76 parts2LGPL-3.01.2k