Skip to the content
2 layers56.3 × 20.3 mmHat, the printed circuit board in 3D

A serial console and power switching hat for the Raspberry Pi

Size
56.3 × 20.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
40
Nets
29
Pads
120
Tracks, vias
232, 21
Pours
1
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
22 Apr 2021
Updated
18 Jan 2022

Overview

Hat is an open-source printed circuit board by Cambridge-AdvancedOS, from the Cambridge-AdvancedOS/cam-power-uart-hat repository on GitHub. It is a 2-layer board of 56.3 × 20.3 mm with 40 parts on 29 nets, routed with 232 tracks and 21 vias.

It is built around the RQ5C060BCTCL. Its parts include 9 resistors, 6 diodes, 4 capacitors, 3 ICs and 3 connectors. It belongs with the interfaces and adapters boards of this library.

Main components

1

README

README.md

Raspberry Pi Serial and Power Switching Hat

A Raspberry Pi Hat that provides USB serial access to the Pi's serial console. It allows for both power injection and switching via a JST-XH connector. There is also a combo temperature sensor/eeprom that can be accessed over USB.

Created for the L41 Advanced Operating Systems course at UCAM CST.

Overview image showing the power hat attached to a RPi 4B

Board Details

Detail view of the PCB with various chips labelled

Notable ICs

  • MCP2221A - USB UART Interface chip, provides USB communications, GPIO control used for status LEDs and the power switching, and I2C interfacing to control the temperature sensor/eeprom.
  • MCP98243 - I2C temperature sensor and eeprom chip accessible via the MCP2221A. Could be substituted for other I2C chips as long as the power/GND and I2C pins match.
  • RQ5C060BC - High power Pch MOSFET, can be substituted for any other high power (min 3A) MOSFET with a low gate threshold (must fully activate at Vgs = 3v3) and a GSD pin arrangement.

Connectors

  • Micro USB - Provides USB data and can provide power to the onboard ICs in the absense of the JST connector. No power is passed forward to the RPi however, so it cannot be powered from a single USB cable.
  • JST-XH - Main power supply for the RPi, cables should be fitted with XHP-2 connectors with +ve on pin 1 and -ve on pin 2.
  • RPi connector - Fits to the top end of the RPi GPIO header, uses a minimum of pins and leaves the remainder for other interaction.

License

Designed by Thomas Bytheway for University of Cambridge.

Schematic details inspired by:

Adafruit-MCP2221

Designed by Limor Fried/Ladyada for Adafruit Industries.

Adafruit-PiUART

Designed by Limor Fried/Ladyada for Adafruit Industries.

Creative Commons Attribution/Share-Alike, all text above must be included in any redistribution. See license.txt for additional details.

Parts

40
QtyValueFootprintReferences
33k3Resistor_SMD:R_0603_1608MetricR1, R8, R9
2100nCapacitor_SMD:C_0603_1608MetricC3, C4
210kResistor_SMD:R_0603_1608MetricR5, R6
21kResistor_SMD:R_0603_1608MetricR3, R4
21uCapacitor_SMD:C_0603_1608MetricC1, C2
25k1Resistor_SMD:R_0603_1608MetricR2, R7
2FiducialFiducial:Fiducial_0.75mm_Mask1.5mmFID1, FID2
2MountingHoleMountingHole:MountingHole_2.7mm_M2.5H1, H2
12N7002Package_TO_SOT_SMD:SOT-23Q1
13V3TestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mmTP2
15VTestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mmTP1
1BUSLED_SMD:LED_0805_2012MetricD5
1CNNLED_SMD:LED_0805_2012MetricD1
1GNDTestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mmTP6
1LOGOpi-hat:bestieG***
1LOGOpi-hat:ucamG***
1MCP1700T-3302EPackage_TO_SOT_SMD:SOT-89-3U1
1MCP2221AxSLPackage_SO:SOIC-14_3.9x8.7mm_P1.27mmU2
1MCP98243-BE_STPackage_SO:TSSOP-8_4.4x3mm_P0.65mmIC1
1PILED_SMD:LED_0805_2012MetricD6
1PWRONTestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mmTP3
1PWR_INConnector_JST:JST_XH_S2B-XH-A-1_1x02_P2.50mm_HorizontalJ1
1RB495DFHPackage_TO_SOT_SMD:SC-59D4
1RQ5C060BCPackage_TO_SOT_SMD:SOT-23Q2
1RSTConnector_PinHeader_1.27mm:PinHeader_1x03_P1.27mm_VerticalJP1
1RXTestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mmTP5
1Raspberry_Pi_2_3Connector_Samtec_HLE_SMD:Samtec_HLE-105-02-xxx-DV-BE-A_2x05_P2.54mm_HorizontalJ3
1RxLED_SMD:LED_0805_2012MetricD2
1TXTestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mmTP4
1TxLED_SMD:LED_0805_2012MetricD3
1USB_B_MicroConnector_USB:USB_Micro-B_Molex-105017-0001J2

Similar boards

  • 6 layers60 × 30 mmUdsp card, the printed circuit board in 3D

    Udsp card

    crsknr/hw_udsp-card

    A compact DSP development board for real-time embedded audio and sensing

    221 parts2GPL-3.0
  • 2 layers139.7 × 73.7 mm134pin 7-967288-1, the printed circuit board in 3D

    134pin 7-967288-1

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    40 parts1.2k
  • 2 layers149.4 × 177.4 mmLightsculpture, the printed circuit board in 3D

    Lightsculpture

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    40 parts915
  • 2 layers150 × 50 mmEleLab v2 Bus150, the printed circuit board in 3D

    EleLab v2 Bus150

    Chrismettal/EleLab_v2

    Cheap DIY lab system for hobbyists and the tinkering folk

    40 parts531GPL-3.0
  • 2 layers66.4 × 48.1 mmRaspberry, the printed circuit board in 3D

    Raspberry

    Chrismettal/flipper-zero-backpacks

    Backpack-style addon boards for the Flipper Zero!

    40 parts456
  • 2 layers44 × 44 mmTrackball, the printed circuit board in 3D

    Trackball

    jfedor2/rp2040-pmw3360

    RP2040+PMW3360 PCB and code

    40 parts432
  • 2 layers90.8 × 53.3 mmABSIS Bus Master, the printed circuit board in 3D

    ABSIS Bus Master

    jrsteensen/OpenHornet

    OpenHornet 1:1 F/A-18C Simulator Repository

    40 parts431
  • 2 layers59.6 × 109.5 mmDrop, the printed circuit board in 3D

    Drop

    ohmtech-rdi/eurorack-blocks

    Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust

    40 parts410

Questions

How big is the Hat PCB?

It measures 56.3 × 20.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Hat use?

40 parts, built around the RQ5C060BCTCL. 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 Hat KiCad files?

From the Cambridge-AdvancedOS/cam-power-uart-hat repository on GitHub, at the commit this page was made from: the board is board/hat.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Hat design in my own project?

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