Raccoon
sunnyhaibin·raccoon·pcb/raccoon.kicad_pcb
About the Raccoon PCB
Raccoon is an open source STM32 PCB design by sunnyhaibin, published on GitHub under the MIT license. It is a 4-layer board measuring 100.9 × 71.5 mm, with 56 components from 31 distinct parts.
Its main chip is the STM32F413RGT6, from the STM32 family. Other key parts include the SIP32431DR3, AMS1117-5.0, AMS1117-3.3, TJA1042T-3 and NEO-M8P. By type, the board carries 19 capacitors, 10 ICs, 10 resistors, 5 connectors, 5 diodes and 2 switches.
It belongs with the rf & radio and usb & debug tools designs in this gallery.
From the project
PCB and firmware for a USB to CAN interface, with support for 4 CAN transceivers and an optional NEO-MP8 GNSS module. The design is a reverse-engineering of comma.ai's Black Panda. It uses a modified version of the panda firmware/SDK.
The design uses an automotive-grade Deutsch header, which eliminates the need for a switching relay. Feel free to replace this with something else. If you want to use "ODB-C" you'll need to use pins C0/C3 (inputs), C10/C11 (outputs).
To use the deutsch header, you'll need a crimper and some parts:
- 1 DTM13-12A or some variant of the header. This needs hand-soldered. - 1 DTM06-12S, the male connector - 1 WM-12S, a wedgelock - 12 Crimpable Sockets

Main components on the Raccoon
Raccoon bill of materials (BOM)
56 components, 31 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 2 | SIP32431DR3 SiP32431DR3 | SOT-363_SC-70-6 | U1, U2 |
| 1 | AMS1117-5.0 | SOT-223-3_TabPin2 | U3 |
| 1 | AMS1117-3.3 | SOT-223-3_TabPin2 | U4 |
| 1 | STM32F413RGT6 | LQFP-64_10x10mm_P0.5mm | U6 |
| 4 | TJA1042T-3 | SOIC-8_3.9x4.9mm_P1.27mm | U7, U8, U9, U10 |
| 1 | NEO-M8P | ublox_NEO | U11 |
| 1 | C8545 Q_NMOS_GSD | SOT-23 | Q1 |
| 1 | 16MHZ 16MHz | Crystal_SMD_3225-4Pin_3.2x2.5mm | Y1 |
| 1 | USB_B | USB_B_OST_USB-B1HSxx_Horizontal | J1 |
| 1 | C88373 U.FL-R-SMT(01) | HRS_U.FL-R-SMT(01) | J2 |
| 1 | DTM13-12PA | TE_DTM13-12PA | J3 |
| 1 | CONN_01X08_FEMALE Conn_01x08_Female | PinHeader_1x08_P2.54mm_Vertical | J4 |
| 1 | CONN_01X02_FEMALE Conn_01x02_Female | PinHeader_1x02_P2.54mm_Vertical | J5 |
| 1 | 2.6A | Fuse_1812_4532Metric | F1 |
| 1 | W2H | W2H15C4738AT1A | FL1 |
| 2 | SW_SPST | SW_PUSH_6mm_H8mm | SW1, SW2 |
| 2 | C8678 D_Schottky | D_SMA | D1, D5 |
| 1 | C409780 LED_RGB | LED_RGB_5050-6 | D2 |
| 1 | C72043 GREEN | LED_0603_1608Metric | D3 |
| 1 | C2286 RED | LED_0603_1608Metric | D4 |
Show 11 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | 27 nH | L_0603_1608Metric | L1 |
| 6 | 10U 10u | C_0805_2012Metric | C3, C4, C5, C6, C8, C9 |
| 2 | 10P 10p | C_0402_1005Metric | C10, C12 |
| 10 | 100N 100n | C_0603_1608Metric | C11, C14, C15, C16, C17, C18, C19, C20 +2 |
| 1 | 4.7U 4.7u | C_0603_1608Metric | C13 |
| 2 | 22 | R_0603_1608Metric | R1, R2 |
| 2 | 10K 10k | R_0603_1608Metric | R3, R4 |
| 3 | 100 | R_0603_1608Metric | R5, R6, R7 |
| 1 | 820 | R_0603_1608Metric | R8 |
| 1 | 4.7K 4.7k | R_0603_1608Metric | R9 |
| 1 | 10 | R_0402_1005Metric | R10 |
Raccoon design files
The KiCad project lives in the sunnyhaibin/raccoon repository on GitHub; these links point at the commit this page was built from.
- Layoutpcb/raccoon.kicad_pcb
- Schematicpcb/raccoon.kicad_sch
- BOMpcb/JLCPCB/raccoon-bom.csv
Raccoon: common questions
What microcontroller does the Raccoon use?
The Raccoon is built around the STM32F413RGT6, from the STM32 family.
How big is the Raccoon PCB?
The Raccoon measures 100.9 × 71.5 mm, has 4 copper layers and is 4.69 mm thick.
How many components are on the Raccoon?
56 components, from 31 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 Raccoon design files?
From the sunnyhaibin/raccoon 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 Raccoon design in my own project?
Yes, under the terms of its MIT license, which sunnyhaibin chose for the repository.
Can I test firmware for the Raccoon 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
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
AxxSolder
AxxAxx
39 × 82.5 mm122 parts2LGPL-3.01.7kSTM32
AIOC
skuep
21 × 31.5 mm47 parts2LMIT1.4kSTM32
Ferris
pierrechevalier83
208.8 × 86.8 mm102 parts2LSHL-2.11.3kSTM32
Module 16S
stuartpittaway
71.1 × 89.6 mm113 parts4LCC-BY-NC-4.01.1kSTM32
Djinn
tzarc
192.3 × 150.5 mm216 parts2LCERN-OHL-S-2.0988