Skip to content

Screenly CM5 Player R0 - #2

Open
MuratUrsavas wants to merge 10 commits into
masterfrom
screenly-cm5-player
Open

MuratUrsavas wants to merge 10 commits into
masterfrom
screenly-cm5-player

Conversation

@MuratUrsavas

@MuratUrsavas MuratUrsavas commented Nov 18, 2026 •

Copy link
Copy Markdown

Screenly CM5 Player

Tickets:
https://github.com/Screenly/Octo-Avenger/issues/1007
https://github.com/Screenly/Octo-Avenger/issues/944

Schematics and 4-layer PCB layout of the Screenly CM5 Player, a digital signage player built on the Raspberry Pi Compute Module 5. The bare PCB is SRLY-PCB-000001 (screenly-cm5-player r0).

Hardware

  • Compute: Raspberry Pi CM5 on Hirose DF40HC(3.0) receptacles. A CM4 also works as a fallback, without the USB-A ports, RTC, power button or NVMe.
  • Display: 2× HDMI Type A with CEC.
  • Network: Gigabit Ethernet (MagJack); Wi-Fi/Bluetooth through an external antenna.
  • USB: 2× USB-A 3.0 (side port 2 A bursts, back port 0.9 A), 1× USB-C 2.0 with attach detection, and an internal USB-C for eMMC flashing.
  • Storage: M.2 M-key NVMe; microSD slot (not fitted, for CM5 Lite variants).
  • Security: Infineon SLB9672 TPM 2.0 over SPI, footprint-compatible with ST33KTPM.
  • Audio: PCM5102A I2S DAC to a 3.5 mm jack.
  • Power: 9–16 V barrel jack with reverse-polarity and surge protection, and three 5 A buck converters (CM5, USB, NVMe).
  • Board: RTC coin cell, power and reset buttons, status LEDs, debug UART; ESD protection on all external ports.
  • PCB: 4-layer JLC04161H-7628, 1.6 mm, 120 × 120 mm, ENIG. High-speed pairs are impedance-controlled (90/100 Ω coplanar) and length-matched to the CM5 guidelines.

Also in this PR

  • Library: new symbols, footprints and STEP models for the board's parts, plus mechanical items (screw holes, ESD warning logo).
  • Docs: product specification, including software configuration and CM4 fallback notes.
  • Standards: part library and BOM standard updates. Part numbering is now locked: numbers are never deleted or reused.

Verification

  • ERC and DRC clean.
  • Design review: power, interfaces, CM4 fallback and layout. Accepted deviations are listed in the review notes.
  • To check on the prototype: the CM5 reset pulse width on the TPM reset line, and load-step behaviour of the USB 5 V rail.

Add the schematics and 4-layer PCB layout of the Screenly CM5 Player,
a digital signage player built on the Raspberry Pi Compute Module 5,
with a CM4 fallback. The board has dual HDMI, Gigabit Ethernet,
USB-A 3.0 and USB-C ports, M.2 NVMe, a TPM 2.0, an I2S audio DAC
and a 9-16 V input.

Add the Screenly KiCad part library (symbols, footprints and STEP
models), the part library, part numbering, BOM and assembly part
standards, and the part database tool with locked part numbering.
Copilot AI lite review requested due to automatic review settings November 18, 2026 09:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Unresolved critical and moderate issues remain in CM4 compatibility, KiCad library resolution, concurrent part-number allocation, and transactional database updates.

5 open issues
What changed in this PR

Adds the Screenly CM5 Player R0 hardware design and supporting library, documentation, and part-numbering infrastructure.

Changes:

  • Adds CM5 Player specifications, CM4 fallback documentation, and project library configuration.
  • Adds custom KiCad footprints, component models, and a mechanical spacer model.
  • Adds part-numbering standards, assembly-library guidance, database tooling, licensing information, and ignore rules.
File Description
tools/​partsdb.py Adds the part-number registry, validation, allocation, lookup, deletion, and stock-management CLI.
screenly-cm5-player/​pcb/​sym-lib-table Registers the Screenly symbol library for the CM5 Player PCB project.
screenly-cm5-player/​pcb/​fp-lib-table Registers the Screenly footprint library for the CM5 Player PCB project.
screenly-cm5-player/​docs/​screenly-cm5-player-specifications.md Documents the CM5 Player hardware, software, power, environmental, and CM4 fallback requirements.
README.md Adds repository licensing and third-party model information.
library/​Screenly.pretty/​USB_C_Receptacle_HRO_TYPE-C-31-D-06_Vertical.kicad_mod Adds a vertical USB-C receptacle footprint.
library/​Screenly.pretty/​USB_A_SHOUHAN_QHHTZB6.3_Horizontal.kicad_mod Adds a compact horizontal USB-A receptacle footprint.
library/​Screenly.pretty/​TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod Adds a TSSOP-20 footprint.
library/​Screenly.pretty/​TO-252-2.kicad_mod Adds a TO-252/DPAK footprint.
library/​Screenly.pretty/​TI_WSON-12-1EP_3x3mm_P0.5mm_EP1.3x2.5mm.kicad_mod Adds a TI WSON-12 exposed-pad footprint.
library/​Screenly.pretty/​TI_USON-10_2.5x1.0mm_P0.5mm.kicad_mod Adds a TI USON-10 footprint.
library/​Screenly.pretty/​TestPoint_Pad_D2.0mm.kicad_mod Adds a 2 mm test-point footprint.
library/​Screenly.pretty/​SOT-23.kicad_mod Adds an SOT-23 footprint.
library/​Screenly.pretty/​SOT-23-6.kicad_mod Adds an SOT-23-6 footprint.
library/​Screenly.pretty/​SolderBridge_0402.kicad_mod Adds a 0402 solder-bridge footprint.
library/​Screenly.pretty/​SOIC-8_3.9x4.9mm_P1.27mm.kicad_mod Adds an SOIC-8 footprint.
library/​Screenly.pretty/​Screw_Hole_M3.kicad_mod Adds an M3 mechanical mounting-hole footprint.
library/​Screenly.pretty/​Screw_Hole_M2.2.kicad_mod Adds an M2.2 mechanical mounting-hole footprint.
library/​Screenly.pretty/​R_0402.kicad_mod Adds a 0402 resistor footprint.
library/​Screenly.pretty/​microSD_HC_Molex_47219-2001.kicad_mod Adds a hinged Molex microSD socket footprint.
library/​Screenly.pretty/​LED_LiteOn_LTST-S270_SideView.kicad_mod Adds a side-view LED footprint.
library/​Screenly.pretty/​L_Coilank_AAPS1050.kicad_mod Adds a molded power-inductor footprint.
library/​Screenly.pretty/​Hirose_DF40HC-3.0-100DS-0.4V_2x50_P0.4mm_Vertical_NoCopper.kicad_mod Adds a no-copper CM5 board-to-board connector footprint.
library/​Screenly.pretty/​FB_1206.kicad_mod Adds a 1206 ferrite-bead footprint.
library/​Screenly.pretty/​D_SOD-123.kicad_mod Adds an SOD-123 diode footprint.
library/​Screenly.pretty/​D_SMB.kicad_mod Adds an SMB diode footprint.
library/​Screenly.pretty/​CP_Radial_D6.3mm_P2.50mm.kicad_mod Adds a radial capacitor footprint.
library/​Screenly.pretty/​CP_Elec_6.3x5.9.kicad_mod Adds a 6.3 mm surface-mount electrolytic capacitor footprint.
library/​Screenly.pretty/​C_1210.kicad_mod Adds a 1210 capacitor footprint.
library/​Screenly.pretty/​C_0603.kicad_mod Adds a 0603 capacitor footprint.
library/​Screenly.pretty/​C_0402.kicad_mod Adds a 0402 capacitor footprint.
library/​Screenly.pretty/​BatteryHolder_MYOUNG_MY-2032-08_CR2032.kicad_mod Adds an SMD CR2032 holder footprint.
library/​Screenly.pretty/​BatteryHolder_MYOUNG_BS-02_CR2032.kicad_mod Adds a through-hole CR2032 holder footprint.
library/​Screenly.pretty/​BarrelJack_Tensility_54-00130_Horizontal.kicad_mod Adds a 5.5 × 2.5 mm horizontal barrel-jack footprint.
library/​Screenly.pretty/​BarrelJack_Tensility_54-00129_Horizontal.kicad_mod Adds a 5.5 × 2.1 mm horizontal barrel-jack footprint.
library/​3d-models/​spacer-m3x3.step Adds a mechanical M3 spacer model for the CM5 assembly.
docs/​part-numbering-standard.md Defines Screenly part-number formats, class codes, and non-reuse rules.
docs/​how-to-add-parts-into-the-library.md Documents the workflow for adding symbols, footprints, models, and registered parts.
docs/​assembly-part-library-standard.md Defines assembly-only part categories and handling rules.
.gitignore Adds KiCad, Python, backup, cache, and generated-file exclusions.

Review effort: Lite

Comment thread tools/partsdb.py Resolved
Comment thread tools/partsdb.py Resolved
Comment thread tools/partsdb.py Resolved
Added one command manufacturing files generation helper
Modified files for ideal manufacturing files output
Defined the default eMMC variant (no SD Card or NVMe components)
Copilot AI lite review requested due to automatic review settings November 18, 2026 19:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Active issues remain: the documented helper command targets the wrong project directory, and the symbol library depends on an undefined environment variable that can leave symbols unresolved in a fresh checkout.

7 open issues

Review effort: Lite

Comment thread create-manufacturing-files.sh Resolved
Copilot AI lite review requested due to automatic review settings November 18, 2026 19:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread README.md Resolved
Copilot AI lite review requested due to automatic review settings November 19, 2026 12:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings November 20, 2026 08:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The README contains an active broken link to a nonexistent PCB directory, directing users to a 404 path.

1 open issue
1 resolved since last review

Review effort: Lite

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings November 23, 2026 15:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Human assessment is needed because the review uncovered two critical hardware and power-budget inconsistencies, plus a documentation path error, that could leave the external USB-C port unpowered and cause product under-rating.

No open issues 🎉

1 resolved since last review

Review effort: Lite

- create-manufacturing-files.sh: named options (--project, --variant,
  --distributors, --strict, --db); BOM name carries the distributor list
- manufacturing.py: key-field resolver picks approved parts per
instance,
  preferring listed distributors, then the design part; review fixes
- partsdb.py: distributor table, describe --mpn, show --skip-missing,
  attributes --confirm, stricter stock/attribute checks
- Library: SLB9672AU TPM and HCTL TC-6615 switch; TPM family pattern;
  120R symbol now 0402WGF1200TCE
- Design: TPM and switch key fields relaxed for alternates, 120R
tolerance
  10%, missing 100K power fields restored
- Docs, README; ruff config and CI lint check
Copilot AI lite review requested due to automatic review settings November 24, 2026 20:22

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Approval is blocked by an unresolved critical USB-C CC-net connectivity defect and a moderate HBOM validation issue that can mask missing registration data.

1 open issue

Review effort: Lite

Comment thread tools/manufacturing.py Resolved
Refactor esp_entry retrieval and add error handling for missing entries.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings November 24, 2026 20:31

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Human assessment is needed because critical power-budget and manufacturing-placement issues make the change too complex to approve confidently.

No open issues 🎉

1 resolved since last review

Review effort: Lite

Copilot AI lite review requested due to automatic review settings November 24, 2026 20:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Human assessment is needed because critical hidden issues affect CM4 assembly safety and allow undefined BOM classes to bypass required manufacturing validation.

No open issues 🎉

Review effort: Lite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants