Arduino-FOC-dcmotor
Arduino-FOC-dcmotor copied to clipboard
Control DC motors using SimpleFOC's infrastructure
Hello, maybe someone can help me. I want to control a DC motor with a TB6612FNG (https://www.sparkfun.com/products/14451) and an AS5600 sensor. The encoder works without problems, the motor can also...
Hi, I seem to be getting an odd error when using this library. I'm using a `b-g431b-esc1` Discovery board which is designed for BLDC motors. I've used simpleFOC on it...
We don't need a calibration, but we should search for the index in the same way the other motors do.
**MCU:** Esp32-S3 **Driver IC:** DRV8212 Here's the modified code from the open loop example. ``` #include #include "SimpleFOC.h" #include "SimpleDCMotor.h" #define enPin 11 #define pwm1pin 14 #define pwm2pin 15 DCDriver2PWM...