by carloti » Tue Apr 09, 2013 12:06 pm
by carloti
Tue Apr 09, 2013 12:06 pm
Hi everyone!
I try to connect this servo to a Ubuntu PC with serial connection, using a RS232-ttl conversor.
I supply 6V (1000mA) to the servo and 3.3V to the conversor.
I am programming in C, to send package bytes I use this:
unsigned char instruct[][7] = {
{ 0x080, 0xE7, 0x00, 0x00, (256 - (0x080 + 0xE7 + 0x00 + 0x00)), 0x00, 0x00 }, /* 1){7} .getID+Version*/
{ 0x080, 0x00, 0x08, 0x34, 0xCC, 0x00, 0x00 } /* 1){7} .setPosition*/
};
I configure the channel speed at 19200.
It is curious but I achieve to move the servo one time. I dont know if the servo receive the package. I observe that the servo lock when I connect and I dont know why?
If the checksum ok? Anyone see what can be failing?
Thanks
Is the
Hi everyone!
I try to connect this servo to a Ubuntu PC with serial connection, using a RS232-ttl conversor.
I supply 6V (1000mA) to the servo and 3.3V to the conversor.
I am programming in C, to send package bytes I use this:
unsigned char instruct[][7] = {
{ 0x080, 0xE7, 0x00, 0x00, (256 - (0x080 + 0xE7 + 0x00 + 0x00)), 0x00, 0x00 }, /* 1){7} .getID+Version*/
{ 0x080, 0x00, 0x08, 0x34, 0xCC, 0x00, 0x00 } /* 1){7} .setPosition*/
};
I configure the channel speed at 19200.
It is curious but I achieve to move the servo one time. I dont know if the servo receive the package. I observe that the servo lock when I connect and I dont know why?
If the checksum ok? Anyone see what can be failing?
Thanks
Is the