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 / 857
856  |  858
Subject: 
17 feet
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Sat, 26 Oct 1996 03:51:40 GMT
Original-From: 
Randy Sargent <rsargent@newtonlabs*StopSpammers*.com>
Viewed: 
1572 times
  
Well, I haven't looked at the sonar routines, but my guess is that 17 feet
round trip at around 1ms / foot each way is close to 32.768 ms, which is
when the 16 bit timer in the 6811 overflows (the 6811 clocks the 16-bit
counter at 2 Mhz).

One idea is to measure the number of milliseconds that have passed to the
nearest multiple of 32.768 ms, and add that to the reading.

-- Randy



1 Message 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