The inductance and resistance values at zero raises an eyebrow, although it makes sense if you can’t get the motor to even calibrate. Forgive me for asking the obvious, but are you confident that the motor and the encoder are plugged into M0, and not M1? I did that last week.
Comfirmed it is on M0. The motor does a tiny twitch initially but almost imperceptible.
The one thing I am not sure at all are the Phases A,B,C. The little Turnigy motor didn’t come
labeled at all so I just connected A,B, and C randomly to the three motor cables.
The connection order of the phases doesn’t actually matter, so you can rule that out as a cause. Swapping any two wires will just make the motor turn the other way.
This is ERROR_PHASE_RESISTANCE_OUT_OF_RANGE and ERROR_CONTROL_DEADLINE_MISSED together. I don’t know which one came first, and hence is the actual error. My guess is the phase resistance out of range.
Try setting requested_current_range to 20, and calibration_current to 3. What is the resistance of your motor (specify if it’s phase or line-to-line)?
Hm I think in either case you shouldn’t get resistance out of range with the values you had already. Can you use a multimeter in ohm or continuity mode to check the resistance of all 3 combinations of 2 phases? It doesn’t have to be accurate, we are just checking if the connection is broken on one.
We have just received an Odrive board v3.5
Trying to set it up to run a small hubmotor (4inch outer tyre diameter) with Encoder, no index)
We have followed the getting start procedure but when we tell it to Run full Calibration sequence. Nothing happens, either in the command prompt or the motor) and when we check the axis errors we get 41.
This seems to be a recurring issue with smaller motors. Perhaps it is not ideal to use such small motors. Anybody have any ideas of components we can change or firmware changes?
As far as I’m aware, there isn’t something specific about small motors that should make them difficult on the ODrive. I did plenty of testing on small motors:
I think they are likely other problems not necessarily related to the motor being small.
I am running into the same issue… Funny thing is, one motor is calibrating, the other one is not… So I am a bit confused… (while they are identical motors…) I will switch them around one I have some time to rule out some hardware issues.
*edit
solutions always come once you posted something…
Following this fixed it: