Skip to content

About

Spectral Micro: compact FOC controller for brushless (BLDC) motors, with CAN, UART and open-source firmware.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

97 stars

Watchers

4 watching

Forks

Spectral Micro BLDC controller

Spectral Micro

Compact FOC controller for brushless (BLDC) motors, with CAN, UART and open-source firmware.
It mounts behind the motor, measures the motor in one calibration run, and controls its position, speed, torque or impedance.

Buy  ·   Documentation  ·   Quick start  ·   Download  ·   Discord

Release License Discord

12 to 29 V 1.5 A 14-bit 5 kHz 39 × 39 mm
supply, 24 V typical phase current, 2.8 A max magnetic encoder control loop 8 g, NEMA 17 holes

Project overview

Spectral Micro is a brushless motor controller designed to offer affordable and capable hardware, complemented by open-source software. It supports multiple firmware options, integrates a 14-bit magnetic encoder, inline current sensing and a CAN and UART data interface, and provides position, velocity, torque and impedance control. Everything you need for developing high-performance robotic solutions is included. It is ideal for gimbal motors, quadrupeds, robotic arms and grippers: see the tested motors.

▶︎  Watch the Spectral Micro introduction
Spectral Micro - BLDC motor controller, on YouTube

Start here

I want to Go to
Buy a driver or a starter kit source-robotics.com · starter kit
Choose a motor, mount and wire it tested motors · what you need · mounting and wiring · STEP files
Set it up and make it move Quick start · Motor GUI in the browser (guide) · calibration
Control it over CAN · over UART · Python library and Source Robotics toolbox · Arduino (early stage) · ROS 2 (early stage) · API reference
Run SimpleFOC on it SimpleFOC port and examples · SimpleFOC guide
Update the firmware latest release · updating through the bootloader · a board without the bootloader
Use it in a gripper or a robot SSG-48 gripper · gripper mode · guides: mobile robot, quadruped leg, gravity compensation, teleoperation

In this repository

Folder What is in it
Spectral BLDC Firmware the firmware (PlatformIO, STM32F103CB): on main the one for boards without the bootloader (release 101 and earlier, no longer updated); releases from 104 on are built from the Bootloader_main branch
Binaries firmware.bin, the build of this branch, for a board without the bootloader
STEP files the board and an example mounting bracket
Test scripts PI_current_loop_calib.py, the current loop's PI gains from a motor's resistance and inductance
Photos product photos

The latest release has the firmware image (spectral-bldc-firmware-V<number>.bin) and its manifest (firmware.json); Motor GUI flashes it from there. en.stsw-link009.zip is the ST-LINK USB driver (STSW-LINK009), for the programming adapter on Windows.

Community

Ask in Discussions, chat on Discord, report a bug in Issues, and follow Source Robotics:

Discord Discussions YouTube Instagram X LinkedIn Blog

Safety, liability and disclaimer

  1. The software and hardware are still in development and may contain bugs, errors, or incomplete features.
  2. Users are encouraged to use this software and hardware responsibly and at their own risk.

Read the manual's safety chapter before you wire and power the driver.

Licensing

Spectral firmware is under GPLv3 Licence

Versions

Which firmware release your driver runs, and what works with it: VERSIONS.md.

About

Spectral Micro: compact FOC controller for brushless (BLDC) motors, with CAN, UART and open-source firmware.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

97 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages