Repository navigation
Screenly CM5 Player R0 - #2
MuratUrsavas wants to merge 10 commits into
Conversation
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.
There was a problem hiding this comment.
🟡 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
Multi-file database saves can leave files inconsistent · New Concurrent allocations can assign the same part number · New Footprint library uses an undefined${SCREENLY_LIB}path variable · New Symbol library uses an undefined${SCREENLY_LIB}path variable · New Retired entries accept invalid required fields and dates · New
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
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)
There was a problem hiding this comment.
🟡 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
Concurrent allocations can assign the same part number Multi-file database saves can leave files inconsistent Make the symbol library available without undocumented setup · New Retired entries accept invalid required fields and dates Symbol library uses an undefined${SCREENLY_LIB}path variable Footprint library uses an undefined${SCREENLY_LIB}path variable Fix the documented PCB project directory · New
Review effort: Lite
There was a problem hiding this comment.
🟡 Changes recommended
The change still has unresolved documentation paths and critical KiCad library references, preventing reliable project access from a clean checkout.
8 open issues
Concurrent allocations can assign the same part number Multi-file database saves can leave files inconsistent Make the symbol library available without undocumented setup Retired entries accept invalid required fields and dates Symbol library uses an undefined${SCREENLY_LIB}path variable Footprint library uses an undefined${SCREENLY_LIB}path variable Fix landing-page link to point to the electronics directory · New Fix the documented PCB project directory
Review effort: Lite
There was a problem hiding this comment.
🔵 Needs a closer look
Two active nit findings remain: the README link and the create-manufacturing-files.sh usage example both reference the nonexistent pcb directory instead of the actual electronics path.
2 open issues
6 resolved since last review
Concurrent allocations can assign the same part number Multi-file database saves can leave files inconsistent Make the symbol library available without undocumented setup Retired entries accept invalid required fields and dates Symbol library uses an undefined${SCREENLY_LIB}path variable Footprint library uses an undefined${SCREENLY_LIB}path variable
Review effort: Lite
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🔵 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
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>



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
Also in this PR
Verification