Measurement System

The device comprised of several components including an Infrared sensor and an Arduino Uno. A mechanical setup consisting of a sliding wall, stopper block, base and sensor wall was built.

The sensor used was a sharp 2d120x infrared proximity sensor which transmits infrared waves from an IR light emitting diode. The transmitted wave is reflected if there's an object within the sensor's range and detected by a light dependent resistor and outputs a sensor value (integer value mapped from 0 - 5v to 0 - 1024 units). The Arduino and computer acted as the signal modification systems which took the raw values of the infrared sensor and converted it to a displacement measurements. The computer was also used as the indicator to display the distance.

Measuring the length of the object

The object was placed on the platform of the device and the slider adjusted so that the object fitted between the slider and stopper block. The infrared sensor measured a value corresponding to the distance between the sensor, which was then read by the Arduino and processed by a script written in Python Programming Language. The program used the converted the sensor value to distance measurement based on function generated during calibration and was displayed on the screen.

Built With

Share this project:

Updates