Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: Vibor on October 22, 2010, 09:02:28 AM

Title: HSR-5980SG: Serial feedback problem
Post by: Vibor on October 22, 2010, 09:02:28 AM
Hi!

I'm working on a humanoid project and i'm using hsr-5980sg servos to operate joints.
I'm connecting 3 servos at the same time to dsPIC UART by using a daisy-chain connection.

These servos allows serial communication. Microcontroller sends 7 bytes, the last 2 with 0x00 to pull-up the line communication and get the answer from servo. But when I'm using more than one on the same bus, I get wrong information sometimes. When I send a command, one of the bytes is the servo's ID.

Does anyone already had the same problem?
What is the correct connection between a UART and a servo?

I hope you can help me.

Miguel
Portugal

Title: Re: HSR-5980SG: Serial feedback problem
Post by: Webbot on October 22, 2010, 01:47:00 PM
I don't have any of these servos - so this is just a long shot....and apologies if its stupid!

The servos probably come with a default factory ID . So have you changed them to guarantee that each has a unique ID.

One way to check would be to test each servo individually.