amirtebyan / slide-33

Automatically exported from code.google.com/p/slide-33
0 stars 0 forks source link

Read data from Dynamixel MX-28 servo #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi Jan,

First of all thanks for mention my name "Chlen.Nigera" in Dynamixel_Serial.h. 
It's very nice.

I see a lots of updates in your library, and I see you did very nice by putting 
nice circuit pics in PDF file

Did you have reading from servo by using "Read_Data_From_Dynamixel"?
I guess you very busy. You can reply for this email only with Yes or No.

In my case it's start rotating very slowly
when I open terminal I have following output:

Servo ID:1 NO! packet recived from Dynamixel 
Servo ID:1 NO! packet recived from Dynamixel 
Servo ID:1 NO! packet recived from Dynamixel 
Servo ID:1 NO! packet recived from Dynamixel 
Servo ID:1 NO! packet recived from Dynamixel 
#######################################################

I'm using your circuit from PDF

With find/replace I replace all "Serial" with "Serial1" in file 
"Dynamixel_Serial.cpp" to make it works with Arduino Mega TX1&RX1 pins.

Original issue reported on code.google.com by Chlen.Ni...@gmail.com on 12 Jun 2013 at 6:19

Attachments:

GoogleCodeExporter commented 8 years ago
Some updates:
IT WORKS!
But only on TX0 and RX0
with Serial.read/Serial.write in Dynamixel_Serial.cpp

when I replace everything in code with Serial1.read/Serial1.write or 
Serial2.read/Serial2.write it works only for writing (move servo)

ha. why is that?

It will be fantastic if your library will works on Arduino Mega because of 3 
additional UARTs available.

I'm going to buy and test your library on Arduino Micro(ATmega32U4);)

Thank you!

Original comment by Chlen.Ni...@gmail.com on 12 Jun 2013 at 7:29