You will need to use a 3-phase BLDC motor with the ODrive. We offer a handful of these motors on our shop, and here is a list of tested motors. In general, the ODrive can be configured to work with most hobby/professional BLDC motors.
Unfortunately you cannot use a potentiometer as an encoder. Incremental or Hall Effect encoders work great, and there are a few supported SPI encoders as well. Checkout our encoder guide for a detailed list.
I understand every new installed motor or encoder need to go through Odrive configuration step, but which parameters in motor and encoder need to be configuaration in Odrive?
these parameters can be found in motor datasheet?
any example?
For the encoder the only thing you really need to know is the cpr (4x the Pulse Per Revolution (PPR)
For the motor you will need to know:
pole pairs. This is the number of magnet poles in the rotor, divided by two . To find this, you can simply count the number of permanent magnets in the rotor, if you can see them.
Torque Constant. This is the ratio of torque produced by the motor per Amp of current delivered to the motor. This should be set to 8.27 / (motor KV) .
Motor Type. This is almost always HIGH_CURRENT, unless you are using a gimbal motor.
All of this should be easy to find in the datasheet.
Also, you can find configuration instructions for the ODrive here.
There’s apparently a short answer and a long answer to that question, I prefer the very short answer of “It’s a magic number that works for all motors” and accept it. The maths in the short answer gave me a headache