Show Posts
Pages: [1]
1  Topics / Robotics / Re: Servo Dongbu Robot HerkuleX DRS-0101 : Status Error 255 on: November 19, 2012, 01:27:02 am
Thanks alegiaco,

Ja indeed, i put wrong baud rate value, i should be 115200, and it works well.

/Benny
2  Topics / Robotics / Servo Dongbu Robot HerkuleX DRS-0101 : Status Error 255 on: November 16, 2012, 09:42:49 pm
I tried to control this servo motor from Arduino UNO, it used serial communication.

And i used this servo library below :
http://www.sgbotic.com/products/datasheets/robotics/HerkuleX.zip
http://www.sgbotic.com/products/datasheets/robotics/HerkuleX_Arduino_library_Quickstart_Eng.pdf

But so far the example code that they give it doesn't work properly, it always display status error 255 from the servo.

The servo itself has no problem, i found there no red led blink signs as error.

and please find the following code below :

#include <HerkuleX.h>
#define RX   8
#define TX   9
#define MI 253
void setup() {
  Serial.begin( 9600 ) ;
  HerkuleX.begin( 57600 , RX , TX ) ;
  delay( 10 ) ; 
}
void loop(){
  Serial.println( HerkuleX.getStatus( MI ) ) ;
}

Pages: [1]