基于单片机的超声波汽车防撞设计.docx

  1. 1、本文档共55页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
PAGE PAGE # 基于单片机的超声波汽车防撞设计 学生姓名: 学生学号: 院(系): 电气信息工程学院 年级专业: 指导教师: 助理指导教师: 二?一五年五月 PAGE PAGE # 摘要 随着工业的发展,出现越来越多的代步工具,但随之而来的交通事故也越 来越多。本系统是为汽车设计的防止汽车在行驶过程中出现碰撞的系统,通过 对硬件和软件的设计达到汽车防撞的目的。 本系统的硬件包括数据采集、 按键控制、 四位数码管显示、 报警等子模块。 软件部分主要根据设计流程设计出子程序和主程序流图。 并通过单片 STC89C52 实现相应的编程要求。 STC89C5是STC系列单片机里应用比较广泛的一款,在自动控制领域里享 有很高的价值,以其易用性和多功能性受到了广大电子设计爱好者的好评。本 次设计主要是利用STC89C5单片机、超声波传感器完成测距报警系统的制作, 以STC89C52为主控芯片,利用超声波对距离的检测,将前方物体的距离探测 出来,然后单片机处理运算,与设定的报警距离值进行比较判断,当测得距离 小于设定值时,STC89C5发出指令控制蜂鸣器报警。 关键词 超声波传感器 , STC89C52 , LED ABSTRACT This system is designed for cars to prevent the car in the process of moving the collisionsystem, to achieve the purpose of automobile collision avoidance through the design ofhardware and software. The system hardware includes data acquisition, control buttons, four digital tube display, alarm module. The main part of the software according to the designprocess to design the subroutine and the main program flow chart. And the realization of the corresponding programming through the MCU STC89C52 requirements. STC89C52 STC series is widely used in a, in the automatic control field has the very highvalue, with its ease of use and versatility by the majority of electronic design enthusiasts. This design is mainly made of ranging alarm system using STC89C52 microcontroller, ultrasonic sensor, using STC89C52 as main control chip, the detection distance by ultrasonic, will detectobjects in front of the distance, then the SCM processing, and set the alarm distance to compare the value of judgment, when the measured distance is less than the set value,STC89C52 send commands to control the buzzer alarm. Key words ultrasonic sensor , STC89C52,LED PAGE PAGE # 目录 TOC \o "1-5" \h \z 摘 要 I \o "Current Document" ABSTRACT II \o "Current Document" 绪论 1 \o "Current Document" 课题背景与研究意义 1 \o "Current Document" 本课题发展趋势 1 \o "Current Document" 系统方案设计与选择 3 \o "Current Document" 方案选择 3 \o "Current Document" 方案论证 4 \o "Current Docu

文档评论(0)

kunpengchaoyue + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档