Forum >Veyron 24 Channel Servo Controller with arduino
RoboticsGeneral

Veyron 24 Channel Servo Controller with arduino

userHead samuelbles07 2017-01-30 22:15:08 2455 Views2 Replies
hei guys i have a problem here using Veyron 24 Channel Servo Controller with arduino.

Previously i'm using it with the GUI and it works well, but when i'm using it with arduino the servo not move at all.
I follow all the instruction from here <url>https://www.dfrobot.com/wiki/index.php/Veyron_Servo_Driver_(24-Channel)_(SKU:DRI0029)</url> . I'm using the sample code and the schematic from there.

void setup() {
Serial.begin(115200);//Set the baudrate to 115200 A:1 B:1
delay(100);//wait for baudrate setting finished
}

void loop() {
Serial.print("#5 P750");// Channel 5 will move to 750us within 500ms
delay(5); //wait for first comand transmission done, if you send
// a long command, you'd better extend it
Serial.print("\r"); // send Carriage Return <CR>
delay(1000); //wait for servo go to the set position
Serial.print("#5 P2200");// Channel 5 will move to 2200us within 500ms
delay(5);
Serial.print("\r");
delay(1000);
}

Note: i think the driver already receive the data because the rx2 led is blinking

Please help :?:
2017-02-05 01:41:56 Hi

Probably it's for the baud rate setting. Have you noticed the baudrate setting switch on the corner of the board. Is it in the right place, e.g. if your code is 115200, then the 3 switchs should be in the position as:A1, B1, SERIAL. Besides, the switch are not good to use, you might need a little strenth to poke it from one side to the other side to make sure it is connected firmly.

And do you mean you have reinstalled the driver? If yes, its should be no problem.
Hope this will help you.
userHeadPic Wendy.Hu
2017-02-01 07:25:55 what's the consequence if i reflash the Maple RET6?
if there is tips and triks to flash it?
please help me :cry:
userHeadPic samuelbles07