USB-C phone breathalyzer

claynicholson·copper-kicad-mcp·bench/route/corpus/phone_breathalyzer/phone_breathalyzer.kicad_pcb

USB-C phone breathalyzer PCB layout, top view — open source STM32 board by claynicholson

About the USB-C phone breathalyzer PCB

USB-C phone breathalyzer is an open source STM32 PCB design by claynicholson, published on GitHub under the MIT license. It is a 2-layer board measuring 22 × 48 mm, with 26 components from 16 distinct parts.

Its main chip is the STM32F042F6P6TR, from the STM32 family. Other key parts include the XC6206P332MR-G, MQ-3B and USBLC6-2SC6. By type, the board carries 10 capacitors, 8 resistors, 4 ICs, 1 transistor, 1 connector and 1 switch.

From the project

MCP server that lets any AI app design real, orderable KiCad boards: schematic, LCSC parts, PCB routing, ERC/DRC, JLCPCB fab files.

Objective scoring of a PCB autorouter on real, human-routed KiCad boards (plus two synthetic stress cases). KiCad itself is the judge: completion and DRC come from kicad-cli pcb drc on the routed board, length / vias / widths from pcbnew. Nothing a router reports about itself is trusted for the score.

Boards can be run in parallel in separate processes (one --board each); every process rewrites the summary from the per-board files, so finish with --summarize.

Main components on the USB-C phone breathalyzer

USB-C phone breathalyzer bill of materials (BOM)

26 components, 16 distinct parts.

QtyPartRefs
1
STM32F042F6P6TR
STM32F042F6P6
U1
1
XC6206P332MR-G
Torex Semicon
U2
1
MQ-3B
U3
1
USBLC6-2SC6
GOODWORK
U4
1
AO3400A
Alpha Omega Semicon
Q1
1
TYPE-C-31-G-03
Korean Hroparts Elec
J1
1
TS-1187A-B-A-B
XKB Connection
SW1
1
KT-0805G
LED green
Hubei KENTO Elec
D1
2
CL10A475KO8NNNC
4.7uF
Samsung Electro Mechanics
C1, C5
3
CL10A105KB8NNNC
1uF
Samsung Electro Mechanics
C2, C3, C7
5
CC0603KRX7R9BB104
100nF
YAGEO
C4, C6, C8, C9, C10
1
0603WAF5101T5E
5.1k
UNI ROYAL Uniroyal Elec
R1
2
0603WAF1002T5E
10k
UNI ROYAL Uniroyal Elec
R2, R8
1
0603WAF1000T5E
100R
UNI ROYAL Uniroyal Elec
R3
3
0603WAF1003T5E
100k
UNI ROYAL Uniroyal Elec
R4, R5, R6
1
0603WAF1001T5E
1k
UNI ROYAL Uniroyal Elec
R7

USB-C phone breathalyzer design files

The KiCad project lives in the claynicholson/copper-kicad-mcp repository on GitHub; these links point at the commit this page was built from.

USB-C phone breathalyzer: common questions

What microcontroller does the USB-C phone breathalyzer use?

The USB-C phone breathalyzer is built around the STM32F042F6P6TR, from the STM32 family.

How big is the USB-C phone breathalyzer PCB?

The USB-C phone breathalyzer measures 22 × 48 mm, has 2 copper layers and is 1.6 mm thick.

How many components are on the USB-C phone breathalyzer?

26 components, from 16 distinct parts. The full bill of materials is listed on this page.

Where can I download the USB-C phone breathalyzer design files?

From the claynicholson/copper-kicad-mcp repository on GitHub, which has the KiCad layout; the links under Design files point to each one.

Can I use the USB-C phone breathalyzer design in my own project?

Yes, under the terms of its MIT license, which claynicholson chose for the repository.

Can I test firmware for the USB-C phone breathalyzer 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 copper-kicad-mcp

Similar boards