- 1、本文档共42页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于AVR的遥控小车的设计毕业设计
天津职业技术师范大学
Tianjin University of Technology and Education
毕 业 设 计
摘 要
近年来随着计算机产业的不断发展,大规模集成电路也渐渐渗透到社会的各个领域,而单片机由于它的体积小,功耗低,价格便宜,工作可靠等优点,又是嵌入系统的核心,已经广泛应用到我们生活中像电子、科技、通信、汽车、工业等领域中。
本设计采用了2片AVR单片机(芯片采用的是ATmega16)作为处理器,由AVR芯片控制整个小车的运行,然后由单片机与nRF24L01无线模块构成主从式的控制系统,双机采用无线串行通信。遥控部分采用杭州茂葳科技有限公司生产的FSK无线模块(nRF24L01),从而提高了控制的可靠性;该小车与遥控器采用了协议式的通信,根据它们之间所制定的协议,进行数据传输,从而提高了控制的有效性。控制部分采用的是高性能、低功耗的8位AVR微处理器ATmega16。驱动小车部分采用了L298N单块集成电路,四通道驱动设计,用来接收DTL或者TTL逻辑电平,驱动感性负载和开关电源晶体管。
本次设计基于完备的软硬件系统,很好的实现了小车遥控、任意曲线行驶等功能。
ATmega16;无线遥控;电机驱动
ABSTRACT
With the development of computer industry in recent years, LSI has gradually penetrated into all areas of society, while the single chip microcomputer because of its small volume, low power consumption, low price, low price, reliable work, and is the core of embedded system, has been widely used in our life, like electronic technology, communication, automobile, industry and other fields .
This design uses two AVR microcontroller (ATmega16) as the processor,which is run by the AVR chip to control the entire car.Two AVR microcontroller ATmega16 and nRF24L01 wireless module were used in this design in order to form a master-slave control system. Dual use wireless serial communication. The part of remote control use the FSK wireless the module rfm12b (433mhz) which produce by Hangzhou Mao Wei Science Co., Ltd. Because it can let the data have higher reliability. The trolley and remote control type communication protocol for data transmission, in accordance with the protocol established between them, thereby improving the effectiveness of the control. The control part is AVR microcontroller ATmega16 which have high-performance, low-power. Drive the car part of the of L298N single monolithic, four-channel driver designed to receive DTL or TTL logic levels and drive inductive load and switching power transistors.
The design is based on a complete hardware and software systems. So some function achieve perfectly, such as car remote control and a
文档评论(0)