by YoKzy » Sun May 08, 2011 4:35 pm
by YoKzy
Sun May 08, 2011 4:35 pm
Hi. Eventhough I just joined this forum, I've been reading and searching on this thread for quite a long time (and found ton of information that I needed here
) but I think I didn't found any of the similar thread. (Pardon me if I missed it).
So I'm building a 6DOF Dynamixel AX-12 robotic arm using a microcontroller ATMega32 which has a GUI interface using C#.
For a quick explanation, here's what I've done:
Building AX12 library on microcontroller.
Building serial communication (handshaking Half Duplex (AX-12) with Full Duplex (PC using MAX232))
Moving a Dynamixel using WRITE instruction
Get a status packet returned from AX-12
Moving a Dynamixel using REGWRITE~Action(individual ID)
ex:
- Code: Select all
RegWrite(1,100); //Reg write servo ID=1 to 100 Degree
RegWrite(2,100); //Reg write servo ID=2 to 100 Degree
Action(1);
Action(2);
Now the problem is, if I use broadcast ID for Action instruction
- Code: Select all
RegWrite(1,100); //Reg write servo ID=1 to 100 Degree
RegWrite(2,100); //Reg write servo ID=2 to 100 Degree
Action(254);
Sometimes there's just 1 servo that's moving.
Sometimes both servos isn't moving.
And the servo's which not moving is blinking the LED once, eventhought I have set the ALARM LED register to 0.
Any idea what's the problem?
FYI I didn't use CM5, nor USB2Dynamixel. I made my own supply using Switching Voltage Regulator LM2576 (9.6V/3A).
Hi. Eventhough I just joined this forum, I've been reading and searching on this thread for quite a long time (and found ton of information that I needed here
) but I think I didn't found any of the similar thread. (Pardon me if I missed it).
So I'm building a 6DOF Dynamixel AX-12 robotic arm using a microcontroller ATMega32 which has a GUI interface using C#.
For a quick explanation, here's what I've done:
Building AX12 library on microcontroller.
Building serial communication (handshaking Half Duplex (AX-12) with Full Duplex (PC using MAX232))
Moving a Dynamixel using WRITE instruction
Get a status packet returned from AX-12
Moving a Dynamixel using REGWRITE~Action(individual ID)
ex:
- Code: Select all
RegWrite(1,100); //Reg write servo ID=1 to 100 Degree
RegWrite(2,100); //Reg write servo ID=2 to 100 Degree
Action(1);
Action(2);
Now the problem is, if I use broadcast ID for Action instruction
- Code: Select all
RegWrite(1,100); //Reg write servo ID=1 to 100 Degree
RegWrite(2,100); //Reg write servo ID=2 to 100 Degree
Action(254);
Sometimes there's just 1 servo that's moving.
Sometimes both servos isn't moving.
And the servo's which not moving is blinking the LED once, eventhought I have set the ALARM LED register to 0.
Any idea what's the problem?
FYI I didn't use CM5, nor USB2Dynamixel. I made my own supply using Switching Voltage Regulator LM2576 (9.6V/3A).