Mains fixture
2AMLogic·kicad-tools·boards/synthetic-mains-complete/mains_fixture.kicad_pcb
About the Mains fixture PCB
Mains fixture is an open source STM32 PCB design by 2AMLogic, published on GitHub under the MIT license. It is a 2-layer board measuring 70 × 52 mm, with 9 components from 9 distinct parts.
Its main chip is the STM32F429ZIT6, from the STM32 family. Other key parts include the IS42S16400J-6TLI, AP2112K-3.3TRG1 and syn. By type, the board carries 6 ICs, 1 connector, 1 fuse and 1 relay.
From the project
Standalone Python tools for parsing and manipulating KiCad schematic and PCB files
Fully synthetic and public-safe: generated by generatefixture.py` with no inputs, not derived from any real or side-project design.
- mainsfixture.kicadpcb: 2-layer 70x52 mm board. Three mains footprints (/LINE, /FUSEDLINE, /NEUT, 150 V class) form a column "wall"; adjacent footprints' pads are 2.42 mm apart, so a trace squeezed between them gets ~1.1 mm to each side against the 1.6 mm class (IEC 60664-1, PD2, IIIa). Low-voltage links (/SENSEA..D, GND) between parts either side of the wall take the short path through those gaps unless creepage stops them. - voltagemap.json, netclassmap.json…
Main components on the Mains fixture
Mains fixture bill of materials (BOM)
9 components, 9 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | STM32F429ZIT6 syn | TH2_U1 | U1 |
| 1 | IS42S16400J-6TLI syn | TH2_U2 | U2 |
| 1 | AP2112K-3.3TRG1 syn | TH2_U3 | U3 |
| 1 | syn | TH2_U4 | U4 |
| 1 | syn | TH2_U5 | U5 |
| 1 | syn | TH2_U6 | U6 |
| 1 | 5V_INPUT syn | TH2_J1 | J1 |
| 1 | syn | TH2_F1 | F1 |
| 1 | syn | TH2_K1 | K1 |
Mains fixture design files
The KiCad project lives in the 2AMLogic/kicad-tools repository on GitHub; these links point at the commit this page was built from.
Mains fixture: common questions
What microcontroller does the Mains fixture use?
The Mains fixture is built around the STM32F429ZIT6, from the STM32 family.
How big is the Mains fixture PCB?
The Mains fixture measures 70 × 52 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Mains fixture?
9 components, from 9 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the Mains fixture design files?
From the 2AMLogic/kicad-tools repository on GitHub, which has the KiCad layout and the BOM; the links under Design files point to each one.
Can I use the Mains fixture design in my own project?
Yes, under the terms of its MIT license, which 2AMLogic chose for the repository.
Can I test firmware for the Mains fixture 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 kicad-tools
USB-C PD 5V supply — development
2AMLogic
100 × 65 mm47 parts4LMIT77STM32
Matchgroup test routed
2AMLogic
100 × 80 mm43 parts6LMIT77STM32
Matchgroup test
2AMLogic
100 × 80 mm43 parts6LMIT77AVR/Arduino
Bldc controller
2AMLogic
70 × 90 mm42 parts4LMIT77AVR/Arduino
Bldc controller routed
2AMLogic
70 × 90 mm42 parts4LMIT77AVR/Arduino
Usb joystick
2AMLogic
80 × 60 mm38 parts4LMIT77AVR/Arduino
Usb joystick routed
2AMLogic
80 × 60 mm38 parts4LMIT77Four channel LVDS link demonstrator
2AMLogic
90 × 70 mm36 parts4LMIT77STM32
STM32F103C8 Development Board
2AMLogic
60 × 40 mm17 parts2LMIT77STM32
Negotiated stage
2AMLogic
70 × 52 mm9 parts2LMIT77
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
Type g
google
169 × 30 mm24 parts2LApache-2.02.9kSTM32
Main panel
google
234 × 84 mm26 parts4LApache-2.02.9kSTM32
Base
google
52.3 × 52.3 mm36 parts2LApache-2.02.9kSTM32
Type a
google
150 × 30 mm14 parts2LApache-2.02.9kSTM32
Type c
google
188 × 30 mm17 parts2LApache-2.02.9k