Software
SimpleFOCStudio
From github.com/JorgeMaker/SimpleFOCStudio (opens in a new tab)
- Robot arms and industry
- Tool
- MIT
A PyQt5 graphical app for tuning, configuring, plotting and monitoring BLDC and stepper motors driven by the Simple FOC library over a serial port.
Facts
- GitHub stars
- 262read on 22 Nov 2026
- Last update
- 16 Jan 2026Newest commit on main
- Maintenance
- Maintaineda commit in the last 12 months
- Difficulty
- Beginner
Checked on GitHub on 22 Nov 2026.
Licenses
- Code
- MIT (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (MIT) at commit 6fe2896 (opens in a new tab), on 16 Oct 2026.
- Commercial use
- Yes
At a glance
- What it is
- Connects to a Simple FOC device through the Commander serial interface and works with Simple FOC library version 2.1.
- Tunes motor PID and low-pass filter parameters in real time, using either a form view or a tree view.
- Plots and monitors motor variables live.
- Generates Arduino code with the tuned parameters to paste into a sketch's setup function before motor.init().
- Supports custom Commander commands, a jogging panel for moving the motor with buttons, and an integrated serial terminal.
- Also offers a standardized SimpleFOCConnector Python interface for scripting against the device.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses it yet.
- Licence
- MIT. Commercial use: Yes. Where it was read
- Install
- In the creator's words: The project's README (opens in a new tab)
- Maintenance
- Maintained, last commit on 16 Jan 2026.
Use it
How to install it, in the creator's words: The project's README (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/JorgeMaker/SimpleFOCStudio (opens in a new tab)
- The version Robotheca read6fe2896 (opens in a new tab)
- Latest releaseSimpleFOCStudio v1.0 (21 Apr 2021)
Robotheca never hosts the code: each link goes to the creator's own page.
The README
The creator's own README, copied as written: README.md by @JorgeMaker, at commit 6fe2896, under MIT (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
SimpleFOCStudio
Graphical user interface for the SimpleFOClibrary (opens in a new tab). This application allows to tune and configure any BLDC/Stepper SimpleFOClibrary controlled device, using serial port communications and the Commander (opens in a new tab) interface.
The main features are:
- Plug and play with the SimpleFOClibrary version 2.1
- Real-time tuning and configuration of the motors
- Real-time plotting and monitoring of motor variables
- Code generation for easier integration of the tuned parameters in your code
- Built on PyQt5 and a standardized
SimpleFOCConnectorinterface that can be used as a gateway form python to the SimpleFOClibrary device.

Installation
Don't worry, SimpleFOCStudio is easy to install even if you have never used the terminal before! 😃 There are just couple of steps to take:
- Install Python if you don't have it installed yet
- We suggest to use Anaconda. Here is how to install it. (opens in a new tab)
- Once you have your Anaconda running open your terminal (on windows anaconda prompt) and run:
conda create -n simplefoc python=3.9.0- Once this is done you will never have to run that command again, from now on you will just need:
conda activate simplefoc - Clone this repository or download the zip file
- Enter the folder containing the repository using the terminal
- the command will be something like this:
cd some_path_on_disk/SimpleFOCStudio - Final step of the installation is installing all the necessary libraries for the SimpleFOCStudio :
pip install -r "requirements.txt"
Once you have done all the steps above you do not need to repeat them any more. All you need to do the next time is open your terminal in the SimpleFOCStudio directory and run the command:
python simpleFOCStudio.py
Or if using Anaconda:
conda activate simplefoc
python simpleFOCStudio.py
Usage
SimpleFOCStudio has several useful features:
- A simple approach to tuning your motor setup
- Form view for fast motion control PID/LPF tuning
- TreeView for more in depth tunning and experimenting
- Code generation for transferring the found parameters into your arduino code
- Serial terminal integrated with various commander features
Motion control tunning windows
Once you have your application running add a device by clicking the
motor button in the toolbar. You can choose either the
TreeView or the
FormView.
- To connect to your device first configure the serial port by clicking on
Configure button - Add your com port info and click OK
- Then add the device command ID that you've added to the commander usually its
M- Command
M, Arduino code :command.add('M',doMotor,"my motor") - Command
A, Arduino code :command.add('A',doMotor,"my motor")
- Command
- Then click to the
Connect button and you should be ready to go!

Code generation
SimpleFOCStudio helps you to easier transfer your carefully tuned parameters to the Arduino code. Once you are happy with the performance of your system you can automatically generate the arduino code of the parameters you have tuned. To generate the code :
- Click on the
Arudino button in the toolbar. - Choose which sets of parameters you wish to generate the code for and click OK
- In the new tab you will have a code of your tuned parameters.
The generated code you can just copy/paste in your setup() function, just before calling the motor.init()

Custom Commands
You can create your own custom commands if you extend the Commnader interface (opens in a new tab) in your sketch. This can be used for example to do things like change register settings for SPI devicesor any oyher functionality. Each custom command has a name and a value as you can see at the below image.

Once you have added each custom command in order to execute it you just need to select it and once selected press the space key (⎵) or right arrow key (→).
Jogging panel

This panel is used to actuate with yor motor without having to write comands, is like using a joystick but pressing buttons. Each buton performas an action:
- Fast Reverse button: reduces the current target by 2 times the specified increment.
- Reverse button: reduces the current target by the specified increment.
- Fordward button: Increase the current target by the specified increment.
- Fast Fordward button: Increase the current target by 2 times the specified increment.
- Stop button: in angle control mode, sets the current angle as target angle and in velocity control sets the target to zero.
Integrated serial terminal
SimpleFOCStudio also has integrated serial terminal for easier debugging and monitoring.

Arduino code
Basically there are two things you need to do:
- Use the commander interface and add the motor to the commander
- Use the monitoring and add the
motor.monitor()in the loop
Here is a mockup of the code:
#include <SimpleFOC.h>
....
// include commander interface
Commander command = Commander(Serial);
void doMotor(char* cmd) { command.motor(&motor, cmd); }
void setup(){
....
// add the motor to the commander interface
// The letter (here 'M') you will provide to the SimpleFOCStudio
command.add('M',doMotor,"motor");
// tell the motor to use the monitoring
motor.useMonitoring(Serial);
motor.monitor_downsample = 0; // disable monitor at first - optional
...
}
void loop(){
....
....
// real-time monitoring calls
motor.monitor();
// real-time commander calls
command.run();
}
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.