

Raccoon
Car Hacking PCB and firmware for a USB to CAN interface, with support for 4 CAN transceivers and an optional NEO-MP8 GNSS module.
- Size
- 100.9 × 71.5 mm
- Copper layers
- 4
- Thickness
- 4.69 mm
- Parts
- 56
- Nets
- 96
- Pads
- 268
- Tracks, vias
- 711, 141
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 5 (file 20210424)
- Created
- 1 Jul 2021
- Updated
- 15 Jan 2025
Overview
Raccoon is an open-source printed circuit board by barbinbrad, from the barbinbrad/raccoon repository on GitHub, published under the MIT licence. It is a 4-layer board of 100.9 × 71.5 mm with 56 parts on 96 nets, routed with 711 tracks and 141 vias.
It is built around the STM32F413RGT6, TJA1042T/3/1J and NEO-M8P-2, with the AMS1117-3.3, AMS1117-5.0 and DTM13-12PA among its other parts. Its parts include 19 capacitors, 10 resistors, 10 ICs, 5 diodes and 5 connectors. It belongs with the radio and wireless boards and the STM32 boards of this library.
Main components
7STM32F413RGT6
LQFP-64(10x10)-40℃~+85℃ 1.7V~3.6V 100MHz 12bit 12bit 1MB 32 Bit 320KB 50 ARM Cortex-M4 Built-in FLASH LQFP-64(10x10) Microcontrollers (MCU/MPU/SOC) ROHSSTMicroelectronicsMicrocontrollers (MCU/MPU/SOC)TJA1042T/3/1J
SOIC-8-40℃~+150℃ 15uA 4.5V~5.5V 5Mbps 70mA SOIC-8 CAN Transceivers ROHSNXP SemiconductorsCAN TransceiversNEO-M8P-2
SMD-24P-160dBm -40℃~+85℃ 2.7V~3.6V GPS、BeiDou、GLONASS UART、I2C、USB、SPI SMD-24P GNSS Modules ROHSu-bloxGNSS ModulesAMS1117-3.3
SOT-223-40℃~+125℃ 0.003%Vout 1 1.1V@(800mA) 15V 1A 3.3V 5mA 72dB@(120Hz) Fixed Over Current Protection、Short Circuit Protection、Thermal shutdown Positive SOT-223 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSAdvanced Monolithic SystemsVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsAMS1117-5.0
SOT-223-40℃~+125℃ 1 1.3V 15V 1A 5V 60dB Fixed Positive Short Circuit Protection、Thermal shutdown SOT-223 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSAdvanced Monolithic SystemsVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsDTM13-12PA
弯插,P=4.2mm-55℃~+125℃ 12P 2 250V 2x6P 4.19mm 6 7.5A Gray Right Angle Tin UL94V-0 弯插,P=4.2mm Wire To Board Connector ROHSTE ConnectivityWire To Board ConnectorU.FL-R-SMT(01)
SMD-40℃~+90℃ 1 1.25mm 2mm 50Ω 6GHz Board Side IPEX Inner pin SMD Coaxial Connectors (RF) ROHSHirose ElectricCoaxial Connectors (RF)
README
README.mdRaccoon
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.

Usage
For self-driving, it is better to buy a red panda from comma.ai. In addition to getting a more reliable product, you'll be supporting open-source software and a really smart group of people.
Header
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
Hand-Soldered Components
There are a few components that need purchased and hand-soldered to make the board work.
GPS
If you order the board as-is from JLCPCB, you can use it with or without GPS.
To use it with GPS, you'll need to hand-solder/install these parts:
- 1 NEO-MP8-2
- 1 W2H15C4738AT1A, a feedthrough capacitor for the GPS antenna.
- 1 Active GNSS Antenna. See Table 7 in the NEO-M8P guide for recommendations.
To use it without GPS, just jump the through-holes labeled NO_GPS. This will tell the firmware to ignore the GPS.
Warning
The board design is untested because of the chip shortage. Use at your own risk.
Credit
Credit to mickabrig7 for the original design and his guidance.
Parts
56| Qty | Value | Footprint | References |
|---|---|---|---|
| 10 | 100n | Capacitor_SMD:C_0603_1608Metric | C11, C14, C15, C16, C17, C18, C19, C20, C21, C22 |
| 6 | 10u | Capacitor_SMD:C_0805_2012Metric | C3, C4, C5, C6, C8, C9 |
| 4 | TJA1042T-3 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U7, U8, U9, U10 |
| 3 | 100 | Resistor_SMD:R_0603_1608Metric | R5, R6, R7 |
| 2 | 10k | Resistor_SMD:R_0603_1608Metric | R3, R4 |
| 2 | 10p | Capacitor_SMD:C_0402_1005Metric | C10, C12 |
| 2 | 22 | Resistor_SMD:R_0603_1608Metric | R1, R2 |
| 2 | D_Schottky | Diode_SMD:D_SMA | D1, D5 |
| 2 | SW_SPST | Button_Switch_THT:SW_PUSH_6mm_H8mm | SW1, SW2 |
| 2 | SiP32431DR3 | Package_TO_SOT_SMD:SOT-363_SC-70-6 | U1, U2 |
| 1 | 10 | Resistor_SMD:R_0402_1005Metric | R10 |
| 1 | 16MHz | Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm | Y1 |
| 1 | 2.6A | Fuse:Fuse_1812_4532Metric | F1 |
| 1 | 27 nH | Inductor_SMD:L_0603_1608Metric | L1 |
| 1 | 4.7k | Resistor_SMD:R_0603_1608Metric | R9 |
| 1 | 4.7u | Capacitor_SMD:C_0603_1608Metric | C13 |
| 1 | 820 | Resistor_SMD:R_0603_1608Metric | R8 |
| 1 | AMS1117-3.3 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U4 |
| 1 | AMS1117-5.0 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U3 |
| 1 | Conn_01x02_Female | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J5 |
| 1 | Conn_01x08_Female | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Vertical | J4 |
| 1 | DTM13-12PA | kicad-footprints:TE_DTM13-12PA | J3 |
| 1 | GREEN | LED_SMD:LED_0603_1608Metric | D3 |
| 1 | LED_RGB | LED_SMD:LED_RGB_5050-6 | D2 |
| 1 | NEO-M8P | RF_GPS:ublox_NEO | U11 |
| 1 | Q_NMOS_GSD | Package_TO_SOT_SMD:SOT-23 | Q1 |
| 1 | RED | LED_SMD:LED_0603_1608Metric | D4 |
| 1 | STM32F413RGT6 | Package_QFP:LQFP-64_10x10mm_P0.5mm | U6 |
| 1 | U.FL-R-SMT(01) | kicad-footprints:HRS_U.FL-R-SMT(01) | J2 |
| 1 | USB_B | Connector_USB:USB_B_OST_USB-B1HSxx_Horizontal | J1 |
| 1 | W2H | raccoon:W2H15C4738AT1A | FL1 |
Similar boards
- 4 layers83.5 × 66.5 mm

- 4 layers138.2 × 200.4 mm

- 2 layers31.5 × 53.5 mm

BSPD-07
PGRacing/BSPD-07
Formula Student Rules 2023, Version 1.1, RULES ABOUT BSPD IN FSG.pdf)
60 parts - 2 layers60 × 90 mm

- 4 layers100 × 100 mm

- 2 layers80 × 50 mm

- 2 layers80 × 50 mm

- 2 layers40.6 × 33 mm

Qwiic GPS RTK - ublox NEO M8P
shaun-lloyd/dev-ardupilot-obal
ArduPi is an open hardware Raspberry Pi hat to run Ardupilot.
103 parts2CC0-1.0
Questions
How big is the Raccoon PCB?
It measures 100.9 × 71.5 mm and has 4 copper layers, 4.69 mm thick.
What parts does the Raccoon use?
56 parts, built around the STM32F413RGT6, TJA1042T/3/1J, NEO-M8P-2 and AMS1117-3.3. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Raccoon KiCad files?
From the barbinbrad/raccoon repository on GitHub, at the commit this page was made from: the board is pcb/raccoon.kicad_pcb and its schematic pcb/raccoon.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Raccoon design in my own project?
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).