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 / 7667
7666  |  7668
Subject: 
Sonar
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Sun, 26 Mar 2000 15:14:23 GMT
Viewed: 
1721 times
  
Hi

I've a Polaroid Sonar Ranging Modul. The longest distance I can mesaure is
about 2,7 meters.
In my opinion it's not the hardware, but as the result is an integer, so it
can't be greater than 32768. Right?
Has anybody developed another programm, to measure longer distances?

Thanks

Martin



Message has 3 Replies:
  Re: Sonar
 
(...) That sounds correct. Someone else asked about that last year. Try searching the mailing list archives. The problem is not just that the result is an integer, but that it's a signed integer. You effectively only get 15 bits of information out (...) (24 years ago, 26-Mar-00, to lugnet.robotics.handyboard)
  Re: Sonar
 
(...) Martin, I noticed a similar result as well. Maybe someone else can say for sure, but I seem to remember that there may be a way to slow down your interrupt counter, so that it won't overflow (a timer setup register). I don't have my 'HC11 book (...) (24 years ago, 26-Mar-00, to lugnet.robotics.handyboard)
  Re: Sonar
 
The hardware is limited to 31.5' (~ 10 meters). The limitation is on the design of the receive amplifier's gain module (and noise floor). Generally scaling this to an integer of 32767 results in a precision of just over 1 tenth of an inch (or 1/3 (...) (24 years ago, 26-Mar-00, to lugnet.robotics.handyboard)

4 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