-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Controlling different types of servomotors with arduino méga #9
Comments
Hey, First, i recommend that you update the library to the 0.8 version, using the arduino library manager.
You may create several interfaces and attach motors to any of them.
Don't forget to call init with the correct baudrate for each interface, and then you can access each servo normally in the code. If you want to put several motors on the same interface, you will have to change their ID, because they all have the default ID 1 when you buy them. For that, there is a
The motor will then have the newId ID. Repeat for each motor to assign an unique ID to each. I see in you message that you have AX-18, MX-12W, RX-24F and XL-320 models. For RX-24F, you can't connect them dirrectly to the arduino mega, because they use a RS485 signal, you must use something like a MAX485. For XL-320, be carrefull that its voltage range is lower than for the other models, so you can't connect them to the same power supply. Also, it seems that the registers are not exactly the same than for the other models, so some functions might not work as expected. |
hey i m having very much troboul with converting joint mode to wheel mode in Dynamixel XL-320 with arduino UNo or mega. Please can u help me step by step . |
Hi sir Adrien Descamps
When I use the following function .
It means I was busy TX0/RX0 for arduino méga, but I want to control four different types of servomotors
How can I open ports? TX1,2,3 and RX1,2,3 . At the same time
If you do not mind send me the code
The text was updated successfully, but these errors were encountered: