本科毕业设计--遥控小车控制系统的设计

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

本科毕业设计

遥控小车控制系统的设计

摘要

智能作为现代的新发明,是以后的发展方向,它可以按照预先设定的模式在一个环境里自动的运作,不需要人为的管理,可应用于科学勘探等等的用途。智能电动车就是其中的一个体现。智能遥控技术是指实现对被控目标的遥远控制,在工业控制、航空航天、家电领域应用广泛。而红外遥控也是一种无线、非接触控制技术,但是由于它具有抗干扰能力强,信息传输可靠,功耗低,成本低,易实现等显著优点,因此被诸多电子设备特别是家用电器广泛采用,并越来越多的应用到计算机系统中。

本文介绍了基于红外遥控技术的遥控小车控制系统,以STC89C52RC单片机为核心,利用红外遥控器来控制小车的运行方向和速度。系统的硬件部分主要由单片机最小系统模块、红外发射端的独立式键盘电路、红外发射电路、红外接收端的红外接收电路、控制电路等组成。软件部分使用C语言编程,由红外发射端的主程序、键盘扫描子程序、

红外编码子程序、红外接收端的主程序、红外解码子程序、小车控制子程序等组成。当独立式键盘有按键按下时,单片机扫描并确认是哪一个键按下,并将键对应的操作编码后通过红外发射电路发射出去,红外接收电路接收到操作码后,单片机对其进行解码,并将码对应的操作交予控制电路,电机、指示灯开始工作,从而实现对小车的控制。

关键词:STC89C52RC单片机红外发射红外接收

Design of the Control System of Remote Control Car

Chen Youchao

(College of Engineering,South China Agricultural University,Guangzhou 510642,China)Abstract:The intelligent is a direction of developing in the future that as a new modern invent. It can follow the automatic operation in an environment with the pre-set pattern, management without anybody; also can be applied to the use of scientific expiration. Intelligent car is one reflect of its features. Intelligent remote control technology means charged with the target remote control, it widely used in industrial control, aerospace, home appliances field. However the infrared remote control is also a wireless, non-contact control technology, but it has a strong anti-interference ability, reliable information transmission, low power

consumption, cheaper easy to implement and other significant advantages. So it widely used in many electronic devices which especially household appliances and more and more applications used into the computer system.

This paper introduces the remote control car control system based on infrared remote control technology, with STC89C52RC single-chip microcomputer as the core, the use of infrared remote control to control the direction and speed of the car. The hardware part of the system is mainly composed of single chip microcomputer minimum system module, infrared launch the independent type keyboard circuit, infrared emission circuit, infrared, infrared receiving circuit, control circuit at the receiving end, etc. Used C language programming software part, the infrared emission is the main program, keyboard scanning subroutine, the infrared coding subroutine, ir main program at the receiving end, the infrared decoding subroutine, the car control subroutine, etc. When independent type keyboard has a key press, single chip microcomputer scan and confirm which keys are pressed, and the key corresponding to the coding operation after launch out by infrared emission circuit, infrared receiving circuit to receive after the operation code, single chip microcomputer to decode, and code corresponding operation to control circuits, motors, lights began to work, so as to realize the control of the car.

Keyword:STC89C52RC single-chip microcomputer infrared emission infrared receive

相关文档
最新文档