基于STM32和US-100的超声波测距仪设计摘要:结合嵌入式处理器STM32F103与超声波传感器设计的一种简易的智能超声波测距仪装置,采用ARM内核芯片STM32F103ZET6的32位嵌入式微处理器与带有温度补偿的US-100超声波测距模块实现声波测距
STM32的串口资源相当丰富,能提供5路串口,通过微处理器的串口实现实时显示和TFTLCD显示距离等参数
US-100带有温度传感器,对超声波的声速进行补偿,提高测量精度
关键词:STM32F103;US-100;超声波测距;TFTLCD显示DesignofUltrasonicDistanceMeasurementBasedonSTM32AndUS-100Abstract:CombinedwiththeembeddedmicroprocessorSTM32F103andultrasonicsensordesignasimpleintelligentultrasonicrangefinderdevices,usingARMkernelchipSTM32F103ZET632-bitembeddedmicrocontrollerprocessorwithtemperaturecompensationofUS-100ultrasonicrangingmoduleimplementssoundranging
STM32serialportresourcesrichinserialportcanprovide5road,throughtheserialportofthemicroprocessortoachievereal-timedisplayandTFTLCDparameterssuchasdistance
US-100withatemperaturesensor,tocompensatethevelocityofultras