Sourcekit® PiTray mini
Version: 1.1.0
Language: English, 简体中文
Designer: Shengyuan Fang (方圣源), Weihong Guan
Overview
Sourcekit® PiTray mini is a companion IO board for Raspberry Pi Compute Module 4 (sold separately). It is designed for use both as a development system for Compute Module 4 (CM4) and as an embedded board integrated into end products.
It provides an excellent way to bring similar development experience of Raspberry Pi 4B to CM4. So users could upgrade their system or setup from the standard Raspberry Pi 4B to CM4 seamlessly. With capability to flash OS image to eMMC on CM4, PiTray mini serves as a budget alternative to Raspberry Pi Compute Module 4 IO Board.
Layout
Features
- Compatible with all variants of CM4, no matter whether it uses onboard eMMC or micro SD card
- Capable to flash operation system image to eMMC on CM4 with regular approaches as same as the official CMIO board, no extra tools required
- Same dimensions and mounting holes compared to Model B Raspberry Pi, such as 3B/3B+/4B
Specification
1 CM4 socket
1 set of standard Raspberry Pi HAT conne
1 Standard HDMI 2.0 connector
1 Gigabit Ethernet RJ45 socket
1 native USB 2.0 connector
1 SD card socket for CM4 variants without eMMC
1 USB Type-C connector for powering and also programming eMMC variants of CM4
1 Boot Mode Switch for programming mode and normal mode
1 RUN button for easy reset
1 Red Power LED
1 Green Activity LED
2 mounting holes for CM4
4 CM4 corner marks for CM4 position guidance
Input power: +5V
Dimensions: 85 mm x 56 mm
Compliance
Get started
CM4 without eMMC (Lite)
Got a micro SD card ready with operating system compatiable with raspberry pi, like NOOB, Raspbian or Ubuntu. (See also 1 2 3 4)
Insert the Micro SD card into the micro SD socket on PiTray mini.
Make sure the
eMMC Boot
switch is at theON
position.Mount the CM4 without eMMC on PiTray mini. CAUTION: be careful of the CM4 position, align the CM4 layout corner marks and holes, otherwise CM4 or PiTray would get damaged
Plug Other devices you may needed such as HDMI, Ethernet, USB (see below) Keyboard.
Power PiTray with a 15W USB-C power supply. With the power led on, you are good to go. Enjoy & have fun.
CM4 with eMMC (Flashing Guide)
Power Off. Unplug micro SD card from PiTray if any.
Mount the CM4 (with eMMC) on PiTray. CAUTION: be careful of the CM4 position, align the CM4 layout corner marks and holes, otherwise CM4 or PiTray would get damaged
Make sure the
eMMC Boot
switch is at theOFF
position.On PC, install and launch raspberry pi usbboot. (See also: 5)
Connect PiTray mini with a USB-A to USB-C cable to the PC. (a USB-C to USB-C cable may not work)
Then an external disk like flash drive, aka USB mass storage, would show up on the PC, write this disk with OS image with Raspberry Pi Imager, Etcher or dd as the step 1 above.
After the image is written and the external drive is umounted from PC, disconnect PiTray mini from the PC.
Turn the
eMMC Boot
switch toON
.Plug Other devices you may needed such as HDMI, Ethernet, USB (see below) Keyboard.
Power PiTray with a 15W USB-C power supply. With the red led on, you are good to go. Enjoy & have fun.
- For CM4 with eMMC that already filled with OS image, just start from Step 8 for regular usage.
Guides
Troubleshooting
- USB devices not working
The USB interface is disabled to save power by default on the CM4. To enable it you need to add
dtoverlay=dwc2,dr_mode=host
to the config.txt file
As described in Section 4.2 on Compute Module 4 datasheet.
This feature
could confuse whoever new to Raspberry Pi Compute Module 4, when the exact same behavior as regular Raspberry Pi Model A/B/Zero is expected, especially in case that a USB keyboard is the only approach to interact with the operating system.
To fix that, for CM4 without eMMc, power off CM4, unplug the micro SD card and mounted on a PC with Micro SD card Reader/Writer. Find config.txt
file in the boot partition of the micro SD card, which looks like a flash drive. Append config.txt
with the line
dtoverlay=dwc2,dr_mode=host
Save it, close the file, umount the micro SD card and mount it back to PiTray mini and try again.
For CM4 with eMMC, similar to the process to flash the operating system image, power off PiTray, switch off eMMC Boot
, and connect PiTray to a PC with usbboot
preloaded, then do the editing as above. Finally disconnect PiTray from PC then switch on eMMC Boot
and try again.
For experienced raspberry pi users, this step could be done right after the OS image is written.
For CM4 without eMMC, the OS would launch fine even with eMMC Boot
switch at OFF
. But in this case USB devices on this USB 2.0 port would not work because the USB interface is running at the guest mode. eMMC Boot
switch has to be at position ON
to enable USB function in host mode.
Discussion and Show Cases
- Forum (Powered by GitHub Discussion)
- Prototype release on @BG5USN
- neat CM4 projects/accessories - Jeff Geering
- Raspberry Pi CM4 Boards arrive! Waveshare PoE and PiTray mini - Jeff Geering
- Alternative Raspberry Pi Compute Module 4 Carrier Board Offers Familiar Layout - tom's Hardware
- PiTray Mini Is a CM4 Companion IO Board for Industrial Applications - Hackster.io
- RPi CM4 powered PiTray opens at $14.50 as more carriers prep for launch - LinuxGizmos.com
- Sourcekit PiTray Mini Review: Brings Ports to Raspberry Pi CM4 - tom's Hardware
- The Ultimate Raspberry Pi Compute Module Carrier Board Comparison - upswift
- Sourcekit PiTray Mini Review - Your Exclusive Cart
- @LR_68 - Case for 3D Printing / With Fan
- ElectricBrain - Compute Module 4 based cluster node
Where to buy ?
See also
Raspberry Pi is a trademark of the Raspberry Pi Foundation