Author Topic: HSR-5980SG: Serial feedback problem  (Read 848 times)

0 Members and 1 Guest are viewing this topic.

Offline ViborTopic starter

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
HSR-5980SG: Serial feedback problem
« 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


Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,166
  • Helpful? 111
Re: HSR-5980SG: Serial feedback problem
« Reply #1 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.

Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

 


Get Your Ad Here