公交车自动报站系统毕业论文(DOC)

发布时间 : 星期二 文章公交车自动报站系统毕业论文(DOC)更新完毕开始阅读

保密类别 编 号20100803075

武汉大学珞珈学院

毕 业 论 文

公交车自动报站系统

系 别 电子信息科学系 专 业 电子信息工程 年 级 2010级电信三班 学 号

20100803075 姓 名 熊鹏 指导教师 李婧

武汉大学珞珈学院 2014年4月14日

摘 要

本设计主要是利用89C52单片机作为CPU来进行总体控制,同时使用FYD12864液晶显示电路进行汉字显示,能够实现公交车的站名显示。在CPU控制模式下,键盘电路采用中断扫描模式,当有键按下时,系统产生中断,CPU响应中断后,通过软件来实现该键号所对应键的功能。因此当公交车到达某站时通过按键来控制本系统进行工作,CPU同时通过程序读取汉字信息送入LCD液晶显示电路进行汉字提示。通过本设计主要解决了如何方便、准确的指示乘客到站的问题,使得乘客能愉快、安全的下车。

关键词:单片机 液晶显示 键盘电路

2

The design of bus station reported were based on the

DSP

ABSTRACT

This design is mainly to use 89C52 microcontroller as CPU to carry out , meanwhile it uses FYD12864 character LCD display circuit to achieve the bus station and station display. In the CPU control mode, the keyboard interrupt scan mode circuit, the system generates an interrupt when a key pressed , APU response to failure, the key number is inquired by the software to achieve the key number corresponding to the function keys. So when the bus reaches a certain point, through the keyboard to control the system to work, CPU while the information through the program reads characters into the LCD liquid crystal display circuit character prompt.This design primarily addresses the problem that how to direct the passengers to the stations conveniently and accurately,ensure the secure of the passengers when they get on board or get off the bas.

Keywords:Microcontroller LCD Keyboard 3

目 录

第1章 绪论

1.1 论文选题的目的及意义……………………………………………………1

1.2 国内外研究现状和发展趋势………………………………………………1 1.3 本课题的研究内容 …………………………………………………………2

第2章 总体设计方案

2.1 系统的总体框图………………………………………………………………1

2.2 系统使用89C52的介绍……………………………………………………2 2.3 LCD液晶显示器………………………………………………………………6

2.3.1 12864液晶显示模块的介绍…………………………………………7 2.3.2 12864液晶显示模块的管脚图及管脚定义……………………… 7

2.3.3 12864液晶显示模块接口时序的介绍………………………………8 2.3.4 12864液晶显示模块与单片机的接口设计…………………………9

第3章 系统的硬件部分设计

3.1 89C52的时钟电路……………………………………………………………11 3.2 98C52的复位电路……………………………………………………………12 3.3 键盘电路的设计………………………………………………………………13

3.3.1 矩阵式键盘扫描原理……………………………………………13 3.3.2 键盘的去抖设计…………………………………………………………14 3.3.3 键盘扫描控制方式………………………………………………………15

第4章 系统的软件部分设计

4.1 系统主流程设计……………………………………………………… 16 4.2 键盘扫描流程设计………………………………………………………………19 4.3 LCD显示模块流程设计…………………………………………………………18

结论 ………………………………………………………………………………………25

联系合同范文客服:xxxxx#qq.com(#替换为@)