Mainboard
sbstnh·programmable_precision_resistor·pcb/mainboard/mainboard.kicad_pcb
About the Mainboard PCB
Mainboard is an open source STM32 PCB design by sbstnh, published on GitHub under the BSD-3-Clause license. It is a 2-layer board measuring 139 × 190 mm, with 245 components from 53 distinct parts.
Its main chip is the STM32G441KB, from the STM32 family. Other key parts include the USBLC6-2SC6, 74HC14, 24C32 and STP16CP05. By type, the board carries 80 diodes, 72 resistors, 39 relays, 19 capacitors, 15 test points and 7 ICs.
From the project
A SCPI programmable precision resistor
WARNING: The programmable power resistor presented is mains powered. On the power supply board there will be mains/line voltage. Working with/on such devices can lead to damage, injury or death. Don't do it if you're not qualified or authorized to do so. You use the circuits described at you own risk. You have to make sure that the circuit is safe and adheres to the applicable standards in your location. You might operate the mainboard and ui board more safely with a bench or external power supply.

Main components on the Mainboard
Mainboard bill of materials (BOM)
245 components, 53 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | USBLC6-2SC6 | SOT-23-6 | U1 |
| 1 | 74HC14 | SOIC-14_3.9x8.7mm_P1.27mm | U2 |
| 1 | 24C32 | SO-8_3.9x4.9mm_P1.27mm | U3 |
| 1 | STM32G441KB | LQFP-32_7x7mm_P0.8mm | U4 |
| 3 | STP16CP05 | TSSOP-24_4.4x7.8mm_P0.65mm | U5, U6, U7 |
| 1 | BSS138 | SOT-23 | Q1 |
| 1 | TSM3401 | SOT-23 | Q2 |
| 1 | 16MHz | Crystal_HC49-4H_Vertical | Y1 |
| 1 | PWR | Molex_KK-254_AE-6410-03A_1x03_P2.54mm_Vertical | J1 |
| 1 | Conn_01x03_Male | PhoenixContact_MSTBA_2,5_3-G_1x03_P5.00mm_Horizontal | J2 |
| 1 | USB_B | USB_B_Lumberg_2411_02_Horizontal | J3 |
| 1 | UI | IDC-Header_2x03_P2.54mm_Vertical | J4 |
| 1 | Conn_02x03_Odd_Even | IDC-Header_2x03_P2.54mm_Vertical | J5 |
| 1 | RES1 | Molex_KK-396_A-41791-0005_1x05_P3.96mm_Vertical | J6 |
| 39 | EC2-12NU | Relay_DPDT_Kemet_EC2 | K1, K2, K3, K4, K5, K6, K7, K8 +31 |
| 2 | JTP1236 | JTP1236 | SW1, SW2 |
| 2 | KTY82 | SOT-23 | TH1, TH2 |
| 2 | GND | TestPoint_Loop_D1.80mm_Drill1.0mm_Beaded | TP1, TP2 |
| 1 | +15V IN | TestPoint_Loop_D1.80mm_Drill1.0mm_Beaded | TP3 |
| 1 | +3.3V | TestPoint_Loop_D1.80mm_Drill1.0mm_Beaded | TP4 |
Show 33 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | EXT_IN1 | TestPoint_Loop_D1.80mm_Drill1.0mm_Beaded | TP5 |
| 1 | EXT_IN2 | TestPoint_Loop_D1.80mm_Drill1.0mm_Beaded | TP6 |
| 1 | DISP_RESET | TestPoint_Loop_D1.80mm_Drill1.0mm_Beaded | TP7 |
| 1 | SCL | TestPoint_Loop_D1.80mm_Drill1.0mm_Beaded | TP8 |
| 1 | INT_UI | TestPoint_Loop_D1.80mm_Drill1.0mm_Beaded | TP9 |
| 1 | +15V SW | TestPoint_Loop_D1.80mm_Drill1.0mm_Beaded | TP10 |
| 1 | SDA | TestPoint_Loop_D1.80mm_Drill1.0mm_Beaded | TP11 |
| 1 | MOSI | TestPoint_Loop_D1.80mm_Drill1.0mm_Beaded | TP12 |
| 1 | SCK | TestPoint_Loop_D1.80mm_Drill1.0mm_Beaded | TP13 |
| 1 | NSS | TestPoint_Loop_D1.80mm_Drill1.0mm_Beaded | TP14 |
| 1 | ~{OE} | TestPoint_Loop_D1.80mm_Drill1.0mm_Beaded | TP15 |
| 41 | BAV99 | SOT-23 | D1, D2, D19, D20, D21, D22, D23, D24 +33 |
| 39 | LED | LED_0805_2012Metric | D3, D4, D5, D6, D7, D8, D9, D10 +31 |
| 1 | 100u | CP_EIA-7343-31_Kemet-D_Pad2.25x2.55mm_HandSolder | C1 |
| 1 | 10u | C_0805_2012Metric_Box | C2 |
| 11 | 100n | C_0805_2012Metric_Box | C3, C4, C5, C6, C9, C12, C13, C14 +3 |
| 2 | 27p | C_0805_2012Metric_Box | C7, C8 |
| 1 | 4.7u | C_0805_2012Metric_Box | C10 |
| 1 | dnp | C_0805_2012Metric_Box | C11 |
| 1 | 10n | C_0805_2012Metric_Box | C15 |
| 1 | 1u | C_0805_2012Metric_Box | C16 |
| 6 | 2.2k | R_0805_2012Metric_Box | R1, R2, R8, R9, R14, R15 |
| 4 | 100k | R_0805_2012Metric_Box | R3, R4, R6, R7 |
| 1 | 1k | R_0805_2012Metric_Box | R5 |
| 2 | 10k | R_0805_2012Metric_Box | R10, R11 |
| 2 | 33 | R_0805_2012Metric_Box | R12, R13 |
| 9 | 2 | R_1206_3216Metric_Box | R16, R17, R18, R19, R20, R21, R22, R23 +1 |
| 9 | 20 | R_1206_3216Metric_Box | R25, R26, R27, R28, R29, R30, R31, R32 +1 |
| 9 | 200 | R_1206_3216Metric_Box | R34, R35, R36, R37, R38, R39, R40, R41 +1 |
| 9 | 2k | R_1206_3216Metric_Box | R43, R44, R45, R46, R47, R48, R49, R50 +1 |
| 9 | 20k | R_1206_3216Metric_Box | R52, R53, R54, R55, R56, R57, R58, R59 +1 |
| 9 | 200k | R_1206_3216Metric_Box | R61, R62, R63, R64, R65, R66, R67, R68 +1 |
| 3 | 1.5k | R_0805_2012Metric_Box | R70, R71, R72 |
Mainboard design files
The KiCad project lives in the sbstnh/programmable_precision_resistor repository on GitHub; these links point at the commit this page was built from.
Mainboard: common questions
What microcontroller does the Mainboard use?
The Mainboard is built around the STM32G441KB, from the STM32 family.
How big is the Mainboard PCB?
The Mainboard measures 139 × 190 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Mainboard?
245 components, from 53 distinct parts. The full bill of materials is listed on this page.
Where can I download the Mainboard design files?
From the sbstnh/programmable_precision_resistor repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the Mainboard design in my own project?
Yes, under the terms of its BSD-3-Clause license, which sbstnh chose for the repository.
Can I test firmware for the Mainboard without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.
More boards in programmable_precision_resistor
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
Base
google
52.3 × 52.3 mm36 parts2LApache-2.02.9kSTM32
Type g
google
169 × 30 mm24 parts2LApache-2.02.9kSTM32
Main panel
google
234 × 84 mm26 parts4LApache-2.02.9kSTM32
Type a
google
150 × 30 mm14 parts2LApache-2.02.9kSTM32
Type c
google
188 × 30 mm17 parts2LApache-2.02.9k