359 |
kaklik |
1 |
/****************************************************************************
|
|
|
2 |
Title : SRF08 RANGING MODULE FUNCTIONS library
|
|
|
3 |
Author: Chris Efstathiou hendrix@otenet.gr
|
|
|
4 |
Date: 13/Jul/2002
|
|
|
5 |
Software: AVR-GCC with AVR-AS
|
|
|
6 |
Target: any AVR device
|
|
|
7 |
Info: This code is FREE. There are no copyright issues with this code.
|
|
|
8 |
|
|
|
9 |
*****************************************************************************/
|
|
|
10 |
|
|
|
11 |
I use it to drive the SRF08 ultrasonic ranging module
|
|
|
12 |
for use with Free Fall night parachute landing
|
|
|
13 |
where i MUST know the distance from ground in order to land safely.
|
|
|
14 |
Infrared goggles gives you an idea about the drop zone
|
|
|
15 |
but you cannot judje the precise distance from the ground due to
|
|
|
16 |
optics distortion.
|
|
|
17 |
For programming example see the SRF08 module code.
|
|
|
18 |
|
|
|
19 |
CAUTION: THIS IS A TEST PROGRAM. DO NOT USE IT FOR PARACHUTE LANDING!!!
|
|
|
20 |
There are too many thing missing from the code like
|
|
|
21 |
audio and visual alerts, height averaging, variable gain,
|
|
|
22 |
variable range settings and many other safety features
|
|
|
23 |
needed to make it suitable for this task!
|
|
|
24 |
I can experiment because it is my life!
|
|
|
25 |
Its only purpose is to give an idea of how to use the driver code.
|
|
|
26 |
|
|
|
27 |
I hope it can help someone.
|
|
|
28 |
Chris.
|