#7574
There are two methods to use the board to drive the AX/CDS55XX series servo:
:arrow: Pc software(Windows) Download
:arrow: Code on Arduino or other MCU

1 Pc Software

Wiring:
P50812-113538.jpg


Operation
1 check usb-serial port
20150812113611.png

2 open the serial port in the software, and then serch the servo ID, if not found , please reverse your tx/rx sequence.
search servo ID.png

3 torque on and control your servo, if no reaction, please see if there was any warning from the servo( repower ), or useless power supply.
Control panel.png


Then you will see if your AX12 CDS55xx Driver Board was broken. ;)
More about the software.

2 Code on Arduino or other MCU
:arrow: Download the library first:
(3.44 KiB) Downloaded 326 times

(3.29 KiB) Downloaded 339 times


missing power.jpg

Wiring:
Wiring.jpg

I missed to add the external power adapter in the picture which are same as above.

Operation
Install the library, then upload the sample sketch without any change to the code. It will rotate endless 0-300-0-300....
(536.3 KiB) Downloaded 3355 times


3 Command Control through Serial Port

This sketch is tested on Leonardo( Serial/usb port to input command, Serial1 to control AX/CDS55xx )
(3.34 KiB) Downloaded 320 times


Wiring:

P50814-190003.jpg


Operation
Upload the sketch and send command through the serial port. The command could be found in the sketch.
Code: Select all
switch (command) {
  case 'p':      //move to value (0~300) "p x x"
    cds55_pos (id, value);
    break;
  case 'r':      //reset servo "r x"
    cds55_reset (id);
    break;
  case 'l':      //open or close led by 1 or 0 "l x x"
    cds55_led (id, value);
    break;
  case 't':      //enable or disable torque by 1 or 0 "t x x"
    cds55_torque (id, value);
    break;
  case 'i':      //change id to newid by value "i x x"
    cds55_setID (id, value);
    break;
  case 'v':      //change move velocity "v x x"
    cds55_velocity (id, value);
    break;
  default:
    Serial.println ("error! no this command!");


20150814192135.png

(561.81 KiB) Downloaded 3348 times