This project is presented for the experimentation on the interfacing of an electronic device which communicates with a computer through the serial port.
Previously success has been obtained in applying the idea of ranging mechanically without any computer.
For calculating the height of any object the angles are measured by the serial device itself which remain attached to the computer’s serial port.
This serial device can calculate the angles subtended by the object’s length quite accurately. To calculate the angle the computer calculates the rotation of a shaft driven by a gear train.
By using the gear train we have been able to magnify an angular rotation of 1 degree to 7.5 degrees.
Using these angles we can then calculate the height of the object.
This device with a computer can be used to measure
the height and can also be used for measuring the under water heights. One of
the major advantages of this device is that it can be used at night as well.
Console view of the software written in c for the system
Few more pictures:





