摘要:课本题设计主要是制作一款能进行无线传输的测距测温仪器。测距仪器具有以下几个功能:超声波测距功能;数据无线传输功能;温度测量功能。作品既可以对利用单片机开发具有实用功能的器件进行剖析,也可以作为开拓开发更有利于人们使用的测量仪器的道路,同时可成为大学生学习单片机控制系统的应用实例。
作品以超声波测距模块作为主要的功能模块,通过各类传感器件来采集各类信息,送入主控单元STC12C5410AD单片机,处理数据后完成相应操作,以达到自身控制。超声波测距模块采用HC-SR04超声波测距模块;无线传输数据采用TR24_2.4G模块完成,温度测量采用热敏电阻来完成;最后由控制单元处理数据后通过C语言控制程序有序合理的将各模块信号整合在一起并完成相应操作,达到了利用单片机控制来实现无线测距测温的功能。
关键词:单片机;超声波;NTC热敏电阻;测距;无线
ABSTRACT:Textbook tile design is the production of a wireless transmission ranging thermometer.Rangefinders has the following features:ultrasonic distance measurement function;data wire less transmission function;temperature measurement function.Works both to analyze the practical feature of the device to the microcontroller development can also serve as pioneering the road of development more conductive to people to use measuring instruments,while college students to learn the control system are application examples.
Works as a major functional modules,ultrasonic ranging module to collect all kinds of information through various sensors,into the master unit STC125410AD MCU processing the data to complete the action in order to achieve their own control.Ultrasonic Ranging Module HC-SR04 ultrasonic ranging module;wireless transmistor;C language control program by the control unit to process data through an orderly and reasonable for each module signals together and complete the action,to the use of single-chip control to achieve the temperature of the functions of wireless ranging.
Key words:MCU; Ultrasonic;NTC thermistors;Distance measurement; Wireless