Skip to the content
4 layers90 × 75 mmCM4 2 Backup, the printed circuit board in 3D

Raspberry Pi CM4 based NAS solution board

Size
90 × 75 mm
Copper layers
4
Thickness
1.6 mm
Parts
21
Nets
172
Pads
370
Tracks, vias
1,041, 132
Pours
5
Routed
Yes
KiCad
KiCad 5 (file 20201220)
Created
21 Dec 2020
Updated
2 Jan 2021

Overview

CM4 2 Backup is an open-source printed circuit board by olvint, from the olvint/CM4-NAS-MiniPCIE repository on GitHub. It is a 4-layer board of 90 × 75 mm with 21 parts on 172 nets, routed with 1,041 tracks and 132 vias.

It is built around the RJ45. Its parts include 16 connectors, 2 fuses, 1 capacitor and 1 resistor. It belongs with the computers and single-board computers boards and the Raspberry Pi (Linux) boards of this library.

Main components

1

README

README.md

Rapberry PI compute module 4 NAS PCB for using JLCPCB.com. (pre-test version)

General view of PCB based on processing gbr files on JLCPCB.com

PCB_view

Main purpose of design is to make NAS with more reliable SATA connection comparing to USB-to-SATA converters. SATA controllers can be connected through MiniPCIe slot. There are variety of cards in market, mainly my intend was to use this for 2 SATA (see picture below). This is half size card. Cards for 4 SATA with RAID controller also can be connected.

Design is made using nighly version of KiCAD 5.99.0 Please study Raspberry PI CM4 datasheet

card

Differential lines

PCB was designed by a newcomer. All steps made are listed below. This section is very important and risky. Mistakes can be made. 90 R and 100R impedance differential lines are used.Calculations of differential lines are made using JLCPCB internal calculator

Results of calculation - 90R and 100R

Those results put in KiCAD. KiCAD_Layers

JLC7628 Stackup used all settings transfered to KiCAD stackup

All vias minimal diameter is 0.45 as price will be much higher for VIAs of less size.

PCB description

Sockets on PCB

  • MiniPCIe slot (designed for hlaf-size cards)
  • HDMI in order to use device as media player
  • Gigabit LAN
  • SD card slot for using CM4’s without eMMC
  • USB A 2.0 socket for connecting periphery like Zigbee.
  • MicroUSB for installing firmware to CM4 and power supply. All sockets placed on top edge of PCB for more reliable use and easy design of 3D print case.

Footprints

All sockets footprints selected to be most common. In standard library of KiCAD I did not found suitable MicroSD socket. And ofcource footprint of CM4 is also taken from Raspberry PI CM4 IO borad. All external footprints are in folder LIBS. I wanted to install all sockets on one side of the board and there was not much space. MicroUSB socket I put on other side of the board below MicroSD socket.

On board connectors.

Power input.

There are 2 connectors with 4 pins (GND, +12V, +5V, +3.3V) Connectors can be used for powering board and soldering cable for powering HDDs.

  • +12 V is only used for HDD. Board has 2 interconnected pins, but level +12 V not used on board. MiniPCIe does not have +12V input.
  • +5V used for powering CM4 module and giving power to USB and HDMI. Two SMD resettable fuses installed to protect board from short circuit.
  • +3.3 V used for powering PCI-to-SATA module. Nothing else.
  • 1.5 V. Special connector made above PCIe slot. Generaly this level is not required. It is planned to use SATA module based on chip ASM1061 that has Integrated 3.3V to 1.2V switch regulator.

Initial CM4 IO Borad has more copmplicated power system with different ICs for protecting not only from short circuit but, under voltage, overload etc.

GPIO.

Left side of board has GPIO connector and small connector for selecting level of GPIO (GPIO_Vref)

  • GPIO 2
  • GPIO 3
  • GPIO 4
  • GPIO 12
  • GPIO 15
  • GPIO 14

Service conections and LEDs

There is a connector with following signals

  • nRPIBOOT
  • PI_POWER_LED
  • Global_EN
  • nEXTRST
  • Analog_P1
  • Analog_P0
  • RUN_PG
  • PI_N_LED

Other connectors

  • USG_OTG connector used to connect USB_OTG_ID pin of CM4 for installing firmware to eMMC.
  • USB hub connecor Connector with 4 pins GND, D+, D-, +5V can be used to connect external USB hub if you need it in your project.
  • MiniPCIe USB D+/D-. MiniPCIe slot also has connections for D+ and D- another connector used for it. This is not connected to CM4 D+/D- lines.
  • One GND connector just for the case.

GBR files

GBR files are prepared in FAB folder. Also archive prepared FAB_JLCPCB.zip for making order. Please note that you need to turn on option Impedance and select JLCPCB7628 stackup

KiCAD view

Front Front

Back Back

Update 28.12.2020 - Rerouted some tracks. Moved MicroUSB below MicroSD. Update 02.01.2021 - Rerouted a lot of tracks. Added beauty.

Parts

21
QtyValueFootprintReferences
2PolyfuseResistor_SMD:R_0805_2012MetricF1, F2
110ufCapacitor_SMD:C_1206_3216MetricC1
112K1%Resistor_SMD:R_1206_3216MetricR1
11V5Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ42
1Bus_PCI_Express_MiniConnector_PCBEdge:BUS_PCI_Express_Mini_HalfJ1
1ComputeModule4-CM4CM4IO:Raspberry-Pi-4-Compute-ModuleModule1
1Conn_01x07_FemaleConnector_PinSocket_2.54mm:PinSocket_1x07_P2.54mm_VerticalJ30
1Controll ConnectorConnector_PinHeader_2.54mm:PinHeader_1x07_P2.54mm_VerticalJ20
1GPIO_VConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical_SMD_Pin1RightJ17
1HDMI_A_1.4CM4IO:EDAC 690-019-298-412J6
1Micro_SD_CardSD:Conn_uSDcardJ5
1N_LEDConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ40
1PCIE_USB_D-/D+Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ10
1RJ45Connector_RJ:RJ45_Ninigi_GEJ9
1USB_AConnector_USB:USB_A_CONNFLY_DS1095-WNR0J2
1USB_B_MicroConnector_USB:USB_Mini-B_Lumberg_2486_01_HorizontalJ4
1USB_HUBConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ3
1USB_OTGConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ7
1V_IN1Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ11
1V_IN2Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ12

Similar boards

  • 2 layers33.7 × 97.8 mmHAN ESP TSS721, the printed circuit board in 3D

    HAN ESP TSS721

    UtilitechAS/amsreader-firmware

    ESP8266 and ESP32 compatible firmware to read, interpret and publish data to MQTT from smart electrical meters, both DLMS and DSMR is supported

    29 parts470
  • 4 layers84 × 82 mmToad, the printed circuit board in 3D

    Toad

    travisgoodspeed/goodfet

    An embedded bus adapter for various microcontrollers and radios.

    241 parts333
  • 2 layers100 × 100 mmCANBuster, the printed circuit board in 3D

    CANBuster

    GBert/misc

    miscellaneous stuff / unsorted

    182 parts99
  • 2 layers50 × 55.4 mmCasserole, the printed circuit board in 3D

    Casserole

    puddly/casserole

    Control GE appliances

    23 parts94Apache-2.0
  • 2 layers67.9 × 47.8 mmPlatine, the printed circuit board in 3D

    Platine

    nv1t/standing-desk-interceptor

    I wanted to intercept the communication between my Flexispot standing desk buttons. This is the progress on the project

    11 parts52CC0-1.0
  • 4 layers73.9 × 84.5 mmAei, the printed circuit board in 3D

    Aei

    Severson-Group/AMDC-Hardware

    Circuit board designs for controlling advanced motor systems

    54 parts51
  • 2 layers99 × 60 mmPwr, the printed circuit board in 3D

    Pwr

    mfkiwl/KiwiSDR_PCB

    KiCAD PCB files for KiwiSDR project including active antenna and bias tee

    64 parts46
  • 2 layers70 × 50 mmS88iso, the printed circuit board in 3D

    S88iso

    GBert/railroad

    git clone https://github.com/arendst/Tasmota.git cd Tasmota git tag pio run

    33 parts36

Questions

How big is the CM4 2 Backup PCB?

It measures 90 × 75 mm and has 4 copper layers, 1.6 mm thick.

What parts does the CM4 2 Backup use?

21 parts, built around the RJ45. 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 CM4 2 Backup KiCad files?

From the olvint/CM4-NAS-MiniPCIE repository on GitHub, at the commit this page was made from: the board is CM4_2_Backup.kicad_pcb and its schematic CM4_2.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the CM4 2 Backup design in my own project?

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