- 1、本文档共26页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于单片控制的循迹小车设计
摘 要
本循迹小车采用现在较为流行的8位单片机作为系统大脑,以STC89C52单片机为控制核心。用其控制行进中的小车,以实现其既定的性能指标。充分分析我们的系统,其关键在于实现小车的自动控制,而在这一点上,单片机就显现出来它的优势控制简单、方便、快捷。40脚的DIP封装使它拥有32个完全IO(GPIO-通用输入输出)端口,通过这些端口加以信号输入电路,将各传感器的信号传至单片机分析处理,从而控制L293D电机驱动,控制小车。利用红外对管检测黑线,通过循迹模块里的红外对管是否寻到黑线产生的电平信号返回到单片机红外对管来实现循迹功能。单片机根据程序设计的要求做出相应的判断送给电机驱动模块。让小车来实现前进,左转,右转,停车等基本功能。集成红外线传感器即光电开关进行避障。整个系统的电路结构简单,可靠性能高。根据小车各部分功能,分析硬件电路,并调试电路。将调试成功的各个模块逐个地融合成整体,再进行软件编程调试,直至完成。
关键词:循迹小车 STC89C52单片机 红外对管 L293D电机驱动
Abstract
This tracking car adopts the now popular 8-bit single chip microcomputer as the system of the brain, with the STC89C52 single-chip microcomputer as the core. To control the traveling car with it, in order to realize the given performance index. Full analysis of our system, the key is to achieve the automatic control cars, but at this point, single-chip microcomputer control will show its advantage is simple, convenient and fast. 40 feet DIP package makes it has 32 completely IO (GPIO - general input/output port, signal input circuit, through these ports will transmit the signals to single chip microcomputer analysis of each sensor to control L293D motor drive and control the car. The use of infrared for detecting tube black line, through infrared tracking module for tube whether find level signal produced by the black thread returns to the SCM infrared tube to realize tracking function. SCM according to the requirement of the program design make the corresponding judgment for motor driver module. Let the car to achieve forward, turn left, turn right, the basic function such as parking. Integrated infrared sensor photoelectric switch for obstacle avoidance. The circuit of the whole system structure is simple, reliable performance is high. According to the function of car parts, analyze the hardware circuit, and debug the circuit. Debugging success of each module individually merged into a whole, and then software programming and debugging, until completion.
KEY WORDS: STC89C52 dc motor infrared sensors
您可能关注的文档
- 国外先进准来源.doc
- 国外国内名牌大学的公开课视频链接.doc
- 国产好用化妆品.doc
- 国家大剧屋面分部玻璃安装方案.doc
- 国家大剧原创话剧《王府井》.doc
- 国内乡村游度假发展模式及典型案例.docx
- 国内品牌装排行榜.doc
- 国家大剧节目安排.doc
- 国家大剧总造价.docx
- 国家环境护模范城市标准解读.doc
- 2024年苏教版三年级上册数学期末培优附答案 .pdf
- 2024年电大本科市场营销学作业考试答案.pdf
- 2024河南高考古诗文 .pdf
- 2024年高考生物一轮复习讲练测(新教材新高考)第12讲 细胞的增殖(练习.pdf
- 2024年秋季小学六年级班主任工作计划(五篇) .pdf
- 2024年第二期CCAA国家注册能源管理体系审核员基础知识模拟试题含解析完整版720874567.pdf
- 2024必威体育精装版国家开放大学(电大)《建设监理》期末题库(含答案).pdf
- 2024部编版六年级上册道德与法治期末测试卷及答案(全国真题)完整版.pdf
- 2024高考语文考前冲刺模拟卷(五)试卷及答案解析 .pdf
- 2024年苏教版六年级科学上册期末考试题(及答案) .pdf
文档评论(0)