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

基于AT89C52单片机的超声波测距器设计
引用本文:周功明,周陈琛.基于AT89C52单片机的超声波测距器设计[J].绵阳师范学院学报,2008,27(8).
作者姓名:周功明  周陈琛
作者单位:1. 绵阳师范学院物理与电子工程学院,四川绵阳,621000
2. 汕头大学工学院电子系,广东汕头,515000
摘    要:目前国内超声波测距器的设计大多采用汇编语言设计。由于单片机应用系统的日趋复杂。要求所写的代码规范化,模块化,并便于多人以软件工程的形式进行协同开发,汇编语言作为传统的单片机应用系统的编程语言,已经不能满足这样的实际需要了,而C语言以其结构化和能产生高效代码满足了这样的需求,成为电子工程师进行单片机系统编程时的首先编程语言。本设计就是一种基于AT89C52单片机、采用C语言和汇编语言混合编程来实现的超声波测距器。该文较详细地论述了采用单片机技术研制而成的泊车用超声波测距仪的基本原理。测量计算方法,实现方案。使用它,可以极大的提高泊车时的安全性。

关 键 词:单片机AT89C52  超声波传感器  测距

Design of Ultrasonic Range Finder Based on AT89C52
ZHOU Gong-ming,ZHOU Chen-chen.Design of Ultrasonic Range Finder Based on AT89C52[J].Journal of Mianyang Normal University,2008,27(8).
Authors:ZHOU Gong-ming  ZHOU Chen-chen
Abstract:Assembly language is used for designing most of the domestic ultrasonic range.Singlechip is employed because of the increasingly complex system requiring written code to be standardized,modularized,and to facilitate people to software engineering in the form of cooperative development.So,assembly language as a traditional programming language for singlechip system can no longer meet the actual need,while C language and its structure can produce efficient code to meet the need of electronic engineers as the first programming language in singlechip system programming.This design is based on singlechip AT89C52 mixed with C and assembly language programming to realize ultrasonic range-finding.This technique can greatly help to increase the safety of parking.
Keywords:singlechip AT89C52  ultrasonic sensor  range-finding
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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