Does the SimpleFoc library support pwm + dir input? I plan to make a SimpleFocPower shield for the Direct Drive force feedback wheel application, now I use vesc, but want to try a cheaper one using BTN8982 or BTS7960
At the moment, the library provides API level control, and the “commander API”, a flexible ASCII based control protocol.
It is currently designed as a library, for integration into your own project, and it is not a complete ESC firmware solution.
As such, PWM/DIR control is something you would have to implement in your project, and use the inputs from that to control SimpleFOC via the API.
If you decide to do so, we’d love to hear about it!
PS: your setup looks amazing! And very rugged… are you sure the force feedback won’t pull your arms off?
There’s actually already implemented an interrupt-based Step Dir Listener withing the library