Closed AcarCopernicus closed 3 years ago
Hi @AcarCopernicus , When using DYNAMIXEL Shield, please select the identical example from DYNAMIXEL Shield library instead of DYNAMIXEL2Arduino library. Thank you.
Unfortunately, it did not solve my problem.
Could you elaborate more on your problem?
I have nothing to say in detail. I actually told every thing in the my first comment. I am trying to apply the same action in the video that is given below. But I can not drive servo by using arduino.
https://www.youtube.com/watch?v=M7x7oWyOdGw&t=57s&ab_channel=ROBOTISCustomerSupport
@AcarCopernicus Hi, you should at least give us some information about your hardware settings and details about the symptoms so that we can try replicating your issue. You could consider providing information such as
Hello
Answers 1- I am using arduino uno r3 2-the power supply has 12V and 1.5A 3-I am using both USB cable and power supply cable at the same time 4-I do not know how to change settings of Dynamixel. But I transferred data from arduino to dynamixel several times by changing baudrate. the servo motor just blinked 5-there is no errror messages 6-the newest libraries are uploaded from robotis git-hub 7- I tried, there is no response except from the blink.
@AcarCopernicus
When uploading the sketch to Uno, you should set the UART SW
to Upload side, and after the upload is completed, you should set the switch to Dynamixel side. This is because the Uno only has a single serial port, and this is why you should use a separate USB serial interface to read from the board.
What I meant for "7. Try scan_dynamixel example" was to see if you are getting any response from the terminal output. The example itself does not move the DYNAMIXEL.
DYNAMIXEL blinks once when powered so it is a normal behavior.
I tried as you described. there is nothing changed.
Could you write down each step you did so we can follow them and test?
Dear ROBOTIS-Will
I set the UART SW to Upload side and I uploaded the sketch to Uno, after the uploading operation finished, I set the UART SW to Dynamixel side. I also set "ON" the shield. than the servo did nothing. so I checked the serial port screen. there is only "?" question mark. Could you please help me to solve this problem. I think this problem stem from a setting mistake. If you could help me by connnecting online using google meet or zoom, that is going to be a great help.
Hi,
If your code does not have any feature to hold the program until you are connected to the serial monitor, as soon as the upload is completed, it will start executing the code. I'd recommend to try as below.
In the previous reply, I mentioned you need a separate USB serial interface
This is because the Uno only has a single serial port, and this is why you should use a separate USB serial interface to read from the board.
You might also want to refer the below comment. https://github.com/ROBOTIS-GIT/DynamixelShield/issues/18#issuecomment-730207992
If you are going to use Arduino Uno, you need additional USB-serial interface like LN-101. Or you could simply use Arduino Leonardo which comes with a couple serial port.
I'm sorry but I'm not supposed to directly respond to customers special requests like online meeting, but you may request to schedule an online technical support via contactus2@robotis.com with more details about your project. Thank you.
This issue will be closed as there isn't recent activity. Please feel free to reopen when necessary.
I am following all the instructions in the tutorial, but the servo is only blinking. is there anyone can drive the servo XM540 by using dynamixel2arduino library?
the video link; https://www.youtube.com/watch?v=M7x7oWyOdGw&t=57s&ab_channel=ROBOTISCustomerSupport