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 / 5876
5875  |  5877
Subject: 
Sonar Recentering Question
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Mon, 22 Mar 1999 18:24:45 GMT
Original-From: 
rmtmd <rmtmd@AVOIDSPAMconcentric.net>
Viewed: 
799 times
  
I've rigged up a rotating cage holding the Polaroid 6500 transducer at
the front of one of my bots.  Every time I turn on the handy board, I'd
like the software to begin by centering the transducer facing forward.

I've rigged a micro motor to a bevel gear to drive the rotating sonar.
The motor's axle passes through the Lego angle sensor.  The problem is
that whenever the handy board is switched off, lego3_counts is reset to
0, even if the sonar transducer is not facing directly forward.
Persistent globals won't help, since they, too, are reinitialized when
the handy board is switched on or the code is reloaded.

My bot is heavy enough already.  I'm loathe to add mechanical limit
sensors to what is already a kludgy first attempt to get the whole thing
working.

Any thoughts?



Ross M. Tonkens, M.D.
Medical Director
Primary Care of Nevada
100 North Green Valley Parkway
Suite 240
Henderson, NV 89014

702 914-7120  VOICE
702 914-7129  FAX



Message has 1 Reply:
  RE: Sonar Recentering Question
 
Just a suggestion but you could mount a Hall effect sensor somewhere near a rotating rounded part on the cage and glue a small piece of magnet to the rounded part. You could look for the pulse on a digital input. This way it would not add much (...) (26 years ago, 22-Mar-99, to lugnet.robotics.handyboard)

2 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