下载后可任意编辑超声波测距离课程设计12024 年 4 月 19 日下载后可任意编辑湖南文理学院课程设计报告课程名称: 单片机原理及应用课程设计 院 系: 电气与信息工程学院 专业班级: 自动化 11102 班( 30 位 ) 学生姓名: 袁 新 淼 指导老师: 王 丽 娟 完成时间: 6 月 13 日 报告成绩: II2024 年 4 月 19 日评阅意见:评阅老师 日期 下载后可任意编辑摘 要超声波是一种特别的声波,一般以直线传播方式,频率越低,绕射能力越强,发射能力越强,在非接触式测量中应用非常广泛。本文利用超声波进行距离测量,测量精度在毫米级别,适用于近距离测距,也可运用于汽车防撞。本系统以 STC89C52 为核心处理芯片,经过 STC89C52 产生 40kHz 频率信号,经 74LS04 推挽式将发射功率放大,再利用超声波换能器 TCT40-16T产生超声波信号并发送出去,接收电路由 TCT40-16R 接收超声波,再利用红外 线 检 波 接 收 专 用 芯 片 CX 6 将 接 收 到 的 超 声 波 信 号 处 理 , 并 连 接STC89C52 微处理器,同时引入温度测量芯片 DS18B20 对测量的距离进行温度补偿,提高测量精度,微处理器经过计算得到与障碍物的距离,将测得的距离经过 JXD1602A 液晶显示。III2024 年 4 月 19 日下载后可任意编辑关键词 STC89C52RC;推挽式;红外线检波;温度补偿;IV2024 年 4 月 19 日下载后可任意编辑AbstractUltrasound is a special kind of sound waves, usually in a straight line, the lower the frequency, the diffraction is stronger, and launch capabilities, and is widely used in non-contact measurement. In this paper, ultrasonic distance measurement, the measurement accuracy in the millimeter level, applies to close-ranging, can also be applied to a car crash. This system STC89C52 core processing chip to produce 40kHz frequency signal STC89C52 by 74LS04 push-pull transmission power amplification, and then use the ultrasonic transducer TCT40-16T generated ultrasonic signal is sent, the receiving circuit receiving ultrasound by TCT40-16R, then the use of infrared detector to receive special chip CX ...