I have a Odrive controller 48 volts, version 3.6 and I am trying to use it with D6374 Odrive motor.
I am just getting started on this and I must say I needed a few code examples in python specifically for this odrive D6374 motor, I am looking for configuration help for this motor.
I am guessing it has 14 magnets or 7 pole pairs are used (actually this is for Turnigy Aerodrive SK3 - 6364-190KV), I am not sure how many pole pairs does a D6374 have? did not find this anywhere in the documentation may be I don’t know where to look
I am able to setup the usb on a windows machine, the following is working but I am not able to do setpoint
odrv0.axis0.requested_state = AXIS_STATE_MOTOR_CALIBRATION
odrv0.axis0.requested_state = AXIS_STATE_ENCODER_OFFSET_CALIBRATION
odrv0.axis0.requested_state = AXIS_STATE_CLOSED_LOOP_CONTROL
In [1]: odrv0.vbus_voltage
Out[1]: 14.97055721282959
even though I can go upto 48 volts I am testing with just 15 volts no load
I have CUI AMT 102-V encoder connected
when I do the following
odrv0.axis0.requested_state = AXIS_STATE_FULL_CALIBRATION_SEQUENCE
After about 2 seconds I hear a beep.
Then the motor turns slowly in one direction for a few seconds, then back in the other direction. This part is working
I do not know what configuration to set and save, I do not know how many magnetic pole pairs is the default setting, I did not set it anywhere
when I run the setpoint command nothing is happening, the shaft is not turning
I hear a hum, is this hum normal? when I try to turn the motor by hand it does not allow me to, the holding torque is there , but should we hear such a loud hum? I thought it should have been silent.
I don’t know why setpoint(3000) is not working?
I am using odrivetool directly on windows
please pardon I am just beginning sorry for the newbie questions
Thanks for your help