Help on the Read data on CDS5500

Bioloid robot kit from Korean company Robotis; CM5 controller block, AX12 servos..
3 postsPage 1 of 1
3 postsPage 1 of 1

Help on the Read data on CDS5500

Post by nattos » Fri Oct 05, 2012 7:35 am

Post by nattos
Fri Oct 05, 2012 7:35 am

I'm trying tu use a chain of CDS5500 connected with Arduino using the library
CDS55xx library (with members cds5500.cpp cds5500.h).
In this library are not implemented:
-the function of Read data from a servo (like SERVO.WritePos(1,i,.....);
-the testing of Sense byte
so I can't know the goal posiotion after a command of move.
Does someone have a idea about how doing this?
Thanks
I'm trying tu use a chain of CDS5500 connected with Arduino using the library
CDS55xx library (with members cds5500.cpp cds5500.h).
In this library are not implemented:
-the function of Read data from a servo (like SERVO.WritePos(1,i,.....);
-the testing of Sense byte
so I can't know the goal posiotion after a command of move.
Does someone have a idea about how doing this?
Thanks
nattos offline
Newbie
Newbie
Posts: 2
Joined: Fri Oct 05, 2012 7:19 am

Post by i-Bot » Sat Oct 06, 2012 11:37 am

Post by i-Bot
Sat Oct 06, 2012 11:37 am

The CDS55XX library looks pretty useless.

I would suggest you take one of the existing AX12 libraries and adapt that.

The CDS55XX library does not appear to handle receive data at all. You will need to link both the TX and RX data lines on to the serial bus. This may either be through a direct connection or through an external buffer depending on the library you use.

The goal position will be what you last set it to. The present position is probably what you want to read.
The CDS55XX library looks pretty useless.

I would suggest you take one of the existing AX12 libraries and adapt that.

The CDS55XX library does not appear to handle receive data at all. You will need to link both the TX and RX data lines on to the serial bus. This may either be through a direct connection or through an external buffer depending on the library you use.

The goal position will be what you last set it to. The present position is probably what you want to read.
i-Bot offline
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Post by nattos » Sat Oct 06, 2012 10:22 pm

Post by nattos
Sat Oct 06, 2012 10:22 pm

Thanks a lot.
I'm now trying to use the AX12 libraries but I can't understand what "Adapt" means.
It's sufficient to follow the indications I've found in the following topic: http://arduino.cc/forum/index.php?topic=116011.0 or there are more implementations to do?
In this case could you supply more information?
Thans again
Thanks a lot.
I'm now trying to use the AX12 libraries but I can't understand what "Adapt" means.
It's sufficient to follow the indications I've found in the following topic: http://arduino.cc/forum/index.php?topic=116011.0 or there are more implementations to do?
In this case could you supply more information?
Thans again
nattos offline
Newbie
Newbie
Posts: 2
Joined: Fri Oct 05, 2012 7:19 am


3 postsPage 1 of 1
3 postsPage 1 of 1