Main
wgbowley·OpenLSM·03_boards/01_armature_board/03_kicad/01_main/main.kicad_pcb
About the Main PCB
Main is an open source STM32 PCB design by wgbowley, published on GitHub under the MIT license. It is a 2-layer board measuring 60 × 40 mm, with 59 components from 24 distinct parts.
Its main chip is the STM32G431K8TX, from the STM32 family. Other key parts include the LD1117S33, MAX3485, ADXL343 and 74HC4051. By type, the board carries 22 capacitors, 16 resistors, 5 ICs, 1 crystal, 1 diode and 1 inductor.
It belongs with the sensors designs in this gallery.
From the project
Low-Cost Linear Synchronous Permanent-Magnet Motor
OpenLSM uses closed-loop control to position the motor's armature. This requires a device to measure the armature's position: an encoder board. OpenLSM also requires acceleration and thermal data for validating the motor's transient behaviour during operation. To achieve this, an SPI accelerometer is used to collect 3-axis acceleration data, and an array of 8 thermistors across the motor's z-axis is used to collect temperature data T(z, t).

Main components on the Main
Main bill of materials (BOM)
59 components, 24 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | STM32G431K8TX STM32G431K8Tx | LQFP-32_7x7mm_P0.8mm | U1 |
| 1 | LD1117S33 | SOT-223-3_TabPin2 | U2 |
| 1 | MAX3485 | SOIC-8_3.9x4.9mm_P1.27mm | U3 |
| 1 | ADXL343 | LGA-14_3x5mm_P0.8mm_LayoutBorder1x6y | U4 |
| 1 | 74HC4051 | SSOP-16 | U5 |
| 1 | ECS-80-20-18 ECS-80-20-18-TR | XTAL_ECS-80-20-18-TR | Y1 |
| 2 | SW_Push | SW_Push_1P1T_NO_CK_KMR2 | BOOT1, RESET1 |
| 1 | 01X05 01x05 | JST_XH_B5B-XH-A_1x05_P2.50mm_Vertical | ENC1 |
| 1 | 01X04 01x04 | JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical | INT1 |
| 8 | 01X02 01x02 | JST_PH_B2B-PH-K_1x02_P2.00mm_Vertical | NTC1, NTC2, NTC3, NTC4, NTC5, NTC6, NTC7, NTC8 |
| 1 | 01X06 01x06 | PinHeader_2x03_P2.54mm_Vertical | PRO1 |
| 1 | LED | LED_0603_1608Metric_Pad1.05x0.95mm_HandSolder | D1 |
| 1 | BLM18AG601SN1D | BEADC1608X95N | FB1 |
| 2 | 1uf | C_0603_1608Metric | C1, C6 |
| 6 | 100NF 100nf | C_0603_1608Metric | C3, C5, C9, C13, C14, C15 |
| 2 | 10uf | C_1206_3216Metric | C4, C7 |
| 1 | 22uf | C_1206_3216Metric | C8 |
| 9 | 10NF 10nf | C_0603_1608Metric | C10, C16, C17, C18, C19, C20, C21, C22 +1 |
| 2 | 30PF 30pf | C_0603_1608Metric | C11, C12 |
| 2 | 10 | R_0603_1608Metric | R1, R2 |
Show 4 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | 120 | R_0603_1608Metric | R3 |
| 2 | 10k | R_0603_1608Metric | R5, R6 |
| 3 | 220 | R_0603_1608Metric | R7, R16, R17 |
| 8 | 1.8k | R_0603_1608Metric | R8, R9, R10, R11, R12, R13, R14, R15 |
Main design files
The KiCad project lives in the wgbowley/OpenLSM repository on GitHub; these links point at the commit this page was built from.
Main: common questions
What microcontroller does the Main use?
The Main is built around the STM32G431K8TX, from the STM32 family.
How big is the Main PCB?
The Main measures 60 × 40 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Main?
59 components, from 24 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 Main design files?
From the wgbowley/OpenLSM 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 Main design in my own project?
Yes, under the terms of its MIT license, which wgbowley chose for the repository.
Can I test firmware for the Main 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 OpenLSM
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
Main panel
google
234 × 84 mm26 parts4LApache-2.02.9kSTM32
Type a
google
150 × 30 mm14 parts2LApache-2.02.9kSTM32
Type g
google
169 × 30 mm24 parts2LApache-2.02.9kSTM32
Type c
google
188 × 30 mm17 parts2LApache-2.02.9k