没有合适的资源?快使用搜索试试~ 我知道了~
基于单片机出租车多功能计价器设计.doc
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 118 浏览量
2023-07-03
13:29:17
上传
评论
收藏 838KB DOC 举报
温馨提示
试读
63页
基于单片机出租车多功能计价器设计.doc
资源推荐
资源详情
资源评论
摘 要
随着社会的高度发展,出租车已经成为人们日常生活中必不可少的
代步工具,但由于各个地方的生活水平不同,导致物价存在一定的差异,
因此出租车的计费标准也不尽相同。这就要求我们设计出简易化、智能
化、计价精确、可移植、可靠性高的出租车计价器。
本次设计利用软件设计和硬件设计相结合,设计出具有性能可靠、
电路简单、成本低等特点的多功能计价器。由单片机AT89C51控制,使用
12MHz 晶振提供时钟信号,利用装在车轮上的霍尔传感器A44E发出的脉冲
个数来测速,因为本设计涉及到白天和黑夜的转换,通过AT24C02实现白
天和黑夜单价的修改和存储,从而实现白天和黑夜不同的计费标准。另
外AT24C02中的数据是不可随意更改的,具有防作弊的效果。通过C语言
编程实现记时、里程检测、费用计算,同时通过LED数码管将里从而达到
计费的目的。最后将总车费和总金额很直观的在LED数码管中显示出来,
达到计价器计价收费的目的。而且,本次设计还通过DS1302,可以在不
计价的情况下作为时钟显示时、分、秒,使驾驶员了解实时时间。系统
包括控制模块、里程传感模块、掉电保护模块、独立键盘电路、电源电
路、时钟显示模块部分。该系统设有五个按键(清除、查询/确认、停止、
白天/黑夜、功能选择),进行相应的操作就可实现单程/往返模式选择、
停止计费、等待时间查询、清除复位等功能,使操作简单方便。
关键词:单片机; 霍尔传感器 A44E; LED 数码管;DS1302
Abstract
With the high degree of social development, the taxi has become an
everyday essential means of transport, but because of the different levels of
each of the local life, causing prices there are some differences, so taxis are
not the same accounting standards. This requires us to design a simple,
intelligent, accurate pricing, portable, high reliability taxi meter.
The design of the software and hardware design using the combination of
design with reliable performance, the circuit is simple and low cost
multifunction meter. Controlled by the microcontroller AT89C51 using
12MHz crystal oscillator provides the clock signal, the use of a wheel
mounted on the Hall sensor A44E number of pulses sent to the gun, as the
design involves the conversion of the day and night, night and day to achieve
through AT24C02 price changes and storage, day and night in order to
achieve different billing standards. The data in another AT24C02 can not be
changed, with the effect of anti-cheating. Through the C programming
language in mind, the mileage testing, cost calculations, while the inside
through the LED digital tube so as to achieve the purpose of billing. Finally,
the total amount of the total fare and very intuitive in the LED digital tube
display, to achieve the purpose of the meter valuation fees. Moreover, this
design also adopted DS1302, can not denominated in the case as the clock
displays hours, minutes, seconds, the driver understand real-time. System
comprises a control module, mileage sensing module, power protection
module, separate keyboard circuit, power circuit, the clock display module
section. The system has five buttons (Clear, check / confirm, stop, day / night
function selection), the appropriate action can be achieved one way / return
mode selection, stop charging, waiting time queries, clear Reset function.
make operation simple and convenient.
Keywords: microcontroller; hall sensor A44E; LED digital tube; DS1302
目录
第一章 引言 ..............................................1
1.1 出租车简介 ............................................1
1.1.1 出租车计价器概述 ................................1
1.1.2 出租车计价器的工作原理 ..........................1
1.2 单片机简介 .........................................2
1.2.1 单片机的基础知识 ................................2
1.2.2 单片机的发展历史、趋势及应用 ....................2
1.2.3 MCS-51 单片机的应用特性 .........................3
1.3 设计目的及要求................................4
1.3.1 设计任务 ........................................4
1.3.2 设计要求 ........................................4
1.3.3 系统主要功能 ....................................5
第二章 计价器硬件设计 ....................................6
2.1.出租车计价器方案论证 .................................6
2.2 系统的硬件构成及功能 .................................8
2.3 AT89C51 单片机及其引脚说明 ............................8
2.4 AT24C02 掉电存储电路设计 .............................11
2.5 里程计算、计价单元的设计 .............................13
2.6 电源电路设计 .........................................15
2.7 独立键盘电路设计 .....................................16
2.8 指示灯电路设计 .......................................16
2.9 数码管显示电路设计 ...................................17
2.10 DS1302 时钟电路设计 .................................20
第三章 系统的软件设计 ...................................23
3.1 系统主程序设计 ......................................23
3.2 定时中断服务程序 ....................................24
剩余62页未读,继续阅读
资源评论
omyligaga
- 粉丝: 54
- 资源: 2万+
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 类和对象知识点练习及其参考答案
- C++职工管理系统:本教程主要利用C++来实现一个基于多态的职工管理系统
- 基于原生微信小程序实现的课堂考勤系统的设计与实现
- 商道融绿、润灵环球ESG评级数据(2015-2023年).xlsx
- 商道融绿、润灵环球ESG评级数据(2015-2023年).dta
- 基于 GDAL 与 PROJ4 的遥感图像处理软件,使用 Qt 构建课程设计
- 图形化界面采用Easyx编写,实现对哈夫曼树的显示操作
- 使用后端开发框架Spring Boot构建应用程序.pdf
- 基于Boson的计算机网络实验:RIP和IGRP的配置
- 在线教育系统 JAVA+Vue+SpringBoot+MySQL
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功