Arduino-FOC
Arduino-FOC copied to clipboard
Arduino FOC for BLDC and Stepper motors - Arduino Based Field Oriented Control Algorithm Library
Update to MagneticSensor to handle bit mask correctly. This implementation should work with AS5600, AS5048B and MT6701 sensors.
**Describe the bug** See the community post https://community.simplefoc.com/t/zero-electric-angle-is-very-different-in-trapezoid-modulation/5064/8?u=antun_skuric
**Is your feature request related to a problem? Please describe.** - Extending the current `StepperMotor` class to handle the FOC torque control. - Extending the `CurrentSense` classes to enable inline...
SimpleFOC v2.3.3 does not support the new version of the [arduino-esp32](https://github.com/espressif/arduino-esp32/releases/tag/3.0.1). This is due to the new braking changes in their MCPWM api
In `BLDCMotor::move()`, if you pass a new target as a parameter, it is sometimes ignored. This is due to [this code](https://github.com/simplefoc/Arduino-FOC/blob/master/src/BLDCMotor.cpp#L414 ) being at the wrong place. I think it...
**Describe the bug** When running the open-loop velocity sample using the ESP32S3 board, a "clicking" or "grinding" noise can be heard from the brushless motor. The noise sounds like a...
This is an initial attempt to port the PWM driver for STM32 to HAL only. Until now, our PWM driver has used the stm32duino HardwareTimer implementation. This PR replaces all...
**Describe the bug** Build error occurs on both Arduino IDE and Platformio Additionally, it happens with both versions 2.3.3 and 2.3.4. **Describe the hardware setup** - Which microcontroller - esp32-c3(m5stamp-c3)...
Hi, I really like this project but its dependency on the Arduino library currently hinders me from using it. I know the project name is `Arduino-FOC` but I was wondering...
Shared by @mcells from his fork https://github.com/mcells/Arduino-FOC/blob/d40c7d7fddff4c3e58b26ebd2e2cc846fddfc09e/src/HFIBLDCMotor.cpp#L71 ### if phase resistance and phase inductance are known: Will initialize Kp and Ki for q and d current PI controllers automatically based...