I try to control a Robotis Bioloid Premium robot with an originally CM-5 controller which doesn`t work at the moment with help of an arduino mega
http://www.robotshop.com/en/robotis-bioloid-premium-robot-kit.html (actually an older model of this)
For this sake I bought the following arduino shield:
Because the 18 servos of the robot is connected to each other with a daisy chain I only have 3 outputs for the whole 18 servos out of the robot.I connected them to the shield and tried to control the robot with arduino mega and the library dynamixelserial2 which I downloaded from following:
At the beginning everything worked fine,till I tried to control more than 2 servos…Then the arduino started to give timout errors and an upload was impossible.At the same time, the ports of arduino were remarked light so that I could not access or choose them.I got a new arduino mega and this time upload was possible but the robot didn`t react at all.
What I also noticed and still notice is that the arduino is getting too warm.I supplied it with an usual 12V/5A adapter with which we also supplied the original controller of the robot.I have found out today that 9,6V is the recommended voltage for AX-12+ servos.
I don`t really know what the problem could be…Do you have any clue?Is this an appropriate shield to control such a robot?
Or do you have any other idea how I could control this robot with an arduino?
My code looks like:
Serial.begin(115200); // Begin Serial Communication
Dynamixel.begin(1000000,2); // Inicialize the servo at 1Mbps and Pin Control 2
Dynamixel.move(3,800); // Move the Servo radomly from 200 to 800
//Dynamixel.move(2,300); // Move the Servo radomly from 200 to 800
//Dynamixel.move(4,800); // Move the Servo radomly from 200 to 800
//Dynamixel.move(16,500); // Move the Servo radomly from 200 to 800
//Dynamixel.move(2,230); // Move the Servo radomly from 200 to 800
//Dynamixel.move(4,330); // Move the Servo radomly from 200 to 800
//Dynamixel.move(6,530); // Move the Servo radomly from 200 to 800
Thank you in advance