摘要
结合职业院校中单片机技术课程实训与科学研究的需要,针对基于单片机的智能超声波测距仪产品的实际需求,使用C51语言设计了该产品的软件程序,并给出了C51程序的主要源代码。实践证明,该产品软件采用模块化结构设计,占用资源少、运算速度快,有良好的可移植性,能与产品硬件配合较好地实现智能测距的功能。
Combined with the needs of practical training and scientific research of MCU courses in vocational colleges,aiming at the actual demand of intelligent ultrasonic rangefinder based on MCU,the software program of the product is designed using C51 language and the main source code of C51 program is given.Practice has proved that the product software adopts modular structure design,occupies less resources,fast computing speed,has good portability,and it can cooperate with the product hardware to better realize the function of intelligent ranging.
作者
王晗
尤建祥
刘维生
王辉
WANG Han;YOU Jianxiang;LIU Weisheng;WANG Hui(Panjin City Petrochemical Mechanic School,Panjin 124000,China;Panjin Vocational and Technology College,Panjin 124000,China)
出处
《电工技术》
2021年第12期13-14,17,共3页
Electric Engineering