Skip to the content
2 layers160 × 160 mmMontreal metro pcb, the printed circuit board in 3D

montreal-metro-pcb — 160 × 160 mm, 2 layers, 73 WS2812B LEDs (XL-1615), one per station, generated from ../input/montreal-schematic-square.json.

Size
160 × 160 mm
Copper layers
2
Thickness
1.6 mm
Parts
102
Nets
92
Pads
369
Tracks, vias
494, 76
Pours
3
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
10 Oct 2026
Updated
19 Oct 2026

Overview

Montreal metro pcb is an open-source printed circuit board by funvill, from the funvill/montreal-skytrain-pcb repository on GitHub. It is a 2-layer board of 160 × 160 mm with 102 parts on 92 nets, routed with 494 tracks and 76 vias.

It is built around the TS-1187A-B-A-B. Its parts include 73 diodes, 4 switches, 1 capacitor, 1 resistor and 1 IC. It belongs with the RP2040 boards of this library.

Main components

1

README

hardware/README.md

Hardware (KiCad 10)

montreal-metro-pcb — 160 × 160 mm, 2 layers, 73 WS2812B LEDs (XL-1615), one per station, generated from ../input/montreal-schematic-square.json.

Copied from the Vancouver SkyTrain v3 project and ported by the scripts in ../tools. The board is placed and has its artwork. It is not routed: routing is done by hand.

State

Schematic73 LEDs. LED69–73 were added by add_schematic_leds.py; chain and power verified from KiCad's netlist by check_led_chain.py
Board vs schematic0 parity issues (kicad-cli pcb drc --schematic-parity)
PlacementLEDs at their stations, each turned so DOUT faces the next LED; 8 capacitors on the front in spots clear of labels, routes and water; XIAO and buttons on the back at (124, 122) mm, away from the downtown LEDs whose vias their pads would block; M3 holes 4 mm in from each corner
Bulk capacitorC1, 100 µF 6.3 V X5R 1206 (LCSC C15008, a JLCPCB basic part), on the back at (140, 132.3) mm beside the +5V track from U1 pad 14 to the +5V2 test point. Basic parts have no 100–470 µF electrolytic; the only other basic 100 µF is a 6.3 V tantalum, which is too close to its rating on a 5 V rail. At 5 V the ceramic's DC-bias derating leaves roughly a quarter of its nominal value
Data lineR1, 330 Ω 0402 (LCSC C25104, basic), in series between U1 pad 8 (LED_DATA, also on the LED_IN1 test point) and LED1 (LED_IN), on the front beside the data via at (130.4, 110.5) mm
Back artworkSnowy owl in a tie (../snowy_owl_tie_pcb_silkscreen.svg) on B.SilkS as the board-only footprint LOGO1: 66.9 × 100 mm, centred, top 2/3 of the board, clear of every back-side part. Regenerate with svg_to_silk.py (below)
ArtworkWater (bare copper), routes, station rings and labels, wordmark — written by export_art.py
LabelsPlaced by hand in KiCad (2026-10-13) and frozen in ../input/label_overrides-square.json; every build re-applies them
RoutingNone. The tracks are to be routed by hand. An autorouted version (Freerouting, DRC-clean) is in git history at b02ee1b for reference
DRCNo clearance, edge, short or courtyard violations; every net is unconnected until routed
Back sideThe Vancouver moon-phase artwork was removed: it is 191 mm wide and does not fit this board

Regenerating

From ../tools, after any change to the data file:

text
python export_placement.py ../input/montreal-schematic-square.json ../hardware --scale 2.0
python place_parts.py      ../input/montreal-schematic-square.json ../hardware --scale 2.0
python reposition_board.py ../hardware/montreal-metro-pcb.kicad_pcb ../hardware/leds.csv --board 160 --height 160 --controller 124 122
kicad-cli sch export netlist --format kicadsexpr -o ../test-results/netlist.net ../hardware/montreal-metro-pcb.kicad_sch
"C:/Program Files/KiCad/10.0/bin/python.exe" port_board.py ../hardware/montreal-metro-pcb.kicad_pcb ../test-results/netlist.net ../hardware/leds.csv ../hardware/parts.csv
python export_art.py       ../input/montreal-schematic-square.json ../hardware/montreal-metro-pcb.kicad_pcb --scale 2.0
"C:/Program Files/KiCad/10.0/bin/python.exe" mask_under_silk.py ../hardware/montreal-metro-pcb.kicad_pcb

Use the same reposition_board.py arguments every time, including --controller 124 122.

mask_under_silk.py must follow every export_art.py run. The water is a solder-mask opening, and silkscreen cannot print on an opening (JLCPCB clips it, as does the gerber export's --subtract-soldermask), so the routes, rings and leaders crossing the water would vanish. It closes the opening 0.2 mm around the ink; the copper stays, under mask.

Routing

Routing is manual. The water is bare copper on the front with no net, so front-side tracks must not cross it; ground pads on the front each need a via to the back pour, because the front pour is cut into islands by the artwork. U1 pad 13 (GND) sits between two pads closer than the pour's clearance, so the pour will not reach it: give it a track.

rebuild_board.sh leaves tracks alone. rebuild_board.sh --autoroute replaces every track with the autorouter's (autoroute.py, stitch_ground.py); autoroute.py clear removes them all.

After editing labels in KiCad

text
python import_labels.py ../input/montreal-schematic-square.json ../hardware/montreal-metro-pcb.kicad_pcb
python save_label_overrides.py ../input/montreal-schematic-square.json ../input/label_overrides-square.json

Do this before any rebuild, or the exporter writes the old labels back.

port_board.py moves LEDs and re-aims them, so once tracks exist, re-running it after moving a station will leave those tracks behind. Do not pass --strip again: that removes every track and all front artwork.

Or run the whole thing, placement through renders, in one go (Git Bash, from ../tools); it does not touch tracks:

text
./rebuild_board.sh

Back artwork

text
"C:/Program Files/KiCad/10.0/bin/python.exe" svg_to_silk.py ../snowy_owl_tie_pcb_silkscreen.svg ../hardware/montreal-metro-pcb.kicad_pcb --ref LOGO1 --height 100 --top 4.5

Replaces LOGO1 in place; the art is mirrored so it reads correctly from the back.

Checking

text
python check_led_chain.py ../test-results/netlist.net 73
kicad-cli pcb drc ../hardware/montreal-metro-pcb.kicad_pcb -o ../test-results/drc.json --format json --severity-error --severity-warning --schematic-parity --refill-zones --save-board
python render_board.py ../hardware/montreal-metro-pcb.kicad_pcb ../test-results --kicad-cli "C:/Program Files/KiCad/10.0/bin/kicad-cli.exe"

Still to do

  1. Route the board (by hand).
  2. Check U1's orientation (USB-C toward a board edge) and the test-point positions on the back.
  3. New back-side artwork, if wanted.
  4. DRC, then fabrication outputs (make_jlcpcb.py). ENIG finish, so the bare copper reads gold.

Parts

102
QtyValueFootprintReferences
73XL-1615RGBC-WS2812BC5349954-led:LED-SMD_4P-L1.6-W1.5_XL-1615RGBC-WS2812B-1LED1, LED2, LED10, LED11, LED12, LED13, LED14, LED15, LED16, LED17, LED18, LED19, LED20, LED21, LED22, LED23 +57
9TestPointTestPoint:TestPoint_Pad_3.0x3.0mm+5V1, +5V2, GND1, LED_IN1, LED_OUT1, TP1, TP2, TP3, TP4
810uF,10V,X5RCapacitor_SMD:C_0402_1005MetricROW0, ROW1, ROW2, ROW3, ROW4, ROW5, ROW6, ROW7
4MountingHoleMountingHole:MountingHole_3.2mm_M3_DIN965_Pad_TopBottomH1, H2, H3, H4
4TS-1187A-B-A-BC318884-button:SW-SMD_4P-L5.1-W5.1-P3.70-LS6.5-TL_H1.5SW1, SW2, SW3, SW4
1100uF,6.3V,X5RCapacitor_SMD:C_1206_3216MetricC1
1330RResistor_SMD:R_0402_1005MetricR1
1XIAO-RP2040-DIPSeeed Studio XIAO:XIAO-RP2040-SMDU1
1artworkLOGO1

More from funvill/montreal-skytrain-pcb

1
  • 2 layers160 × 160 mmMontreal metro pcb-2026-10-13-user label edits, the printed circuit board in 3D

    Montreal metro pcb-2026-10-13-user label edits

    funvill/montreal-skytrain-pcb

    montreal-metro-pcb — 160 × 160 mm, 2 layers, 73 WS2812B LEDs (XL-1615), one per station, generated from ../input/montreal-schematic-square.json.

    95 parts

Similar boards

  • 2 layers36.2 × 63.1 mmPicoMemcard pico, the printed circuit board in 3D

    PicoMemcard pico

    dangiu/PicoMemcard

    Emulating PSX Memory Card (or controller) using a Raspberry Pi Pico

    8 parts694GPL-3.0
  • 2 layers10.3 × 23.3 mmMini receiver, the printed circuit board in 3D

    Mini receiver

    loopj/wavephoenix

    Open-source implementation of the Nintendo WaveBird receiver using Silicon Labs Wireless Gecko SoCs

    11 parts430
  • 4 layers86 × 34 mmBsl drv v1, the printed circuit board in 3D

    Bsl drv v1

    jackw01/scanlight

    A better light source for scanning color negative film

    157 parts397CERN-OHL-W-2.0
  • 2 layers26.5 × 34.4 mmPicoLoaderNSB, the printed circuit board in 3D

    PicoLoaderNSB

    makeo/PicoLoader

    A cheap and easy to install modchip for the Nintendo GameCube!

    45 parts320GPL-2.0
  • 2 layers66.8 × 34 mmESP8266, the printed circuit board in 3D

    ESP8266

    MaloufSleep/ME-ESP8266

    Malouf Electronics - ESP8266 Dev Board

    127 parts204MIT
  • 2 layers139 × 59 mmEsp32s2-nixiehost, the printed circuit board in 3D

    Esp32s2-nixiehost

    cnlohr/cnixxi

    My experiment with nixie tubes.

    60 parts151MIT
  • 6 layers84 × 98 mmFujiNet-5200-Rev0, the printed circuit board in 3D

    FujiNet-5200-Rev0

    FujiNetWIFI/fujinet-hardware

    Schematics and design files for FujiNet hardware

    145 parts142
  • 4 layers70 × 70 mmAi camera, the printed circuit board in 3D

    Ai camera

    maxlab-io/tokay-lite-pcb

    Tokay AI Camera - ESP32 camera development board

    161 parts130CERN-OHL-P-2.0

Questions

How big is the Montreal metro pcb PCB?

It measures 160 × 160 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Montreal metro pcb use?

102 parts, built around the TS-1187A-B-A-B. 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 Montreal metro pcb KiCad files?

From the funvill/montreal-skytrain-pcb repository on GitHub, at the commit this page was made from: the board is hardware/montreal-metro-pcb.kicad_pcb and its schematic hardware/montreal-metro-pcb.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Montreal metro pcb design in my own project?

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