- 0
- 0
- 约1.07万字
- 约 24页
- 2018-09-11 发布于湖北
- 举报
基于单片机的出租车计价器设计与实现4spccra5
毕业设计报告
题 目:基于单片机的出租车计价器的
设计与实现
院 系:
专 业:
班级学号:
学生姓名:
指导教师:
成 绩:
2014 年 06 月 25日
摘 要
出租车计价器的硬件设计以STC89C52单片机为核心控制元件,利用灵敏的光电传感器对车轮的转数进行采集从而对行驶距离进行测量,输出采用LCD12864液晶显示器作为显示器件,可以显示路程信息,还可以设置计价的费用、等时费用、起价费用等,可以适合不同的车型。
系统软件设计的主要部分有:主程序模块、运行里程计数中断程序、定时中断程序、中途等待中断程序,显示子程序和键盘程序。
本电路设计的计价器所具备的重要方面有:显示数据电路、光电传感器电路、按键输入电路、单片机最小系统电路与报警模块构成。本电路设计的里程表不但能实现基本的里程计数,而且还能设置轮胎的直径,可以计算里程并能够实时显示乘客所花费的价格,同时使用LCD12864作为显示器件,方便使用。
关键词:单片机;光电传感器;液晶显示器
Abstract
With STC89C52 Single-chip Microcomputer (SCM) as the core hardware control elements, the taxi meter uses sensitive photoelectric sensors to count the number of revolutions of the wheel so as to measure the distance. In terms of output, LCD12864 display is leveraged as the display device, which can set denominated costs, isochronous costs, and starting fees and fit different models.
The software design for the system mainly includes the main program module, mileage count interrupt service program, timer interrupt service program, mid-way wait interrupt service program, display subroutine service program and keyboard service program.
The main function of the meter designed in this circuit mainly contains data and photoelectric sensor display, key input circuit, smallest single-chip module circuit and alarm system. The meter can not only achieve the basic mileage count, but also be able to set the diameter of the tire, calculate the mileage and display the real-time price passengers need to pay. Meanwhile, LCD12864 is used as the display device and is easy to use.
Keywords: Single-chip Microcomputer; Photoelectric Sensor; Display
目 录
TOC \o 1-3 \u 1 硬件部分设计 PAGEREF _Toc19931 1
1.1 硬件结构设计 1
1.2 电源电路介绍 2
1.3 电平转换电路 2
1.4 液晶显示接口电路 3
1.5 彩灯驱动电路 3
1.6 按键部分电路 4
1.7 最小系统部分电路 5
1.7.1 复位电路设计 6
1.7.2 晶振电路实际 6
2 软件部分设计 7
2.1 主程序模块 7
2.2 中断子函数 8
2.3 显示子函数 9
3 系统测试 10
3.1 硬件部分测试10
3.2 软件部分测
您可能关注的文档
- 基于labview平台的低压大电流整流器及电子开关设计r08kqgh_.doc
- 基于labview的信号发生器设计p5gosrb8.doc
- 基于jsp的家政服务管理系统课程设计报告pqwztnvh.doc
- 基于l6561高功率因数反激变换器的设计方程krzx1yni.doc
- 基于l6561高功率因数反激变换器的设计fyznw_ad.doc
- 基于labview的温度采集系统设计62puyqyh.doc
- 基于labview的温度采集系统7axwjhzr.doc
- 基于matlab gui的滤波器设计软件设计hk90zewg.doc
- 基于led驱动芯片icm7218的显示接口设计zgwh5eoo.doc
- 基于matlabgui的“滤波器设计软件”设计9zkd078o.doc
最近下载
- 2016春四年级数学下册 第4单元《小数的意义和性质》试题1(无答案)(新版)新人教版.doc VIP
- 二年级下册语文每日拼音词语默写单(1-8单元).pdf
- 支队党支部班子“加强理论武装、执行上级组织决定、做好群众工作“等六个方面2026年组织生活会班子对照检查材料.docx VIP
- TCECS 1538-2024 超高性能混凝土肋装配式楼板应用技术规程.pdf VIP
- 【物理】生活中的圆周运动课时2课件 2024-2025学年高一下学期物理人教版(2019)必修第二册.pptx VIP
- 物联电动移车装置设计.docx
- 组装车间现场管理.pptx VIP
- 原子物理学全本课件(褚圣麟,第一至第十章全部课件).pptx VIP
- 2026年中级社会工作者《社会工作法规与政策》各章节考点汇总(三色宝典).pdf
- 短视频新闻案例.pptx VIP
原创力文档

文档评论(0)