Old RoboClaws... what library should I be using?

General discussion of using Roboclaw motor controllers
Post Reply
nickosinski
Posts: 31
Joined: Mon Oct 03, 2016 8:52 am
Old RoboClaws... what library should I be using?

Post by nickosinski »

Hi all,

I have version: Roboclaw 2x5a v3.1.5

What library should I be using?

Specifically, I'm trying to read currents, but not getting anywhere.

Thanks in advance!
User avatar
Basicmicro Support
Posts: 1594
Joined: Thu Feb 26, 2015 9:45 pm
Re: Old RoboClaws... what library should I be using?

Post by Basicmicro Support »

On old Roboclaws that did not support firmware updates you will need to send the board in to have the firmware updated. Alternatively we can upgrade the old non-USB boards to a new USB board at cost. If you are interested in that just call our support line.
nickosinski
Posts: 31
Joined: Mon Oct 03, 2016 8:52 am
Re: Old RoboClaws... what library should I be using?

Post by nickosinski »

Thank you for the reply, but if I don't upgrade then I can't get the current values?

Thanks again!
nickosinski
Posts: 31
Joined: Mon Oct 03, 2016 8:52 am
Re: Old RoboClaws... what library should I be using?

Post by nickosinski »

To clarify... I'm trying to use the following function:

RoboClaw::ReadCurrents

...but it doesn't seem to work. Thanks again for your help.
User avatar
Basicmicro Support
Posts: 1594
Joined: Thu Feb 26, 2015 9:45 pm
Re: Old RoboClaws... what library should I be using?

Post by Basicmicro Support »

The firmware on your roboclaw is very old. Our changes file doesnt go back that far anymore. The command number hasnt changed though so you should get some data back. Very old firmware had an 8bit value for the current, while the newer ones have a 16bit value. Also the 8bit value was very low resolution(basically 1amp resolution) and had no or little filtering on it.
nickosinski
Posts: 31
Joined: Mon Oct 03, 2016 8:52 am
Re: Old RoboClaws... what library should I be using?

Post by nickosinski »

Thanks again for the reply. I'll give it another try.

Post Reply