Award
Congratulations DJ Sures, for answering the question and has received an EZ-Credit award! Share what you have learned and create a tutorial to help others by clicking here.

Help With Serial Bus Servo (almost Dynamixel Protocol)

Assistance Requested

Help ed_eilers with their question and receive $10 of EZ-Credit to get more robots and parts from our store. The following information was provided about their previous efforts searching tutorials for a resolution.

Product: (click to view product details)

EZ-Builder Controls: (click to view manual page)

ed_eilers claims to have checked these sources:
 
#1

I would like to get some help on serial bus servo's that use almost the same protocol as dynamixel.

BUT all the dynamixel instruction packets and status packets start with:

0xFF 0xFF and then you get ID> Length> Instruction>Parameters>Checksum

like this


User-inserted image

The servo's I want to use are Lobot LX-16A that use the same protocol with one difference: the packets start with 0x55 0x55 and then ID> Length> Instruction>Parameters>Checksum

so my servo's don't react on the dynamixelplugin
How can I or someone change the 0xff too 0x55 in the plugin?
Is it possible too get the source code for the plugin?
or is there another solution?
I can't afford real dynamixels and this seemed a good alternative


thanx in advance for your help

I have found a few conversations, tutorials and activities that may help with your question. Take a look at these links. I've sorted them by what I believe to be most relevant but that is not always the case as I'm still learning.


Also, consider reviewing the Learn section for informative lessons and activities. Check it out!


#2

Hmm, the plugin description indicates it is open source, so you should be able to modify it, but if there is a link to the source code, I am missing it (other open source plugins have a link in the description).

@DJ is this one open source and am I right that the link is missing?

Alan

#3
#4

Thank you for this fast response techguru and DJ Sures

I hope that I can get this to work will take some time but if I got it working i will post it for other people too use.

I think these are nice servo's and it will open some new possibilities for my Ez robot
Can tell you that I'm very happy with Ez robot and the effort that is put in it.

thanks guys

#5

Thanks for the kind words Smile

#6

I picked up some LX-16A nice servos, lots of torque. There is a directory here with the program and PDF's


https://www.dropbox.com/sh/b3v81sb9nwir16q/AACkK-tg0q39fKJZcSl-YrqOa/LX-16A%20Bus%20Servo?dl=0

The communication protocol is fairly well documented
https://www.dropbox.com/sh/b3v81sb9nwir16q/AACkK-tg0q39fKJZcSl-YrqOa/LX-16A%20Bus%20Servo?dl=0&preview=LewanSoul+Bus+Servo+Communication+Protocol.pdf

haven't managed to get to work with EZB yet. Tried the dynamixel plugin but no luck as per above it initialized with 0x55 not 0xFF

I opened source to change to 0X55 but two pages of errors in visual studio ... I think I will go play with the UART

#7

Errors if you opened the plugin because it’s not configured for the EZ-Builder and ezb dll resources for your installation. It’ll be different for every computer.

Follow the tutorial on creating a plugin to familiarize yourself with visual studio and programming. It’s fun, even if it takes a while!

#8

Not sure if i got the packet correct, but you can give this a shot: http://www.ez-robot.com/EZ-Builder/Plugins/view/252

I ordered a servo to test with.

#9

Thanks DJ - lights are on but :-) I guess 0x55 was not the only difference or I am doing something wrong.

#10

These servo's are great the normal servo's also the ez-robot ones (sorry) are not ok I keep burning them. And these have feedback and al lot more options like the very expensive dynamixels it would be great if we could get them to work with ez-robot.

Now I use ez-robot to generate the commando's as a virtual servo them send the value and id serial to a arduino that translates it to the right protocol and that goes serial to the interface and that controles the servo.

stil having trouble to send and the servo value and the id from ez-robot to arduino in a good way as i can't figure out how to do this in the scripting language

the visualbasic did not work for me also errors and sleepless nights Smile

Glad more people picked this up and maby DJ can add this servo to EZ-Robot because it opens a hole lot of new possibilyties to EZ-Robot

Greetings ED