Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/runger1101001/simplefoc_funqi_example

Sample firmware for STSPIN32G4 based BLDC driver
https://github.com/runger1101001/simplefoc_funqi_example

motor-driver simplefoc

Last synced: 20 days ago
JSON representation

Sample firmware for STSPIN32G4 based BLDC driver

Awesome Lists containing this project

README

        

# SimpleFOC field stack example

Example firmware for driving a BLDC motor (not stepper) with 3 phases on the Funqi board module for the Field Stack driver.

It's also an example of how to use the STSPIN32G4 from PlatformIO.

Features:

- PlatformIO project
- Board configuration for working with generic STSPIN32G4 boards
- uses SimpleFOC and SimpleFOC drivers libraries
- Controls a BLDC motor
- Serial control via USB Serial and SimpleFOC's Commander class
- STSPIN32G4 driver for interacting with driver stage
- MT6835 driver for sensor
- STM32 CORDIC accellerated trig functions
- NeoPixel for status indication
- Stores motor calibration to internal Flash for fast start

## Software setup

Clone this repository, then switch to the lib folder and clone the dev branches of the SimpleFOC library and the SimpleFOC drivers library to that location.

Open the folder in PlatformIO.

Make sure your STM32 platform files are up-to-date.