VDC2450 joystick control with motor using absolute potentiometer feedback

6 years 7 months ago #29529138 by jonshepley
My appologies, I didn't realise it was absolute like that, I thought that if you gave it a command of:

setcommand(_g,1,750) would give you a 3/4 of full speed rotation with out stopping or regarding feedback.

So to work out the command i thought maybe it would be 5v = 1000 but working back that would make 3.5v 700? where am i going wrong?

I am sorry for all these questions, if it makes any difference I think i'm getting there now!

Thanks,

Jon

Please Log in or Create an account to join the conversation.

6 years 7 months ago #29529139 by Griffin Baker
The analog min and max tell the motor how far it can move in both directions. If the min is at 1000mV and the max is at 4500mV, then the motor can't go above that. So if you are telling it to go to 4500mV on the analog feedback, any go command value that is equivalent or greater will tell it to go to 4500 on the feedback.

The AIC is the analog input after the conversion. It takes the analog input voltage value and then converts it into a motor command. In the run tab you can see what the feedback value is. You set up a channel for motor command and match it up to the analog feedback value reported in the top right section of the run tab.

Please Log in or Create an account to join the conversation.

6 years 7 months ago #29529140 by jonshepley
That all mkes perfect sense, I will have a play this evening and see how I get on with it. Thank you

Please Log in or Create an account to join the conversation.

Moderators: tonysantoni
Time to create page: 0.234 seconds