Hi,
I have purchased the AX-12A and MX-12W motors for my project and I tried to control them using OpenCM 9.04 C type combined with the expansion board 485. I also powered the Exp board with 12V, 5A SMPS connection. But when I try to program it using the Arduino IDE, it doesnt seem to work. I have checked with the port and followed youtube videos from ROBOTIS Customer Support. Can you please let me know how should I proceed?
|
|
2021-04-03 20:21:00 |
| medhas | |
Hi,
Could you show me which youtube video did you refer to?
And please let me know which Arduino example did you upload to test your DYNAMIXEL.
Please note that if you have connected DYNAMIXEL to OpenCM9.04 EXP without ID configuration, each DYNAMIXEL is configured to ID 1 which will cause digital communication collision problem.
When configuring DYNAMIXEL for the first time, please connect only one at a time.
If you have installed DYNAMIXEL2Arduino library on your Arduino IDE, you can run below code that I modified from "position_mode" example of DYNAMIXEL2Arduino with a single AX-12A.
Thank you.
|
|
2021-04-05 10:58:09 |
| willson | |
Hi,
Thank you so much for the code. It worked. I think there was some problem with the coding part.
By the way, this was the video I had followed: https://www.youtube.com/watch?v=OvmGwDDrdu0
The hardware part worked fine but the code did not work.
Thanks a lot again :)
|
|
2021-04-05 19:47:57 |
| medhas | |
Hi,
Can you please guide me on how to configure the IDs?
Thanks
|
|
2021-04-08 21:54:57 |
| medhas | |
Hi,
You can use DYNAMIXEL Wizard 2.0 to configure the DYNAMIXEL.
It is recommended to use U2D2 for managing DYNAMIXEL, but if you don't have one, you can use OpenCM9.04 after recovering the OpenCM9.04 firmware from R+Manager 2.0.
https://emanual.robotis.com/docs/en/software/dynamixel/dynamixel_wizard2/#basic-features
Thanks!
|
|
2021-04-09 17:20:13 |
| willson | |
Hi,
I tried to use the R+Manager and I am getting the following error. I don't have a U2D2. I am using the cable provided with the OpenCM9.04. Is there any tutorial I can follow? Can you send me the link to download R+Manager 2.0?
I tried another method of changing the ID. I used the Dynamixel2Arduino library and used the SetID function to change one of motor's ID. It worked.
Some of the questions I have are:
1. How do I control the motors simultaneously? With the above program I am able to move one motor at a time.
2. How to control the speed of the motors?
3. The motors rotate in counterclockwise direction when I give the position in degree value. How do I make them turn in clockwise direction?
Thanks
|
|
2021-04-09 19:31:27 |
| medhas | |
Kindly suggest
|
|
2021-04-11 02:35:37 |
| medhas | |
Hi,
Sorry about the confusion.
The OpenCM9.04 does not fully support AX or MX as it is originally designed for X series.
R+Manager 2.0 only supports product with Protocol 1.0 and does not support AX or MX series, therefore, please use DYNAMIXEL Wizard 2.0.
If you need to recover or update the firmware the AX and MX series, please use U2D2 and DYNAMIXEL Wizard 2.0
You can use DYNAMIXEL2Arduino examples in order to configure your AX or MX series.
1. You can add additional DYNAMIXEL to the basic example to run multiple DYNAMIXEL at the same time, but each DYNAMIXEL must have different IDs.
2. MX-12W and AX-12A has a data that controls Moving Speed(32). You can write to this address to control the speed. Please refer to eManual of each product for more details.
3. In case of AX-12A, when it is set to Joint Mode, it only operates between 0 ~ 300 degree. When set to Wheel Mode, you can write a 1024 ~ 2047 value to Moving Speed(32) to reverse rotate.
This can be done with DYNAMIXEL2Arduino, but it is much easier to test with U2D2 and DYNAMIXEL Wizard 2.0.
Thank you.
|
|
2021-04-12 13:08:14 |
| willson | |
Hi,
Thanks for the info.
Is there any way I can control the AX-12A motors using OpenCM9.04 + Exp board 485 with C#?
Thank you
|
|
2021-04-20 16:55:07 |
| medhas | |
Hi,
Unfortunately, OpenCM9.04 does not support C#.
If you need to develop with C#, you may want to use DYNAMIXEL SDK with U2D2 + U2D2 PHB(DYNAMIXEL Starter Set)
Or, if you are using a PC to control DYNAMIXEL that are connected to OpenCM9.04, you can create your own packet to send signal to OpenCM9.04 then parse it to create a DYNAMIXEL Protocol 1.0 for AX-12A.
Thank you.
|
|
2021-04-21 10:31:32 |
| willson | |