Skip to the content
PCBKitNew board
4 layers100 × 100 mmPintry X2, the printed circuit board in 3D

Two bay NAS based on the Raspberry Pi Compute Module 4

Size
100 × 100 mm
Copper layers
4
Thickness
1.59 mm
Parts
193
Nets
241
Pads
828
Tracks, vias
1,473, 483
Pours
42
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
29 May 2021
Updated
31 Dec 2021

Overview

Pintry X2 is an open-source printed circuit board by icamaster, from the icamaster/Pintry repository on GitHub, published under the MIT licence. It is a 4-layer board of 100 × 100 mm with 193 parts on 241 nets, routed with 1,473 tracks and 483 vias.

It is built around the ASM1061, 74AHCT1G126GV and SN74LVC1G17DBV, with the AP62600, DM3D-SF and FSUSB30MUX among its other parts. Its parts include 65 capacitors, 36 resistors, 24 diodes, 13 ICs and 11 connectors. It belongs with the computers and single-board computers boards and the Raspberry Pi (Linux) boards of this library.

Main components

12

README

README.md

Introduction

The Pintry X2 is a two bay NAS (Network Attached Storage) based on the Raspberry Pi Compute Module 4. It uses the ASMedia AS1061 PCIe to Sata bridge to connect up to 2 drives (3.5'/2.5' HDD or 2.5' SSD) to the SoM running a Linux based OS (Raspberry Pi OS).

Website

Here is a link for additional information: https://www.cezarchirila.com/projects/pintry-x2.html

Features

  • Supports both CM4 and CM4 lite variants
  • 2 x SATA ports with power using ASM1061. It should work with both 2.5' and 3.5' HDDs/SSDs but so far it has only been tested with 2.5' SSDs (Western Digital WDS500G2B0A)
  • On/Off switch - Can both wake up the CM4 or shut it down (see Device Tree Overlay section)
  • 2 x Fan headers (PWM pin connected, Tach pin unconnected)
  • 12V Input Power (max 5A, required for 3.5' drives).
  • USB 2.0 Host port for connecting USB devices and a microUSB Device port for updating the eMMC on CM4.
  • Expander header for access to various GPIO

Names have a meaning

Pi + Pantry = Pintry

Device Tree Overlay

Add these changes at the end of the /boot/config.txt to enable specific functionality:

text
# Enable FAN control for FAN0
dtoverlay=gpio-fan,gpiopin=12

# Enable FAN control for FAN1
#dtoverlay=gpio-fan,gpiopin=13

# Enable full functionality of On/Off button
dtoverlay=gpio-shutdown,gpio_pin=21,active_low=0,gpio_pull=off

# Enable UART - UNTESTED
#dtoverlay=uart0,txd0_pin=14,rxd0_pin=15,pin_func=4
#enable_uart=1  

Remember to remove the '#' in from of options you want to enable.

Kernel

Previously, to be able to use SATA drives with a CM4 you had to recompile the kernel with added SATA support. See instructions here (credit to Jeff Geerling for instructions). However, newer kernel versions have SATA support built-in, so you should not have to worry about this.

Enclosure

The enclosure supports 2.5' drives only. It does not have any mounting features for fans, but there is room for a 60mm fan on the bottom as shown in the images below. It does not need supports for printing. Designed in Fusion 360.

For assembly, you will need the following:

  • 4 x M3 brass inserts (D0.46mm, L0.57mm)
  • 4 x M3x18mm socket screws - for mounting the drives
  • 4 x M3x25mm socket screws - for mounting the drives
  • 4 x M3x35mm socket screws - for joining the two halves of the enclosure

Thermal management

To keep temperatures under control, I have used a RAM heatsink on the ASM1061 IC and a 60mm fan on the bottom of the enclosure tied to the FAN header and controlled via the 'gpio-fan' overlay. It is mounted in such way that it blows air over both the CM4 and the ASM1061.

Release

The current latest release is V1.1. This version has not been tested or manufactured yet, therefore I would suggest double checking it if you plan on bulding it! All the necessary manufacturing and assembly files are in the 'OutputJob/Version' and 'Enclosure' folders.

Parts

193
QtyValueFootprintReferences
300.1uFPintryParts-Footprints:C_0402_1005MetricC2, C3, C11, C12, C13, C15, C23, C27, C28, C30, C31, C32, C33, C34, C35, C36 +14
124K7PintryParts-Footprints:R_0402_1005MetricR2, R5, R7, R8, R11, R16, R17, R18, R21, R27, R28, R32
100.01uFPintryParts-Footprints:C_0402_1005MetricC19, C20, C45, C46, C47, C48, C51, C52, C53, C54
910uFPintryParts-Footprints:C_0402_1005MetricC1, C5, C14, C16, C17, C24, C29, C67, C68
7865080443007Capacitor_SMD:CP_Elec_6.3x5.4C8, C10, C49, C50, C55, C56, C66
7D3V3M1U259-7Diode_SMD:D_SOD-923D3, D4, D5, D6, D10, D11, D12
7DF2S6.2FS,L3MDiode_SMD:D_SOD-923D1, D2, D7, D15, D16, D20, D22
6100kPintryParts-Footprints:R_0402_1005MetricR23, R24, R25, R26, R31, R35
6MPZ1608S101ATAH0PintryParts-Footprints:L_0603_1608MetricFB1, FB2, FB3, FB4, FB5, FB6
6TPD4EUSB30Package_SON:USON-10_2.5x1.0mm_P0.5mmU1, U2, U5, U6, U11, U12
5100KPintryParts-Footprints:R_0402_1005MetricR9, R10, R15, R22, R36
51KPintryParts-Footprints:R_0402_1005MetricR1, R6, R14, R19, R20
522uFPintryParts-Footprints:C_0805_2012MetricC6, C58, C62, C63, C64
5DF2S16FS,L3MDiode_SMD:D_SOD-923D13, D14, D21, D23, D25
4GNDPintryParts-Footprints:TestPoint_Pad_D1.0mmTP6, TP15, TP16, TP17
4M3 MountingHole PintryParts-Footprints:MountingHole_3.2mm_M3H1, H2, H3, H4
3APA2107SECKPintryParts-Footprints:APA2107SECKD8, D9, D17
3BSS138PWPackage_TO_SOT_SMD:SOT-323_SC-70Q1, Q2, Q3
3Fiducial BottomFiducial:Fiducial_1mm_Mask2mmFID2, FID4, FID6
3Fiducial TopFiducial:Fiducial_1mm_Mask2mmFID1, FID3, FID5
20RPintryParts-Footprints:R_0402_1005MetricR33, R34
212K1PintryParts-Footprints:R_0402_1005MetricR12, R13
21735284-3PintryParts-Footprints:TE_1735284-3J9, J10
21uFPintryParts-Footprints:C_0402_1005MetricC21, C61
2470RPintryParts-Footprints:R_0402_1005MetricR3, R4
2BZX384-B13Diode_SMD:D_SOD-323D24, D26
2FanConnector_Molex:Molex_KK-254_AE-6410-04A_1x04_P2.54mm_VerticalJ7, J8
2SIA483DJPintryParts-Footprints:Vishay_PowerPAK_SC70-6L_SingleQ5, Q7
1+12VPintryParts-Footprints:TestPoint_Pad_D1.0mmTP5
1+1V2PintryParts-Footprints:TestPoint_Pad_D1.0mmTP11
1+5VPintryParts-Footprints:TestPoint_Pad_D1.0mmTP4
115pFPintryParts-Footprints:C_0402_1005MetricC18
1221KPintryParts-Footprints:R_0402_1005MetricR29
130K1PintryParts-Footprints:R_0402_1005MetricR30
13V3PintryParts-Footprints:TestPoint_Pad_D1.0mmTP18
154-00131PintryParts-Footprints:54-00131J11
174AHCT1G126Package_TO_SOT_SMD:SOT-353_SC-70-5U4
1AP62600PintryParts-Footprints:V-QFN2030-12 (Type A)U13
1ASM1061PintryParts-Footprints:QFN-48-1EP_7x7mm_P0.5mm_EP4.025x4.025mmU7
1BC857BWPackage_TO_SOT_SMD:SOT-323_SC-70Q6
1ComputeModule4-CM4PintryParts-Footprints:Raspberry-Pi-4-Compute-ModuleModule1
1DLW5BTM101SQ2LPintryParts-Footprints:DLW5BTM101SQ2LFL1
1DM3D-SFConnector_Card:microSD_HC_Hirose_DM3D-SFJ4
1ECS-200-12-33-AGN-TRCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
1ExpansionConnector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_VerticalJ6
1FAN0PintryParts-Footprints:TestPoint_Pad_D1.0mmTP10
1FAN1PintryParts-Footprints:TestPoint_Pad_D1.0mmTP9
1FSUSB30MUXPackage_SO:MSOP-10_3x3mm_P0.5mmU14
1GLOBAL_ENPintryParts-Footprints:TestPoint_Pad_D1.0mmTP8
1JD0-0001NLPintryParts-Footprints:Pulse-JD0-0001NL-0-0-MFGJ3
1MIC2005-0.5LYM5Package_TO_SOT_SMD:SOT-23-5U15
1NRS5030T4R7MMGJPintryParts-Footprints:L_Taiyo-Yuden_NR-50xxL1
1PA4341.122NLTPintryParts-Footprints:Pulse_PA4341L2
1RUN_PGPintryParts-Footprints:TestPoint_Pad_D1.0mmTP7
1SN74LVC1G17Package_TO_SOT_SMD:SOT-23-5U3
1SST25VF512APackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU10
1SW_PushButton_Switch_THT:SW_Tactile_SPST_Angled_PTS645Vx58-2LFSSW1
1TBDPintryParts-Footprints:C_0402_1005MetricC59
1UARTConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ5
1USB_APintryParts-Footprints:USB_A_Amphenol_ICC_73725-11A0BLF_HorizontalJ2
1USB_B_MicroPintryParts-Footprints:USB_Micro-B_Amphenol_10103594-0001LF_HorizontalJ1
1VCCPintryParts-Footprints:TestPoint_Pad_D1.0mmTP2
1VINPintryParts-Footprints:TestPoint_Pad_D1.0mmTP1
1VIN_RPPintryParts-Footprints:TestPoint_Pad_D1.0mmTP3
1VUSBPintryParts-Footprints:TestPoint_Pad_D1.0mmTP14

Questions

How big is the Pintry X2 PCB?

It measures 100 × 100 mm and has 4 copper layers, 1.59 mm thick.

What parts does the Pintry X2 use?

193 parts, built around the ASM1061, 74AHCT1G126GV, SN74LVC1G17DBV and AP62600. 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 Pintry X2 KiCad files?

From the icamaster/Pintry repository on GitHub, at the commit this page was made from: the board is Pintry-X2/Pintry-X2.kicad_pcb and its schematic Pintry-X2/CM4-A.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Pintry X2 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).

Similar boards

  • 4 layers50 × 30 mmPicothermal hardware, the printed circuit board in 3D

    Picothermal hardware

    icamaster/picothermal

    Thermal camera based on Flir Lepton with RP2040 and USB-C

    121 parts72MIT
  • 4 layers70.1 × 122.2 mmGbc cm4-aio, the printed circuit board in 3D

    Gbc cm4-aio

    will-tm/gbc-cm4-aio

    This project is a drop-in replacement board that fits and Gameboy Color shell and use the same IPS display as used in GBC kits.

    130 parts2
  • 6 layers100 × 160 mmScopefun v2, the printed circuit board in 3D

    Scopefun v2

    snhobbs/scopefun-hardware

    This repository contains Scopefun hardware schematics and pcb layout files.

    840 parts
  • 4 layers100 × 80 mmR2022-12, the printed circuit board in 3D

    R2022-12

    karlp/hubbish

    Cascading, per port power switching usb2.0-HS 7 port hub

    138 parts3
  • 4 layers90 × 66.3 mmLighthouse base, the printed circuit board in 3D

    Lighthouse base

    mwuerms/lighthouse_hardware

    + lighthouse + buoy: hand sender, ble advertising

    75 partsMIT