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 / 5737
5736  |  5738
Subject: 
Re: Sharp GP2D02 code available
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Thu, 4 Mar 1999 18:24:11 GMT
Original-From: 
Thomas Hauri <har@/nospam/zhwin.ch>
Viewed: 
1155 times
  
Thanks Barry, great work.

I do have one little question:
As I read the data sheet of the GP2D02 (
http://www.sharpsma.com/products/opto/pdf/gp2d02.pdf )
I saw some timing specifications that i think are not taken care of in your
software. Please correct me if I'm wrong.
The timing chart shows the reading of the data with a pulse length of 0.2ms or
less, but the whole reading sequence needs to bee longer than 1ms. Therefor the
highpulses and the lowpulses must not be shorter than 67us. As far as I found
out analyzing your software (I counted the cpu cycles of the software part the
reads the 8 bit distance) reading each bit takes about 50us. The highpulse being
not longer than 10us lets the low pulse be around 40us. Both pulsewidth are
shorter than the pulsewidth recommended in Sharps timing chart.
Now either I'm reading the chart wrong or you are lucky :)) to get those sensors
running.
Please tell me who makes the mistake.

I will be writing a driver for 8 sensores. Therefor I'd like to know if all
sensors work with your software.

Thanks a lot for your effort and your help.

Tom



--
Thomas Hauri
ZHW Zuercher Hochschule Winterthur
University of applied sciences
Technikumstr.9 /PF
CH-8401 Winterthur
Switzerland

Phone : +41 52 267 74 79
Fax    :  +41 52 268 74 79
Mail  :   har@zhwin.ch
HP    :   http://www.zhwin.ch



Message is in Reply To:
  Sharp GP2D02 code available
 
Hi, I just posted a short tutorial and software to use the Sharp GP2D02 infrared ranging sensor with the Handy Board. This sensor is very small, relatively cheap (about $21) and gives an accurate distance reading for objects that are between 10cm (...) (26 years ago, 3-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