Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/runger1101001/simplefoc_funqi_example
- Owner: runger1101001
- Created: 2023-10-02T20:19:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-08T19:05:34.000Z (about 1 year ago)
- Last Synced: 2024-11-09T12:13:05.159Z (3 months ago)
- Topics: motor-driver, simplefoc
- Language: C++
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.