Arduino-FOC icon indicating copy to clipboard operation
Arduino-FOC copied to clipboard

Arduino FOC for BLDC and Stepper motors - Arduino Based Field Oriented Control Algorithm Library

Results 147 Arduino-FOC issues
Sort by recently updated
recently updated
newest added

I use mt6701 sensor to replace with as5600, and get wrong pole pair value and electrical zero offset when call initFOC with default params, and the motor power(about 5W) is...

help wanted
question

During the initialization of magnetic sensor, if the direction of rotation is not set, the program will execute to find the direction of rotation. When I use this feature, the...

Both Encoder and StepDirListener are affected. https://community.simplefoc.com/t/simplefoc-port-on-stm32cubeide-problem/1911/4?u=runger https://community.simplefoc.com/t/communication-error-step-dir/1369/14?u=runger Basically we configure the interrupt for CHANGE, but then use digitalRead() inside the interrupt routine to check the state of the pin....

TIM14/TIM15/TIM16 seem to be a special case, maybe some of the other high-number timers too. They wind up with double the frequency - so the PWM is correct, but with...

bug

I have a custom board (actually with an ESP32, but in the future I will use an STM32 MCU) which controls a motor with 0.1 Ohms of phase resistance approximately....

Firstly, thank a lot for the great work for SAMD MCU. Now lets turn to the issue in "samd_mcu.cpp". if (tcn >= TCC_INST_NUM),for example tcn = 5,TCC_INST_NUM = 3. then...

Add an option the driver code (3PWMDriver, 6PWMDriver, Stepper?) to prevent 100% duty cycle - some of the more simple driver ICs rely on the high side off-time to charge...

enhancement

Look into this: https://community.simplefoc.com/t/negative-number-of-pole-pairs-in-bldc-motor/1681/7 Alignment seems to fail when the motor only has 1PP

bug

I would like to control 2 hoverboard motors for a custom wheelchair project using web interface . I already have simple web interface for ESP32 microcontroller which is simple joystick...

enhancement

Discussion in forum here: https://community.simplefoc.com/t/b-g431b-esc1-hoverboard-motor-not-working-with-closed-loop-modes/898/18?u=runger Do we want to add a feed-forward controller? discuss and schedule implementation if people agree it's worth it.

question