
Lego gameboy main
greigs/OpenBrickGB
Functional / Playable Lego Game Boy Electronics - PCB Design Files

A 4-layer automotive hardware gateway bridging BLE 5.3 (TI CC2340) and CAN FD (TCAN4550-Q1) with 9V–36V vehicle power protection and seamless battery backup. Designed in KiCad 10.
Automotive BLE CAN is an open-source printed circuit board by colonelblacc, from the colonelblacc/Automotive-BLE-CAN-Gateway repository on GitHub. It is a 4-layer board of 59.9 × 47.8 mm with 126 parts on 95 nets, routed with 873 tracks and 64 vias.
It is built around the CC2340R52E0RKPR, TCAN4550RGY and LM5164DDA, with the LMR36506MSC5RPERQ1, LMR36506MSCQRPERQ1 and BQ24040DSQR among its other parts. Its parts include 53 capacitors, 28 resistors, 8 ICs, 7 inductors and 5 diodes. It belongs with the radio and wireless boards of this library.
| Top View (BLE 5.3 SoC, RF Front-End, Test Points) | Bottom View (Automotive Power Conditioning & Battery) |
|---|---|
![]() | ![]() |
Modern vehicles and commercial fleets produce a wealth of diagnostics and telemetry over internal CAN networks. Accessing and logging that data wirelessly—without bulky external dongles or unreliable power taps—can be a challenge.
I designed this 4-layer hardware gateway to bridge CAN Flexible Data-Rate (CAN FD) networks directly to Bluetooth Low Energy (BLE 5.3). It allows mobile devices, diagnostic tablets, or edge gateways to monitor real-time vehicle telemetry, capture OBD-II/UDS data frames, and stream sensor feeds over a secure wireless connection.
The hardware is built specifically for automotive environments:
| Subsystem | Component / Specification | Key Details |
|---|---|---|
| Wireless SoC | TI CC2340R52E0RKPR | 48 MHz Arm Cortex-M0+, 512 KB Flash, 36 KB SRAM, BLE 5.3 radio |
| CAN Controller | TI TCAN4550-Q1 | Integrated CAN FD controller & transceiver, up to 5 Mbps, AEC-Q100 Grade 1 |
| Primary Buck | TI LM5164 | 100V wide-input synchronous buck regulator delivering 3.3V logic power |
| Battery Management | TI BQ24040 + TPS63900 | Linear single-cell Li-ion charger with thermal foldback + high-efficiency buck-boost |
| Power Multiplexer | TI TPS2116 | Automatic hardware priority power mux (<2 µs break-before-make switchover) |
| CAN Supply | TI LMR36506 | Dedicated 65V/0.6A synchronous buck providing isolated ~6.0V to CAN transceiver |
| Reverse Protection | Vishay SQ2361AEES | -60V P-channel MOSFET (dissipates <15 mW under full load) |
| Overvoltage / ESD | Littelfuse SMAJ36CA + Nexperia ESDCAN24 | 36V 400W TVS clamp + ±30kV automotive CAN bus ESD suppressors |
| RF Front-End | Johanson 2450AT18D0100E | 2.45 GHz ceramic chip antenna with 50Ω CPWG feed and discrete Pi matching |
| PCB Technology | 4-Layer FR4 (~1.6mm) | JLC04161H stackup (1 oz outer / 0.5 oz inner Cu, ENIG finish) |
The power tree is split intentionally into separate regulators to isolate noisy loads (like CAN bus transceivers) from sensitive high-frequency digital logic and the BLE radio.
┌────────────────────────────────────────────────────────────────────────────────────────┐
│ 9V-36V Vehicle Power Input (J1) │
│ F1 (2A Fuse) ──► D1 (36V TVS) ──► Q1 (P-FET Reverse Clamp) ──► VIN_PROTECTED │
└────────────────────────────────────────┬───────────────────────────────────────────────┘
│
┌──────────────────────────┼──────────────────────────┐
▼ ▼ ▼
┌──────────────────┐ ┌──────────────────┐ ┌──────────────────┐
│ U1: LM5164 │ │ U4: LMR36506 │ │ U8: LMR36506 │
│ 100V→3.3V Buck │ │ 65V→5V Buck │ │ 65V→6V Buck │
│ (3V3_REG) │ │ (5V_CHARGER) │ │ (VSUP_CAN) │
└─────────┬────────┘ └─────────┬────────┘ └─────────┬────────┘
│ ▼ │
│ ┌──────────────────┐ │
│ │ U5: BQ24040 │ │
│ │ Li-Ion Charger │ │
│ └────────┬─────────┘ │
│ ▼ │
│ ┌──────────────────┐ │
│ │ J_BAT1 Li-Ion │ │
│ │ 3.7V / 4.2V │ │
│ └────────┬─────────┘ │
│ ▼ │
│ ┌──────────────────┐ │The project is structured in KiCad 10 across 5 hierarchical sheets to keep functional blocks clean, modular, and easy to review.
Connects the top-level power rails, high-speed SPI bus, CAN differential pairs, and control lines between sheets.

Handles incoming vehicle power protection: 2A fuse, bidirectional 36V TVS clamp, reverse-polarity P-FET switch, and the high-voltage LM5164 buck converter stepping down to 3.3V logic.

Features the TI CC2340R52 SoC, decoupling network, crystal oscillators, 50Ω Coplanar Waveguide with Ground (CPWG), discrete Pi matching filter, and ceramic chip antenna with ground keepout.

Houses the TCAN4550-Q1 CAN FD controller, high-speed SPI interface, common-mode choke (ACT45B), ±30kV ESD clamp, jumper-selectable split termination (JP1), and the dedicated 6V buck supply (U8).

Contains the BQ24040 linear charging IC with NTC thermal foldback, TPS63900 buck-boost regulator (3.3V output from single cell 3.0V–4.2V), and TPS2116 priority power multiplexer for seamless battery failover.

Automotive terminal headers for vehicle power, CAN bus, battery JST connection, and standard SWD/JTAG debug pins for firmware flashing.

The board uses a standard 4-layer stackup (JLC04161H-7628) with 1 oz copper outer layers and 0.5 oz inner layers (~1.6 mm finished thickness, ENIG surface finish).
| Layer 1: Front Copper (F.Cu - RF CPWG & High-Speed Signals) | Layer 2: Inner Ground (In1.Cu - Solid Ground Plane) |
|---|---|
![]() | ![]() |
| Layer 3: Inner Power (In2.Cu - Power Polygons) | Layer 4: Bottom Copper (B.Cu - Low-Speed Signals & GND) |
![]() | ![]() |
| Layer | Type | Copper | Function & Routing Strategy |
|---|---|---|---|
| L1 (Top) | Signal | 1 oz (35 µm) | 50Ω CPWG RF feed to chip antenna, high-speed SPI lines, IC placement |
| L2 (Inner 1) | Ground | 0.5 oz (17.5 µm) | Solid unbroken ground plane directly under RF and differential CAN pairs |
| L3 (Inner 2) | Power | 0.5 oz (17.5 µm) | Star power distribution (+3.3V system, 3V3_BAT, 5V_CHARGER, VSUP_CAN) |
| L4 (Bottom) | Signal/GND | 1 oz (35 µm) | Battery charger circuitry, power passives, low-speed status traces, ground flood |
P-Channel MOSFET vs. Schottky Diode for Reverse Polarity:
At 1.5A transient load, a typical Schottky diode has a forward drop of 0.4V–0.6V, wasting over 600 mW as heat in an enclosed casing. I used an AEC-Q101 qualified P-MOSFET (Vishay SQ2361AEES, -60V Vds). Its low on-resistance (~30 mΩ) keeps power dissipation below 15 mW, eliminating heatsink requirements entirely.
Dedicated CAN Transceiver Buck Stage (U8):
CAN transceivers draw sharp, high-current pulses during dominant bit transitions. Powering the TCAN4550 transceiver directly from the primary 3.3V logic rail could cause voltage sag or couple high-frequency switching hash into the BLE radio. A dedicated 6V buck (U8) isolates transceiver noise from the rest of the board.
Hardware Power Mux (TPS2116) vs. Diode-OR:
Simple dual-diode OR circuits suffer from diode voltage drops and battery leakage. The TPS2116 power multiplexer provides seamless break-before-make transition with an ultra-fast <2 µs switchover time. Vehicle power (IN1) is given strict priority; if it drops below threshold, the multiplexer instantly switches to battery backup without resetting the MCU.
Split AC Termination on CAN Bus (JP1):
Instead of a single 120Ω resistor across CAN_H and CAN_L, I implemented split termination using two 60.4Ω precision resistors with a center-tapped 4.7nF capacitor to ground. This filters common-mode RF noise without impacting differential signals. A jumper header allows configuring the board as an end-of-line (120Ω) or mid-bus node.
The board layout and electrical connectivity were verified in KiCad with zero errors and zero warnings:
| Design Rule Check (DRC: 0 Errors / 0 Warnings) | Electrical Rules Check (ERC: 0 Errors / 0 Warnings) |
|---|---|
![]() | ![]() |
├── Automotive_BLE_CAN.kicad_pro # KiCad 10.0 project configuration
├── Automotive_BLE_CAN.kicad_sch # Top-level hierarchical schematic
├── Automotive_BLE_CAN.kicad_pcb # 4-layer PCB layout
├── 01_Power_Input.kicad_sch # Sheet 1: Power conditioning & buck
├── 02_BLE_MCU.kicad_sch # Sheet 2: CC2340R52 BLE SoC & RF matching
├── 03_CAN_Interface.kicad_sch # Sheet 3: TCAN4550-Q1 CAN FD interface
├── 04_Battery.kicad_sch # Sheet 4: Battery charger & power mux
├── 05_Connectors_Debug.kicad_sch # Sheet 5: Connectors & SWD header
│
├── Architecture Diagram/ # Block diagram & architecture drawing
│ ├── Automotive_BLE_CAN_Architecture_Diagram.png
│ └── Automotive_BLE_CAN_Architecture_Diagram.pdf
│
├── BOM/ # Bill of Materials
│ └── BOM_Automotive_BLE_CAN.csv # Full component procurement list (73 line items)
│
├── Gerbers/ # Production RS-274X manufacturing files
│ ├── Automotive_BLE_CAN-F_Cu.gtl # Top Copper
│ ├── Automotive_BLE_CAN-In1_Cu.g1 # Layer 2 Ground Plane
│ ├── Automotive_BLE_CAN-In2_Cu.g2 # Layer 3 Power Polygons
│ ├── Automotive_BLE_CAN-B_Cu.gbl # Bottom Copper
│ └── ... # Soldermasks, silkscreens, edge cuts
│
├── Drill File/ # Excellon NC drill filesgit clone https://github.com/colonelblacc/Automotive-BLE-CAN-Gateway.gitAutomotive_BLE_CAN.kicad_pro in KiCad.Alt+3).Gerbers/ can be previewed directly using KiCad GerbView or online tools like JLCPCB/PCBWay viewer.Ajith Shajan
B.Tech in Electronics and Communication Engineering
Govt. Model Engineering College, Kochi (KTU)
This project is open-source hardware licensed under the MIT License.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | 0.1uF | Capacitor_SMD:C_0603_1608Metric | C5, C6, C7, C8, C9, C10, C11, C16 |
| 8 | 100nF | Capacitor_SMD:C_0603_1608Metric | C4, C30, C31, C34, C37, C46, C50, C52 |
| 8 | TestPoint | TestPoint:TestPoint_Pad_D2.0mm | TP1, TP2, TP3, TP4, TP5, TP6, TP8, TP9 |
| 6 | 1uF | Capacitor_SMD:C_0603_1608Metric | C13, C33, C42, C43, C45, C51 |
| 5 | 100k | Resistor_SMD:R_0603_1608Metric | R1, R2, R4, R5, R7 |
| 4 | 10k | Resistor_SMD:R_0603_1608Metric | R8, R9, R10, R24 |
| 3 | 10uF | Capacitor_SMD:C_0805_2012Metric | C26, C41, C44 |
| 2 | 1.5pF | Capacitor_SMD:C_0402_1005Metric | C22, C23 |
| 2 | 12pF | Capacitor_SMD:C_0402_1005Metric | C14, C17 |
| 2 | 15pF | Capacitor_SMD:C_0402_1005Metric | C18, C20 |
| 2 | 1M | Resistor_SMD:R_0603_1608Metric | R13, R14 |
| 2 | 1k | Resistor_SMD:R_0603_1608Metric | R22, R25 |
| 2 | 2.2uF | Capacitor_SMD:C_0805_2012Metric | C36, C49 |
| 2 | 22uF | Capacitor_SMD:C_0805_2012Metric | C35, C40 |
| 2 | 22uF | Capacitor_SMD:C_0603_1608Metric | C3, C53 |
| 2 | 4.7uF | Capacitor_SMD:C_0805_2012Metric | C38, C39 |
| 2 | 6.8uH | Inductor_SMD:L_Coilcraft_XxL4020 | L5, L8 |
| 2 | 60.4 | Resistor_SMD:R_0805_2012Metric | R11, R12 |
| 2 | 8.2pF | Capacitor_SMD:C_0402_1005Metric | C27, C28 |
| 2 | Conn_01x03_Pin | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J1, J2 |
| 1 | 0.7pF | Capacitor_SMD:C_0402_1005Metric | C21 |
| 1 | 1.0nF | Capacitor_SMD:C_0603_1608Metric | C47 |
| 1 | 1.2pF | Capacitor_SMD:C_0402_1005Metric | C19 |
| 1 | 100k | Resistor_SMD:R_0805_2012Metric | R28 |
| 1 | 100nF | Capacitor_SMD:C_0402_1005Metric | C24 |
| 1 | 100pF | Capacitor_SMD:C_0402_1005Metric | C48 |
| 1 | 10pF | Capacitor_SMD:C_0402_1005Metric | C15 |
| 1 | 10uF | Capacitor_SMD:C_0603_1608Metric | C12 |
| 1 | 10uF | Capacitor_SMD:C_1210_3225Metric | C29 |
| 1 | 10uH | Inductor_SMD:L_0805_2012Metric | L2 |
| 1 | 110k | Resistor_SMD:R_0603_1608Metric | R23 |
| 1 | 15V | Diode_SMD:D_SOD-123 | D2 |
| 1 | 16.2k | Resistor_SMD:R_0603_1608Metric | R17 |
| 1 | 174k | Resistor_SMD:R_0603_1608Metric | R3 |
| 1 | 2.16k | Resistor_SMD:R_0603_1608Metric | R15 |
| 1 | 2.2nF | Capacitor_SMD:C_0603_1608Metric | C2 |
| 1 | 2.2uF | Capacitor_SMD:C_0603_1608Metric | C1 |
| 1 | 2.2uH | Inductor_SMD:L_1008_2520Metric | L6 |
| 1 | 2.8nH | Inductor_SMD:L_0402_1005Metric | L4 |
| 1 | 20.0k | Resistor_SMD:R_0603_1608Metric | R6 |
| 1 | 20k | Resistor_SMD:R_0805_2012Metric | R27 |
| 1 | 2A (provisional) | Fuse:Fuse_1206_3216Metric | F1 |
| 1 | 2k | Resistor_SMD:R_0603_1608Metric | R16 |
| 1 | 2nH | Inductor_SMD:L_0402_1005Metric | L3 |
| 1 | 32.768Khz | Crystal:Crystal_SMD_3215-2Pin_3.2x1.5mm | Y2 |
| 1 | 330nF | Capacitor_SMD:C_0603_1608Metric | C25 |
| 1 | 36.5k | Resistor_SMD:R_0603_1608Metric | R19 |
| 1 | 4.7nF | Capacitor_SMD:C_0603_1608Metric | C32 |
| 1 | 402k | Resistor_SMD:R_0603_1608Metric | R26 |
| 1 | 40MHz | Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm | Y3 |
| 1 | 47uH | Inductor_SMD:L_Bourns_SRN6045TA | L1 |
| 1 | 48MHz | Crystal:Crystal_SMD_2016-4Pin_2.0x1.6mm | Y1 |
| 1 | 511 | Resistor_SMD:R_0603_1608Metric | R18 |
| 1 | 5k | Resistor_SMD:R_0603_1608Metric | R21 |
| 1 | 9.53k | Resistor_SMD:R_0603_1608Metric | R20 |
| 1 | Antenna | RF_Antenna:Johanson_2450AT18x100_2400-2500Mhz | AE1 |
| 1 | BQ24040DSQR | footprints:DSQ10_P9X1P5 | U5 |
| 1 | CC2340R52E0RKPR | footprints:RKP0040B-MFG | U2 |
| 1 | Conn_01x02_Pin | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | JP1 |
| 1 | Conn_01x03_Pin | Connector_JST:JST_PH_B3B-PH-K_1x03_P2.00mm_Vertical | J_BAT1 |
| 1 | Conn_01x05_Pin | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J3 |
| 1 | D_TVS | Diode_SMD:D_SMC | D1 |
| 1 | D_TVS | Diode_SMD:D_0402_1005Metric | D3 |
| 1 | D_TVS_Dual_AAC | Package_TO_SOT_SMD:SOT-23 | D5 |
| 1 | Filter_EMI_CommonMode | Inductor_SMD:L_CommonModeChoke_Coilcraft_1812CAN | FL1 |
| 1 | LED | LED_SMD:LED_0603_1608Metric | D4 |
| 1 | LM5164DDA | Package_SO:HSOP-8-1EP_3.9x4.9mm_P1.27mm_EP2.41x3.1mm_ThermalVias | U1 |
| 1 | LMR36506MSC5RPERQ1 | footprints:RPE0009A | U4 |
| 1 | LMR36506MSCQRPERQ1 | footprints:RPE0009A | U8 |
| 1 | SQ2361AEES-T1_GE3 | Package_TO_SOT_SMD:SOT-23 | Q1 |
| 1 | TCAN4550RGY | Package_DFN_QFN:Texas_RGY_R-PVQFN-N20_EP2.05x3.05mm | U3 |
| 1 | TP | TestPoint:TestPoint_Pad_D2.0mm | TP7 |
| 1 | TPS2116DRLR | footprints:DRL0008A-MFG | U7 |
| 1 | TPS63900 | Package_SON:WSON-10-1EP_2.5x2.5mm_P0.5mm_EP1.2x2mm_ThermalVias | U6 |
The 122 most common of 126 parts.

greigs/OpenBrickGB
Functional / Playable Lego Game Boy Electronics - PCB Design Files

omniframe-art/Omniframe-Hardware
Omniframe is an open source e-paper digital frame. This repository includes the source and fabrication files for the main and secondary boards for driving the 13.3" Monochrome e-ink display.





ALECIA13/EEE3088F-2025
This repository contains the Power Module for a Micro-Mouse robot project, developed as part of the EEE3088F (2025) course.

BirryGit/Battery-Powered-Meshtastic-Board
I want to learn how to make PCBs, and this seemed like a good idea. I originally was following the Stasis tutorial, but veered away from it significantly. I want to get into meshtastic, so this is awesome :)
It measures 59.9 × 47.8 mm and has 4 copper layers, 1.61 mm thick.
126 parts, built around the CC2340R52E0RKPR, TCAN4550RGY, LM5164DDA and LMR36506MSC5RPERQ1. 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.
From the colonelblacc/Automotive-BLE-CAN-Gateway repository on GitHub, at the commit this page was made from: the board is Automotive_BLE_CAN.kicad_pcb and its schematic 01_Power_Input.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask colonelblacc before reusing the design.