Query "?a" returns a hexadecimal value

10 years 4 months ago #29526738 by Anonymous
Query "?a" returns a hexadecimal value was created by Anonymous
I'm sending the query "?a" to the AX1500 in order to know the Amps flowing from the battery to motors but it returns an hexadecimal value (for example "05") which converted to decimal is 5...the problem is that it does not correspond to 5 ampere (I've measured it with a multimeter). How can I do to get the right value (around 1.25 ampere)?

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

10 years 4 months ago #29526739 by Roboteq
Replied by Roboteq on topic RE: Query "?a" returns a hexadecimal value
You need to divide the result by 4 on the AX1500

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

10 years 4 months ago #29526740 by Anonymous
Replied by Anonymous on topic RE: Query "?a" returns a hexadecimal value
I'm having some trouble here with the current measurement. Are you completely sure that I should divide by 4
the results from the controller 8-bit output? Moreover, may I know how you calculate the Motor current (not the power supply one) in your software please?

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

10 years 4 months ago #29526741 by Roboteq
Replied by Roboteq on topic RE: Query "?a" returns a hexadecimal value
The divider is:
AX2550 = 1
AX3500 = 2
AX1500 = 4
AX500 = 8

Motor Amps is computed as follows:
MotorAmps = BatteryAmps * 128 / PWM

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

Moderators: tonysantoni
Time to create page: 0.212 seconds