Subject:
|
sonar and overflow
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Fri, 30 Jun 2000 03:07:32 GMT
|
Original-From:
|
Adam Oliver <oli@wantree.com/ihatespam/.au>
|
Viewed:
|
965 times
|
| |
| |
Greetings all,
Has anyone managed to work out some code which checks the overflow bit for the
counter used in the polaroid sonar code? At the moment mine distance readings
seem to be maxing out around 1.5m or so, and I'm not sure if it's the timer
running out or if it's my circuit not having enough gain to receive a signal
from further than that.
I've had two conflicting answers with regards to the maximum time that can be
measured - one which says about 1.5m and another which says somewhere closer to
8-10m.
Can anyone (Fred?) give me an answer?
Thanks for your help,
Adam
--
MIME ATTACHMENTS DISCARDED:
1. Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Length: 1272
|
|
Message has 1 Reply: | | Re: sonar and overflow
|
| Hi I think that the longest distance your able to measure is about 2.7m. The counter is 16 bit long and has no sign. But the integer is has a sign, so you can only use 15 bits, which is 32768. The counter increases each 0.5ns (pink book). Sound (...) (24 years ago, 30-Jun-00, to lugnet.robotics.handyboard)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|