Mini motor controller
Jana-Marie·mini-motor-controller
About the Mini motor controller PCB
Mini motor controller is an open source STM32 PCB design by Jana-Marie, published on GitHub under the CERN-OHL-S-2.0 license. It is a 2-layer board measuring 28.2 × 24.5 mm, with 39 components from 20 distinct parts.
Its main chip is the STM32F030F4Px, from the STM32 family. Other key parts include the AP2204R-3.3 and STSPIN220. By type, the board carries 15 resistors, 13 capacitors, 5 connectors, 3 ICs, 2 diodes and 1 inductor.
It belongs with the robotics & motion designs in this gallery.
From the project
A controller for miniature stepper motors
A motor controller for miniature stepper motors, such as used in CD head drives. The additional ADC input allows for position feedback. This project was intended to be used in a DIY motor fader, however this motorfader has not been designed yet.
It features a cheap STM32F030 as brains with I2C as main IO to the host controller, an onboard regulator allows for an input voltage of up to 10V. The motor driver is a STSPIN220 with up to 1.3Arms.

Main components on the Mini motor controller
Mini motor controller bill of materials (BOM)
39 components, 20 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | AP2204R-3.3 | SOT-89-3 | U1 |
| 1 | STM32F030F4Px | TSSOP-20_4.4x6.5mm_P0.65mm | U2 |
| 1 | STSPIN220 | VQFN-16-1EP_3x3mm_P0.5mm_EP1.8x1.8mm | U3 |
| 1 | IN | Molex_PicoBlade_53261-0471_1x04-1MP_P1.25mm_Horizontal | J1 |
| 1 | ADC | Molex_PicoBlade_53261-0371_1x03-1MP_P1.25mm_Horizontal | J2 |
| 1 | FPC | TE_84953-4_1x04-1MP_P1.0mm_Horizontal | J3 |
| 1 | MOT | Molex_PicoBlade_53261-0471_1x04-1MP_P1.25mm_Horizontal | J4 |
| 1 | TC2030 | TC2030 | P1 |
| 1 | RED | LED_0603_1608Metric | D1 |
| 1 | GREEN | LED_0603_1608Metric | D2 |
| 1 | FERRET | R_0603 | FB1 |
| 3 | 1u | C_0603 | C1, C4, C12 |
| 8 | 100n | C_0402 | C2, C3, C5, C6, C7, C8, C9, C13 |
| 1 | 22n | C_0402 | C10 |
| 1 | 10u | C_0805 | C11 |
| 9 | 5k1 | R_0402 | R1, R2, R4, R5, R6, R8, R9, R10 +1 |
| 2 | 22.1k | R_0402 | R3, R13 |
| 1 | DNP | R_0805 | R7 |
| 1 | 1k | R_0402 | R11 |
| 2 | R250 | R_0805 | R14, R15 |
Mini motor controller design files
The KiCad project lives in the Jana-Marie/mini-motor-controller repository on GitHub; these links point at the commit this page was built from.
Mini motor controller: common questions
What microcontroller does the Mini motor controller use?
The Mini motor controller is built around the STM32F030F4Px, from the STM32 family.
How big is the Mini motor controller PCB?
The Mini motor controller measures 28.2 × 24.5 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Mini motor controller?
39 components, from 20 distinct parts. The full bill of materials is listed on this page.
Where can I download the Mini motor controller design files?
From the Jana-Marie/mini-motor-controller repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the Mini motor controller design in my own project?
Yes, under the terms of its CERN-OHL-S-2.0 license, which Jana-Marie chose for the repository.
Can I test firmware for the Mini motor controller 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.
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