Design and Implementation of Serial Port Ultrasonic Distance Measurement System Based on STC12
- DOI
- 10.2991/icemc-16.2016.30How to use a DOI?
- Keywords
- Ultrasonic distance measurement; STC12C5A60S2; Serial port
- Abstract
According to the principle of ultrasonic distance measurement, a kind of ultrasonic distance measurement system with low blind area, low power consumption, high precision and small size is designed and realized in the light of the influence of temperature and air flow. STC12C5A60S2 high performance microcontroller is the main control, improve the overall performance of the system, using DS18B20 as the temperature compensation to improve the accuracy of measurement. In addition, the proposed in ultrasonic ranging module probe are connected according to the echo measurements were carried out, according to the different temperature value to calculate the distance, the measured results of the conversion to digital quantity, and MCU through the serial port for connection method to realize ranging. The hardware circuit is designed and the software is programmed. Test results show that: in the wall, glass, liquid surface and other smooth material conditions, the measurement accuracy is less than one millimeters, the ultrasonic ranging system has the advantages of high precision, low cost, convenient installation and so on. It suitable for high precision measurement in short range ranging.
- Copyright
- © 2016, the Authors. Published by Atlantis Press.
- Open Access
- This is an open access article distributed under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).
Cite this article
TY - CONF AU - Jian Huang PY - 2016/05 DA - 2016/05 TI - Design and Implementation of Serial Port Ultrasonic Distance Measurement System Based on STC12 BT - Proceedings of the 2016 International Conference on Education, Management and Computer Science PB - Atlantis Press SP - 145 EP - 149 SN - 1951-6851 UR - https://doi.org/10.2991/icemc-16.2016.30 DO - 10.2991/icemc-16.2016.30 ID - Huang2016/05 ER -