
PSLab
fossasia/pslab-hardware
PSLab Hardware Design and Schematics https://pslab.io

Interactive map of the Ledger Nano X main board: test pads, traced nets and a KiCad reconstruction with 2D photo and 3D viewers
Nanox is an open-source printed circuit board by KarpelesLab, from the KarpelesLab/ledger_nano_x_pads repository on GitHub. It is a 4-layer board of 61.7 × 15.9 mm with 143 parts on 75 nets, routed with 1,144 tracks and 236 vias.
It is built around the STM32WB35CCU6A and STUSB4500LQ. Its parts include 35 capacitors, 35 resistors, 14 crystals, 5 connectors and 2 switches. It belongs with the STM32 boards of this library.
An interactive map of the Ledger Nano X main board: its 40 test pads, the copper traces between them and the chips, and a KiCad reconstruction of the whole board.
View it online: https://karpeleslab.github.io/ledger_nano_x_pads/
This is a reconstruction from photos, not the manufacturer's design: inner layers are assumed, footprints are approximate, and names ending in "?" are likely but not confirmed.
The 40 numbered test pads on the back of the board, as labelled in the photos. Names ending in "?" are likely but not confirmed; the others were measured or follow from what the pad connects to.
| Pad | Signal | Notes |
|---|---|---|
| 01 | USB CC2 | |
| 02 | Left button power | Lets the left button also act as the power button; exact role not yet known |
| 03 | not identified | |
| 04 | MCU PB7 | MCU PB7 through R30; role not known |
| 05 | PD SCL | STUSB4500L pin 7, I2C clock (not to the MCU, likely for configuration), as TP09 is its SDA |
| 06 | BAT NTC | The battery's temperature sensor (NTC): battery pad 1, and through R1 the charger's TH pin (PWR1 pin 8) |
| 07 | Charger input? | Input supply of the L6924D charger (PWR1 pins 1, 2), fed from VBUS by the X12 power switch, also the anode of the X9 Zener; R31 feeds it to the MCU PA1 voltage sense; not measured |
| 08 | not identified | |
| 09 | PD SDA | STUSB4500L pin 8, I2C data (not to the MCU, likely for configuration), as TP05 is its SCL |
| 10 | I2C1 SCL | |
| 11 | PD VBUS_EN_SNK | |
| 12 | VBUS | |
| 13 | Charger VREF | 1.8 V reference of the L6924D charger (PWR1 pin 12), decoupled by C37 |
| 14 | VBAT | Battery +: battery pad 3, the charger's battery sense (PWR1 VOSNS, pin 10), the fuel gauge (PWR2 pin 9) and X9's unconnected pin |
| 15 | Charger ST2 | Status output ST2 of the L6924D charger (PWR1 pin 3) to MCU PA2, a wake-up input |
| 16 | MCU PB3 | MCU PB3 through R16, with R28 and R29 (to TP07's net); role not known |
| 17 | I2C1 SDA | |
| 18 | Charger IPRG | Charge current program pin of the L6924D charger (PWR1 pin 15), with R14 to ground |
| 19 | Left button power | Lets the left button also act as the power button; exact role not yet known |
| 20 | SWCLK | Legacy SWD debug access: Ledger originally left the STM32 unlocked so users could verify the device's state over SWD. That was shown to be a risk, and the STM32 now ships locked, so this port can no longer be used |
| 21 | SWDIO | Legacy SWD debug access: Ledger originally left the STM32 unlocked so users could verify the device's state over SWD. That was shown to be a risk, and the STM32 now ships locked, so this port can no longer be used |
| 22 | Supply sense (MCU PA1) | Voltage sense into MCU PA1 (ADC1_IN6): R31 and R32 divide down the supply on TP07's net, R32 to ground |
| 23 | GND | |
| 24 | +3.3V rail | |
| 25 | MCU PA5 | MCU PA5, with R19 and R37; role not known |
| 26 | MCU NRST | |
| 27 | Charger SD | MCU PA7 (pin 16), joined on an inner layer to the shutdown pin (SD, pin 7) of the L6924D charger, which R11 holds low to enable it: PA7 can likely switch charging off |
| 28 | Left button | |
| 29 | SE RESET | |
| 30 | SE CLK-IN | |
| 31 | OLED SPI CS | |
| 32 | SEPROXYHAL | |
| 33 | OLED RESET? | Likely OLED reset, not confirmed: goes to the main MCU, not the secure element |
| 34 | OLED CLK | |
| 35 | OLED MOSI | |
| 36 | OLED D/C | |
| 37 | OLED VCOMH? | BTB pin 9, filtered by C31 to ground: likely the OLED controller's VCOMH, which only needs a capacitor; not measured |
| 38 | OLED VCC | The OLED panel supply (7.5 to 16.5 V for an SSD1312): output of the X10 TLV61046A boost converter, to BTB pin 12; voltage not measured |
| 39 | OLED IREF? | Likely the OLED controller's IREF, with R33 to ground setting the segment current; not measured |
| 40 | Right button |
| Path | Contents |
|---|---|
flip.html | Photo viewer |
img/ | Photos of both sides, with and without components, aligned to the same pixel grid; xray.png, an X-ray mosaic of the whole board, seen from the back like the photos; se1_die/, microscope photos of the decapped secure element die, a 50x overview and four 100x quarters, in the die's own orientation (ST logo top left) |
traces.js | Traced nets: segments per side, vias, ground connection points, names and purposes |
pads.js | The 40 test pads and their signal names |
components.js, passives.js | Chips, connectors and other parts; resistors and capacitors |
kicad/ | KiCad project generated from the data above, plus the 3D viewer and the scripts that build them |
kicad/se1_ct.js | Model of the secure element from an X-ray CT scan, which the 3D viewer loads when zoomed in on it |
kicad/se1_die.jpg | Photo of the secure element die's top metal layer (the ST K500A die), stitched from the four 100x shots in img/se1_die/, cropped to the die edge and turned to match the CT model; the 3D viewer lays it on the die of the CT model |
index.html | Landing page of the published site |
Open flip.html in a browser; no server is needed. The traces are edited directly in traces.js, one trace
per line with its points in pixel coordinates of the photos. After drawing, kicad/cleanup_traces.py then
kicad/octilinear.py square the segments to 0/45/90 degrees without changing any connection.
After changing the data, rebuild the KiCad reconstruction and the viewer data (needs KiCad 10 and its Python module):
kicad/regenerate.sh # board, schematic, zone fill, consistency check, overlay.js and scene.js
kicad/render.sh # optional: 3D renders and a STEP fileregenerate.sh overwrites kicad/nanox.kicad_pcb and kicad/nanox.kicad_sch, so edits made in KiCad
itself would be lost.
The site is published by .github/workflows/pages.yml on every push to master.
Original reverse engineering work by Karpeles Lab Inc., made available for the public good.
kicad/ and the workflow): MIT.Ledger and Nano X are trademarks of Ledger SAS; this project is not affiliated with or endorsed by Ledger.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 35 | R | R1, R10, R11, R12, R13, R14, R15, R16, R17, R18, R19, R20, R21, R22, R23, R24 +19 | |
| 33 | C | C1, C2, C10, C11, C12, C13, C14, C15, C16, C17, C18, C19, C20, C21, C22, C23 +17 | |
| 6 | ? | X1, X4, X5, X6, X7, X8 | |
| 5 | likely an ESD protection diode, marked P | P1, P2, P3, P4, P5 | |
| 2 | Left button power | TP02, TP19 | |
| 2 | TestPoint | TP03, TP08 | |
| 2 | not populated: LSE load capacitor | C38, C39 | |
| 1 | +3.3V rail | TP24 | |
| 1 | 32 MHz crystal (HSE) | Y1 | |
| 1 | BAT NTC | TP06 | |
| 1 | Charger IPRG | TP18 | |
| 1 | Charger SD | TP27 | |
| 1 | Charger ST2 | TP15 | |
| 1 | Charger VREF | TP13 | |
| 1 | Charger input? | TP07 | |
| 1 | GND | TP23 | |
| 1 | Hirose BM20B(0.8)-16DS-0.4V(51) | BTB1 | |
| 1 | I2C1 SCL | TP10 | |
| 1 | I2C1 SDA | TP17 | |
| 1 | Left button | TP28 | |
| 1 | MCU NRST | TP26 | |
| 1 | MCU PA5 | TP25 | |
| 1 | MCU PB3 | TP16 | |
| 1 | MCU PB7 | TP04 | |
| 1 | NXP PMBZ5246B 16 V Zener diode (marked P8W 26) | X9 | |
| 1 | OLED CLK | TP34 | |
| 1 | OLED D/C | TP36 | |
| 1 | OLED IREF? | TP39 | |
| 1 | OLED MOSI | TP35 | |
| 1 | OLED RESET? | TP33 | |
| 1 | OLED SPI CS | TP31 | |
| 1 | OLED VCC | TP38 | |
| 1 | OLED VCOMH? | TP37 | |
| 1 | PD SCL | TP05 | |
| 1 | PD SDA | TP09 | |
| 1 | PD VBUS_EN_SNK | TP11 | |
| 1 | RF filter / matching device | RFF1 | |
| 1 | Right button | TP40 | |
| 1 | SE CLK-IN | TP30 | |
| 1 | SE RESET | TP29 | |
| 1 | SEPROXYHAL | TP32 | |
| 1 | ST L6924D Li-ion battery charger (marked 6924 8146) | PWR1 | |
| 1 | ST STC3115AIQT battery fuel gauge | PWR2 | |
| 1 | STM32WB35CCU6A | MCU1 | |
| 1 | STUSB4500L | USBPD1 | |
| 1 | SWCLK | TP20 | |
| 1 | SWDIO | TP21 | |
| 1 | Supply sense (MCU PA1) | TP22 | |
| 1 | TI BQ29729 Li-ion battery protection IC (marked 3T) | PWR3 | |
| 1 | TI TLV61046A boost converter (marked 1C4F) | X10 | |
| 1 | USB CC2 | TP01 | |
| 1 | USB-C receptacle | USB1 | |
| 1 | VBAT | TP14 | |
| 1 | VBUS | TP12 | |
| 1 | battery contacts | BAT1 | |
| 1 | chip antenna | ANT1 | |
| 1 | likely an N-channel MOSFET: the battery charge FET (marked 6) | X3 | |
| 1 | likely an N-channel MOSFET: the battery discharge FET (marked 2GC) | X2 | |
| 1 | not populated: 32.768 kHz crystal (LSE) | Y2 | |
| 1 | power inductor of the OLED boost converter | L1 | |
| 1 | push button, left | SW1 | |
| 1 | push button, right | SW2 | |
| 1 | secure element | SE1 | |
| 1 | unknown, likely a P-channel MOSFET: the USB power switch | X12 | |
| 1 | unknown, marked AF, likely a small LDO regulator | X11 |

fossasia/pslab-hardware
PSLab Hardware Design and Schematics https://pslab.io



muccc/WomoLIN
Open Source Steuerung von LIN Bus Geräten im Caravan Bereich.



Spaceflight-Rocketry-Giessen-e-V/Telemetry
Open-Source Rocket Telemetry System Based On Radiocrafts RC232 Radio Modules

UCBioengineering/open_source_insulin_pump
This repository contains software and hardware files for building an open source insulin pump. Files were created by the team at UC Bioengineering, University of Canterbury, Christchurch, New Zealand.
It measures 61.7 × 15.9 mm and has 4 copper layers, 0.6 mm thick.
143 parts, built around the STM32WB35CCU6A and STUSB4500LQ. 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.
From the KarpelesLab/ledger_nano_x_pads repository on GitHub, at the commit this page was made from: the board is kicad/nanox.kicad_pcb and its schematic kicad/nanox.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask KarpelesLab before reusing the design.