Usb sleuth

smaroukis·usb-sleuth

Usb sleuth PCB layout, top view — open source STM32 board by smaroukis
Simulate this board

About the Usb sleuth PCB

Usb sleuth is an open source STM32 PCB design by smaroukis, published on GitHub under the GPL-3.0 license. It is a 2-layer board measuring 90 × 90 mm, with 64 components from 28 distinct parts.

Its main chip is the STM32C031K6T6, from the STM32 family. By type, the board carries 25 diodes, 12 resistors, 6 connectors, 5 capacitors, 2 switches and 1 IC.

From the project

USB cable continuity tester ++

See this README for usage of the STM32CubeIDE to flash firmware on the device.

The device tests for continuity and internal resistors within various USB Cables and exposes some pins for multimeter testing. The project is a hardware fork of aroerina/LimePulse that I decided to reverse engineer and write the firmware for.

A STM32C031K6T microcontroller is used for testing connection and orientation, powered by a CR2032 battery. Code is given using STM32 HAL libraries and the device can being programmed over SWD.

Usb sleuth, from the project README
From the project README

Main components on the Usb sleuth

Usb sleuth bill of materials (BOM)

64 components, 28 distinct parts — part numbers from the project's BOM.

QtyPartRefs
1
STM32C031K6T6
U1
1
Conn_1x05
J1
2
USB_C_12401832E402A
J2, J3
1
USB_MICRO-B_KH-MICRO5P-JN
USB_Micro-B_KH-MICRO5P-JN
J4
1
USB_MINI-B_U-M-M5DD-W-1
USB_Mini-B_U-M-M5DD-W-1
J5
1
USB3_A_HC-USB3.0-L168-WP
J6
1
CR2032
BT1
1
B_CC1
H1
1
B_CC2
H2
1
B_VBUS
H3
1
A_CC1
H4
1
A_CC2
H5
1
A_SHIELD
H6
1
B_GND
H7
1
B_SHIELD
H8
1
A_GND
H9
1
A_VBUS
H10
1
ID
H11
1
A_DRAIN
H12
1
SW_DPDT_x2
SW1
Show 8 more
QtyPartRefs
1
ZX-1.27BM-4PSMD
SW2
25
C2296
YLW
D1, D2, D3, D4, D5, D6, D7, D8 +17
3
100N
100n
C1, C2, C4
1
4U7
4u7
C3
1
1UF
1uF
C5
3
10K
10k
R1, R2, R3
2
2K
R4, R5
7
1K6
RN1, RN2, RN3, RN4, RN5, RN6, RN7

Usb sleuth design files

The KiCad project lives in the smaroukis/usb-sleuth repository on GitHub; these links point at the commit this page was built from.

Usb sleuth: common questions

What microcontroller does the Usb sleuth use?

The Usb sleuth is built around the STM32C031K6T6, from the STM32 family.

How big is the Usb sleuth PCB?

The Usb sleuth measures 90 × 90 mm, has 2 copper layers and is 4.69 mm thick.

How many components are on the Usb sleuth?

64 components, from 28 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 Usb sleuth design files?

From the smaroukis/usb-sleuth 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 Usb sleuth design in my own project?

Yes, under the terms of its GPL-3.0 license, which smaroukis chose for the repository.

Can I test firmware for the Usb sleuth 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.

Similar boards