Motor control
These functions provide motor control without using effects from Feelix and are based on the SimpleFOC library. Visit simplefoc.com for more details.
These functions can be used in combination with the 'lite' version of the library designed to work with effects imported from Feelix.
Initialization
Control functions
You can use the functions specified in the documentation of the simpleFOC library. The initialization is handled in feelix.init(). To access the bldc, sensor and driver in the loop use: feelix.bldc-> (BLDCMoter object), feelix.driver-> (BLDCDriver3PWM object), feelix.sensor-> (MagneticSensorSPI object).
These are a few examples:
Get motor angle
Control type options
Move the motor
For all possibilities, check out the complete documentation at SimpleFOC.com
Motor control functions in Feelix Library
Move the motor to a specific position, speed value is optional.
Last updated