On this page
SimpleFOC-microspora v1.7




SimpleFOC-microspora is an all-in-one BLDC and stepper motor controller for the SimpleFOClibrary. The microcontroller, motor driver, magnetic encoder, current sensing and CAN transceiver all fit on a 33x34mm board that mounts directly on the back of the motor. Connect a motor, a power supply and a USB-C cable, and you are ready to go.
The board is a fork of the MicroSpora board by RamBros, adapted for the SimpleFOC ecosystem.
π’ Available now from Makerfabs: See more on makerfabs.com
Get started with your microspora board Order from Makerfabs GitHub project
Features
- Plug & play with the Arduino SimpleFOClibrary
- MCU: STM32G431CBU6 (Cortex-M4, 170MHz, FPU)
- Motor driver: DRV8316C
- Power supply: 5-35V
- Maximum current: ~8A
- 6-PWM mode, configured over SPI
- BLDC and stepper motors (stepper in hybrid stepper mode)
- Sensing:
- MT6701 14-bit magnetic encoder, on the bottom of the board, right above the motor shaft
- 3-phase low-side current sensing, with SPI-configurable gain
- Supply voltage sensing
- Connectivity:
- USB-C for programming (DFU, no programmer needed) and serial communication
- CAN with two daisy-chain JST connectors and a cuttable 120Ξ© termination
- 6-pin SPI JST connector
- 5-pin I2C / UART / encoder / step-dir JST connector, Qwiic / STEMMA QT compatible
- Compact: 33x34mm, with mounting slots for most gimbal motors (GM2804 to GM5208) and NEMA17 steppers
- Fully open-source:
What can you do with it?
- Run gimbal BLDC motors and NEMA17 steppers in closed loop with the onboard encoder, see the code guide
- Use FOC current control for precise torque control, with automatic motor characterisation and current loop tuning
- Connect multiple boards on one CAN bus and control them from a computer, see CAN communication
- Tune and plot the motor live in the SimpleFOC web controller, no extra code needed
- Add sensors and peripherals over the JST connectors: an output shaft encoder, an IMU, or a step/dir input
Documentation
| Guide | Whatβs inside |
|---|---|
| Connecting the hardware | Motor wiring, power supply, connectors, mounting |
| Toolchain and flashing | PlatformIO and Arduino IDE setup, DFU upload |
| Writing the code | Step-by-step guide to a complete BLDC or stepper example |
| CAN communication | Controlling one or more boards over CAN |
| Pinout reference | All MCU pins and connector pinouts |
| Fabrication | Ordering the board from JLCPCB, with the full BOM |
Release log
| Release | Date | Description |
|---|---|---|
| v1.7 | 2026-06 | Sensor moved to the bottom side, much better performance for stepper motors |
| v1.6 | 2026-04 | JST pinout optimised for Qwiic / STEMMA QT compatibility, reset button reintroduced |
| v1.5 | 2026-01 | Pinout refinements |
| v1.4 | 2025-12 | CAN daisy-chain support, two additional JST connectors for SPI and I2C / encoder / GPIO |
| v1.2 | 2025-07 | CAN and additional GPIO JST connectors, from 6-layer to 4-layer PCB |
| v0.1 | 2025-05 | Initial public release of the MicroSpora board by RamBros |
How to get hold of the SimpleFOC-microspora
- Order the finished and tested board: available from Makerfabs
- Fabricate the board yourself: Board fabrication guide
Questions, projects, ideas? Join the discussion on the SimpleFOC community forum.