Society of Robots - Robot Forum

Software => Software => Topic started by: pspasov on September 19, 2007, 02:40:20 PM

Title: Robot Servo Interfacing
Post by: pspasov on September 19, 2007, 02:40:20 PM
Hi:

I am not sure whether this posting goes in the software or mechanical area.  At the site http://www.societyofrobots.com/actuators_modifyservo.shtml
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.
Thanks

Peter Spasov

Title: Re: Robot Servo Interfacing
Post by: Admin 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).