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 / 1722
1721  |  1723
Subject: 
Re: Sonar and the handyboard
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Thu, 20 Mar 1997 05:36:24 GMT
Original-From: 
Adam <adam@ring.zenox.comAVOIDSPAM>
Viewed: 
1612 times
  
Keith,

On the ftp site under ???/contrib/kent/sonar there should be a file
called sonartst.c  This file tests the unit goven that you've included
sonar.icb in the initial loading of library files.  The file simply
calls the ping(0) routine then waits for suggested msleep(35L), then
printf("inches=%d",sonar_time/150) To get feet just do the calculation
from inches.

Hope this helps.


On Mon, 17 Mar 1997, Keith the wonder wookie wrote:

I just bought the Polaroid sonar unit and I need to test it.  I have
downloaded the sonar drivers and hookup instructions from the FTP site but
I need some help.  I want to write a small program that will take a sonar
reading and display the distance in feet on the LCD.  I have no IC
programing experience so need some help in writing the program.  If anyone
can help I would appreciate it.  Thanks.

Keith

Keith Soldavin
kas219@email.psu.edu
http://www.personal.psu.edu/users/k/a/kas219/




Message has 1 Reply:
  Re: Sonar and the handyboard
 
Hi, with all this talk of sonar, I thought I finally get to hooking mine up. All I get is 8". If I unplug it, I get 0". I'd swear I have it hooked up right. Someone sent out a mail earlier this week, and I had mine hooked up just like it said. I (...) (28 years ago, 20-Mar-97, to lugnet.robotics.handyboard)

Message is in Reply To:
  Sonar and the handyboard
 
I just bought the Polaroid sonar unit and I need to test it. I have downloaded the sonar drivers and hookup instructions from the FTP site but I need some help. I want to write a small program that will take a sonar reading and display the distance (...) (28 years ago, 17-Mar-97, to lugnet.robotics.handyboard)

15 Messages in This Thread:





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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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