The battery powers the AMT212D muti turn (not from the board powers).
I would like to know the turn count when the power is restarted.
What kind of methods are there?
condition:
Odrive-Pro, Firmware 0.6.3
The battery powers the AMT212D muti turn (not from the board powers).
I would like to know the turn count when the power is restarted.
What kind of methods are there?
condition:
Odrive-Pro, Firmware 0.6.3
Hi,
Sorry which battery are you referring to? How is it connected?
Hmm ok I don’t know where the ODrive Pro is in that diagram, the connector labeled J8 doesn’t match, and also doesn’t have a GND connection.
ODrive Pro doesn’t have the capability to read the turn count as the system is designed to have the ODrive count the turns instead. You can use the 12V in on J9 or J13 to keep the ODrive on. However it’s a bit power hungry.
Now let’s change the subject a little.
AMT212D is a multi-turn encoder.
I try not to turn off the encoder power.
Therefore, it turn count continues to be held.
Now, when I reboot the OdrivePro, the turn count appears to be 0.
I don’t know if it’s correct, but I checked with “odrv0.encoder_estimator0.pos_estimate” .
If the turn count is also read somewhere, what method do I use to find out?
I have an interesting comment.
Will J8-5V have voltage when I supply 12V on J9 or J13 ?
At that time, if the motor moves, what will happen to the following values?
“odrv0.axis0.pos_vel_mapper.pos_abs”
“odrv0.axis0.pos_vel_mapper.pos_rel”
I want the motors to retain their position even when the power is off, and have the system run from there on restart.
thanks.
Like I said earlier:
ODrive Pro doesn’t have the capability to read the turn count as the system is designed to have the ODrive count the turns instead.
We could read the turn count, but it’s not implemented in firmware right now.
Yes. If you have 12V-in is supplied with respect to DC-, then J8 5V will have power.
The ODrive will stay on, and count position like normal.
You must always connect encoder ground to the ODrive, or the RS485 is floating, which is not good.
Okay. understood.
Even if you don’t use the turn count in Odrive-pro, I think there are users who want to use it, so please keep it as a variable.
Hope to improve.
We have already taken care of the encoder ground.
many thanks.