Mains
micthiesen·crystal-shim·pcb/mains/kicad/mains.kicad_pcb
About the Mains PCB
Mains is an open source PCB design by micthiesen, published on GitHub. It is a 2-layer board measuring 150 × 110 mm, with 22 components from 22 distinct parts.
Other key parts include the IRM-45-12 and AP63205WU-7. By type, the board carries 7 capacitors, 6 connectors, 2 ICs, 2 fuses, 1 relay and 1 diode.
From the project
Aquarium skimmer controller: capacitive sensing, ESP32-C6 firmware, and separated mains switching
Open mains.kicadpro. The accepted 150 × 110 mm, two-layer lower board has 26 footprints and 31 unrouted connections**. Strict ERC, schematic parity and ordinary DRC pass. Four 3.2 mm NPTH mounts are inset 7 mm and align with the controller, with 45 mm clear board-face separation.
J1–J4 use Phoenix 1868076 two-position side-entry screw terminals, with both positions used. All 106 previous owner-routed tracks were cleared as authorized. Eleven ground vias, isolated F.Cu/B.Cu pours, mounting/barrier exclusions, netclasses and bounded pad-escape rules are applied. The saved two-layer stack…
Main components on the Mains
Mains bill of materials (BOM)
22 components, 22 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | IRM-45-12 | Mains_U1 | U1 |
| 1 | AP63205WU-7 | Mains_U2 | U2 |
| 1 | 1868076 | Mains_J1 | J1 |
| 1 | 1868076 | Mains_J2 | J2 |
| 1 | 1868076 | Mains_J3 | J3 |
| 1 | 1868076 | Mains_J4 | J4 |
| 1 | 43650-0300 | Mains_J5 | J5 |
| 1 | 43045-0200 | Mains_J6 | J6 |
| 1 | 0451003.MRL | Mains_F2 | F2 |
| 1 | 0215001.MXEP | Mains_F3 | F3 |
| 1 | G5RL-1A-TV8 DC5 | Mains_K1 | K1 |
| 1 | TMOV14RP175E | Mains_RV1 | RV1 |
| 1 | 1N4007-E3/54 | Mains_D1 | D1 |
| 1 | SRP5030TA-4R7M 4.7µH | Mains_L1 | L1 |
| 1 | B32921C3473K000 47nF | Mains_C1 | C1 |
| 1 | GRM32ER71E226ME15L 22uF | Mains_C2 | C2 |
| 1 | GRM32ER71E226ME15L 22uF | Mains_C3 | C3 |
| 1 | GRM32ER71E226ME15L 22uF | Mains_C4 | C4 |
| 1 | C1608X7R1H104K080AA 100nF | Mains_C5 | C5 |
| 1 | GRM32ER71E226ME15L 22uF | Mains_C6 | C6 |
Show 2 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | C1608X7R1H104K080AA 100nF | Mains_C7 | C7 |
| 1 | PR02FS0201000KA100 100Ω | Mains_R1 | R1 |
Mains design files
The KiCad project lives in the micthiesen/crystal-shim repository on GitHub; these links point at the commit this page was built from.
Mains: common questions
How big is the Mains PCB?
The Mains measures 150 × 110 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Mains?
22 components, from 22 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 design files?
From the micthiesen/crystal-shim repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the Mains design in my own project?
The repository has no license, so all rights stay with micthiesen. Use it as a reference, and ask the author before reusing the design.