Skip to the content
PCBKitNew board
2 layers21 × 39.4 mmRpi uart, the printed circuit board in 3D

This UART board for the Raspberry Pi, is one of those Sunday morning projects that turned out to be quite useful. It lets you to power and talk to the board using only a micro-USB cable. Hence you can go from this mess

Size
21 × 39.4 mm
Copper layers
2
Thickness
1.6 mm
Parts
28
Nets
14
Pads
81
Tracks, vias
144, 4
Pours
2
Routed
Yes
KiCad
KiCad 4
Created
19 Mar 2023
Updated
19 Mar 2023

Overview

Rpi uart is an open-source printed circuit board by avahidi, from the avahidi/rpi-uart repository on GitHub. It is a 2-layer board of 21 × 39.4 mm with 28 parts on 14 nets, routed with 144 tracks and 4 vias.

It is built around the CH340G and TLV1117-33DCY. Its parts include 7 ICs, 7 connectors, 5 capacitors, 4 diodes and 3 resistors. It belongs with the interfaces and adapters boards of this library.

Main components

2

README

README.rst

rpi-uart

This UART board for the Raspberry Pi, is one of those Sunday morning projects that turned out to be quite useful. It lets you to power and talk to the board using only a micro-USB cable. Hence you can go from this mess

.. image:: doc/before.jpg :alt: connecting to the rpi using a serial to USB cable

. . . to this:

.. image:: doc/after.jpg :alt: connecting to the rpi using this board

To me the main advantage of this is that I can quickly move it between different boards.

Open hardware

The PCB was developed using KiCad and is published under the CERN Open Hardware License v1.2.

.. image:: doc/pcb.jpg

Some footprints have been modified to eliminate oval plated holes which may be expensive to manufacture. I have also tried to make the design easy to solder, although you may still find the fine-pitch USB connector a bit challenging. The CH340g IC was chosen to avoid depending on FTDI or counterfeit FTDI chips.

Operations modes

The board can be populated in a couple of ways to allow different powering modes. Only one of which will not fry your Raspberry Pi so pay attention to this!

.. image:: doc/schematics.png

RPi mode

text
To connect directly to a Raspberry Pi you should populate the following components::


     component |          type          | notes
    ========================================================
     J2        | micro USB connector    |
     U1        | CH340g                 |
     Y1        | 12MHz crystal          |
     C1,C2     | 22pF 0805 SMD caps     | probably optional
     R2        | 10K 0805 SMD resistor  | optional
     D1        | 0805 LED               | optional
     J5        | solder bridge          | bridge
     J4        | solder bridge          | MUST BE OPEN

If you want to power it from the same cable, you will also need these::

     component |          type          | notes
    ========================================================
     C4        | 22u SMD cap            |
     SW1       | Switch                 | or bridge 1-2 for permanent power



Full 5.0v mode

If you are using this as a stand-alone USB-to-serial converter and WITHOUT a raspberry pi and want to have 5.0v transmit and receive signals you will need to bridge the 5.0 and 3.3 rails::

text
 component |          type          | notes
========================================================
 J5        | solder bridge          | MUST BE OPEN
 J4        | solder bridge          | bridge

Local 3.3v mode

text
If you instead want to use a locally generated 3.3v::

     component |          type          | notes
    ========================================================
     J5        | solder bridge          | MUST BE OPEN
     J4        | solder bridge          | MUST BE OPEN
     U2        | 3.3v SMD regulator     |
     C3, C5    | 100n 0805 SMD caps     |



Remaining components

The following components are not needed and should not be populated::

text
 component |          type          | notes
========================================================
 D4        | protection SMD didoe   | protection for cheap regulators
 R3, R4    | 10K 0805 SMD resistors | for RX/TX LED
 D2, D3    | 0805 SMD LEDs          | RX/TX LED

Parts

28
QtyValueFootprintReferences
5Viafootprints:viaU3, U4, U5, U6, U7
310KResistors_SMD:R_0805_HandSolderingR2, R3, R4
3LEDLEDs:LED_0805_HandSolderingD1, D2, D3
2100nCapacitors_SMD:C_0805_HandSolderingC3, C5
222pCapacitors_SMD:C_0805_HandSolderingC1, C2
2Conn_01x05footprints:pads_01x05J1, J3
2GS2Connectors:GS2J4, J5
112MHzCrystals:Crystal_C26-LF_d2.1mm_l6.5mm_VerticalY1
122uCapacitors_SMD:CP_Elec_8x10C4
13.3vMeasurement_Points:Measurement_Point_Round-SMD-Pad_SmallJ7
15vMeasurement_Points:Measurement_Point_Round-SMD-Pad_SmallJ6
1CH340gHousings_SOIC:SOIC-16W_5.3x10.2mm_Pitch1.27mmU1
1DDiodes_SMD:D_SMBD4
1SW_Push_SPDTButtons_Switches_THT:SW_CuK_OS102011MA1QN1_SPDT_AngledSW1
1TLV1117-33TO_SOT_Packages_SMD:SOT-223U2
1USB_OTGConnectors:USB_Micro-BJ2

Questions

How big is the Rpi uart PCB?

It measures 21 × 39.4 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Rpi uart use?

28 parts, built around the CH340G and TLV1117-33DCY. 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 Rpi uart KiCad files?

From the avahidi/rpi-uart repository on GitHub, at the commit this page was made from: the board is pcb/rpi-uart.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Rpi uart design in my own project?

Its repository states no licence, so its author keeps all rights: ask avahidi before reusing the design.

Similar boards

  • 2 layers124 × 112 mmOpenDropV3, the printed circuit board in 3D

    OpenDropV3

    GaudiLabs/OpenDrop

    Open Source Digital Microfluidics Bio Lab

    318 parts492GPL-3.0
  • 2 layers393.5 × 153.7 mmBoston keyboard V08J, the printed circuit board in 3D

    Boston keyboard V08J

    bluepylons/Boston

    A 120% mechanical keyboard

    613 parts240
  • 2 layers105 × 33 mmRocketPCR, the printed circuit board in 3D

    RocketPCR

    GaudiLabs/PocketPCR

    Pocket size USB powered PCR Thermo Cycler

    50 parts202GPL-3.0
  • 2 layers155 × 80 mmESP32Controller, the printed circuit board in 3D

    ESP32Controller

    simon-jouet/ESP32Controller

    ESP32-based 3D printer controller

    171 parts134
  • 4 layers18 × 51 mmRPROM, the printed circuit board in 3D

    RPROM

    niklasekstrom/RPROM

    ROM emulator based on the RP2350B microcontroller

    44 parts47
  • 4 layers100 × 50 mmTGT kicad data, the printed circuit board in 3D

    TGT kicad data

    sabanekko3/TGT_kicad_data

    学生ロボコン2024、豊田高専T・G・Tがで使用した回路。kicad8

    106 parts37MIT
  • 2 layers43.3 × 37.6 mmZBSmartMeter, the printed circuit board in 3D

    ZBSmartMeter

    Tropaion/ZigBee_SmartMeter_Reader

    This is a ZigBee device to collect data from smartmeters using the DLMS/COSEM protocol.

    37 parts32GPL-3.0
  • 4 layers65 × 100 mmUBMS-2, the printed circuit board in 3D

    UBMS-2

    grokicad/grokicad

    Grok powered schematic intelligence for your kicad repositories

    246 parts28