Author Topic: Robot Servo Interfacing  (Read 3392 times)

0 Members and 1 Guest are viewing this topic.

Offline pspasovTopic starter

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
Robot Servo Interfacing
« on: September 19, 2007, 02:40:20 PM »

I am not sure whether this posting goes in the software or mechanical area.  At the site
There is a hex file to dowload to use for centering the servo motor.

Could someone send me the (C)  source code used to make that hex file?  It may confirm my understanding of what I intend to do with LabVIEW (a virtual instrument application to handle I/O)

I will be controlling the robot initially via a LabVIEW application to emulate the microcontroller via an "umbilical" line that plugs into the DIP socket (instead of hosting the microcontroller).

As far as I can understand, one only needs to send 1.5 ms pulses every 20 ms for the HS311 servo, in order to center it for modification.  It should be possible to use LabVIEW to provide the necessary control signal for centering. 

Also, I presume (hope) the control signal for the servo is low current.  I searched for HS311 specs and found reference to 160mA for no load current, but nothing about signal current. 

I would appreacaite any clarification.

Peter Spasov

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Robot Servo Interfacing
« Reply #1 on: October 01, 2007, 12:59:46 PM »
You suspect right. That hex file was generated from the $50 robot code, all I did was have it ignore sensors and just send that pulse to the digital outputs.

Im not sure what the required signal line current is . . . check the datasheet, it should be in there. Its really really small, so I suspect you wouldnt need to worry about it (since a microcontroller has no problems with it).


Get Your Ad Here