Digital height meter using ultrasonic sensor
Main Article Content
Abstract
Introduction: Typical height measurement is to read from scale at the level of observer’s eyes. An error occurs from reading and estimation. Another way is using commercial automatic height meter but quite expensive. Nowadays, Arduino microcontroller board and sensors have been developed and provided an easy way to build a simple, accurate, and cheap a measuring device.
Objectives: To design and create a digital height meter that provides an accurate and precise measurement. The digital height meter was measured using ultrasonic sensor with Arduino board. Temperature sensor was added to the circuit to take account on changes of temperature affecting the accuracy of measures. Height of subject was digitally displayed on LCD display.
Materials and methods: The first step was to design the circuit and connect ultrasonic sensor and other electronics parts to Arduino board. Equation and code were complied with microcontroller. Efficiency and assessment of the assembled height meter was performed. Height measures were then compared between typical method and the digital height meter.
Results: The result showed that efficiency of ultrasonic sensor has an error of 0.6-1.0% for the measurement range of 2-200 cm. Comparison result of three measurement methods, typical measurement, digital height meter with a cardboard, and a digital height meter showed that there was a significant difference between typical height measurement and height meter (p=0.017) with measurement error of 4.0%. However, measurement using height meter with a cardboard has an error of 1.0% and was not different from typical method (p=0.793). After improvement of equation, the results showed that efficient of digital height meter was increased by 2.0%.
Conclusion: This digital height meter is easy to construct and cheap. It provides touchless and fast technique to measure height. However, precision and accuracy of the digital height meter depend on performance of the ultrasonic sensor. The more accurate ultrasonic sensor is more expensive. Adding temperature sensor helps to enhance accuracy of measurement. In addition, angle of reflection of the sensor affects accuracy of the measurement.
Article Details
Personal views expressed by the contributors in their articles are not necessarily those of the Journal of Associated Medical Sciences, Faculty of Associated Medical Sciences, Chiang Mai University.
References
2. Prabha M, Seema M, Saraswathi P, editors. Distance based Accident Avoidance System using Arduino. International Research Journal of Engineering and Technology (IRJET) 2015.
3. Mustapha B, Zayegh A, Begg RK. Ultrasonic and Infrared Sensors Performance in a Wireless Obstacle Detection System. First International Conference on Artificial Intelligence, Modelling & Simulation; Washington, DC, USA: IEEE Computer Society Washington, DC, USA ©2013; 2013. p. 487-92.
4. Marathe R, Kulkarni A, Devkar U. Portable automatic height detector. International Journal of Science, Engineering and Technology Research (IJSETR). 2014; 3(10): 2693-8.
5. Awikunprasert P, Wayopat O, Wongke T, Charnnuwong T, Hanpanich P, Awikunprasert C. Performance of Infrared Sensor and Ultrasonic Sensor for Medical Applications. Srinakharinwirot Science Journal. 2017; 33(1): 31-41.
6. Technologies C. Product User’s Manual-HC-SR04 Ultrasonic Sensor [datasheet]. Cytron Technologies; 2013 [updated May 2013; cited 2016 May 22]. Available from: https://www.cytron.com.my/p-sn-hc-sr04.