首页 | 本学科首页   官方微博 | 高级检索  
     

ATmega16的语音型超声波测距仪的设计
引用本文:何乃味.ATmega16的语音型超声波测距仪的设计[J].单片机与嵌入式系统应用,2012,12(12):64-67.
作者姓名:何乃味
作者单位:柳州职业技术学院,柳州,545005
基金项目:2010年柳州职业技术学院教学质量与教学改革工程第三批立项项目
摘    要:介绍一种以单片机ATmega16为核心的超声波测距仪。该测距仪利用单片机ATmega16的输入捕获功能,测量超声波从发射探头发射至接收探头接收所经过的时间;采用DS18820测量环境温度,补偿温度的变化对超声波传播速度的影响,提高测量精度;利用语音芯片ISD4004播报测量结果等语音信息。给出了测距仪的关键硬件电路、测量时间的输入捕获中断子程序和录音/放音子程序。测试结果表明,该测距仪测量精度高,语音播报清晰、流畅。

关 键 词:单片机  超声波测距  语音芯片  温度补偿

Voice Type Ultrasonic Range Finder Based on ATmega16
He Naiwei.Voice Type Ultrasonic Range Finder Based on ATmega16[J].Microcontrollers & Embedded Systems,2012,12(12):64-67.
Authors:He Naiwei
Affiliation:He Naiwei(Liuzhou Vocational &Technical College,Liuzhou 545005,China)
Abstract:An ultrasonic range finder using MCU ATmega16 as the core is introduced. The system uses the input capture function of MCU ATmega16 to measure the time which ultrasound travels from sending probe to receiving probe, utilizes DS18B20 to measure am blent temperature so as to compensate for the temperature influence of ultrasound velocity and improve the range measurement accuracy, and voice chip ISD4004 is used to broadcast voice information such as measurement results. Key hardware circuits, the input capture in- terrupt subroutine for time measurement and subroutine for voice playing/recording are given. Test results show that the range finder has high accuracy and the voice broadcast is clear and smooth.
Keywords:MCU  ultrasonic range measurement  voice chip  temperature compensation
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号