Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Group:
Khurram Farooq (Q445890)
Sajeel Akram (Q445871)
M.Asif Haroon
(Q445924)
Faisal Satar (Q445855)
Yasir Iftikhar (Q445841)
Project Name:
Distance or Target Measurement
using Laser
What is Laser?
A laser is a device that emits light through a process
called stimulated emission.
Parallel Port
LASER
Transmitter
And Target
Receiver
System Description
We use high speed counter RDTSC (Read-Time
Stamp Counter) from the computer processor
to calculate the time.
This measured time is called time of flight and
used in calculation of distance, time divided
by 2.
RDTSC is a 64 bit counter.
RDTSC
How the Time-Stamp Counter Works?
Distance formula:
S=V T/2
Here
S=Distance
V=Velocity
T=Time of flight
Schematic Diagram
Algorithm
Main part of our program is in Inline
assembly using 32bit assembler ‘YASM’.
Time calculations are in C++ using
Turbo C++ software.
Program start , Call RDTSC (timing start)
a bit transmit via parallel port with the
help of laser pointer , wait for receive,
when bit is received via parallel port
Call RDTSC (timing stop)
Using this time interval between start
and stop time, calculate Distance
Benefits
Records Measurements
More Accurate
Safer
Quicker Measuring
Long Distance
Basic Calculations Built-in
Illuminated
Versatile
Automatic
Compact
Thank You Sir