To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 5342
5341  |  5343
Subject: 
Re: Problems with servo function
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Wed, 3 Feb 1999 23:36:12 GMT
Original-From: 
Will Bain <{willbain@cs.}nomorespam{umt.edu}>
Viewed: 
1091 times
  
Robert J. Kelly wrote:

So I got an HB from Pat Hui, and it seems to work fine. I've been able
to write a program that will vary a beep tone and print variable
values for light intensity and tone value (my first program!). It uses
for now, eight duracels in the supplied battery case.

My problem seems to be the servo function. I've wired a Futaba 148 as
per instructions and loaded servo.icb and servo.c. there are no other
programs loaded. I am running IC ver 3.2, though the screen still
prints ver 3.1(?). I have initialized the servo function by typing
"servo_on()" at the IC prompt. I can't seem to get any activity
through the servo using  interactive commands such as "servo(1550)" or
"servo_deg(45.0)", agin, at the IC prompt. When I run these commands,
I do get a value returned occasionally from the board though with no
servo activity. More likely I get an error message - "Board not
responding to 119 (w) command".

If you're trying to use the servo.c and servo.icb that came with the
Interactive C distribution, therein lies your problem.  I think those
routines are designed strictly for the MIT 6.270 controller board, not
for the HB (if I'm wrong about this, somebody please correct me).  For
instructions on how to run one or two servos from the HB, check out the
HB web site.  I tried it with my HB from Mr. Hui, and it worked great.
Make sure you provide the correct voltage to the servos since the HB
voltage might fry 'em  ;-]

-- Will
                                          , ,
        __@_/             \_@__           |/
          |                /__,           o             @_/
          )\              )              ( \            (\/\\,
~~~~~~~~~ ' ` ~~~~~~~~~~~ ` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Wendy Parson,             The fellow who agrees with everything you say
Will Bain,                      is either a fool or he is getting ready
& Tatoosh                                   to skin you.  --Kin Hubbard



Message is in Reply To:
  Problems with servo function
 
Hi all, I'm new to the list, handyboards, IC, and robotics, but I'm not totally clueless so bear with me... So I got an HB from Pat Hui, and it seems to work fine. I've been able to write a program that will vary a beep tone and print variable (...) (26 years ago, 3-Feb-99, to lugnet.robotics.handyboard)

3 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR