- 1、本文档共44页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于plc单片机出租车计费系统的设计电子102班王东风
河南科技学院新科学院
2014届本科毕业论文(设计)
基于PIC单片机的出租车计费系统的设计
学生姓名:
所在院系:新科学院电气工程系
所学专业:电子信息工程
导师姓名: 马红标
完成时间:2014年5月10日
??
基于PIC单片机的出租车计费系统的设计
摘 要
?计价器显示的营运金额是营运里程与价格的函数(等候时间一般折算成一定比例的里程来计算),出租汽车的实际里程通过传感器的脉冲信号在计价器里折算成一定的计价营运里程。本设计采用16F877单片机为主控器,通过安装在车轮上的霍尔传感器A44E检测到的信号,送到单片机,由单片机计算里程,经处理计算,送给显示单元的,连接AT24C02 掉电存储单元,保证在断电的情况下能够储存单价,并设置复位电路,当按下复位键,内部指令重头开始执行,系统重新运作,计费系统能够显示时间,单价,总里程和总金额,时间和单价可调整,以方便各地的出租车能够使用。具有性能可靠、电路简单、成本低等特点。
关键词:PIC单片机?,数码管显示?,计费,控制
PIC microcontroller design taxi billing system
Abstract
Operating the amount shown on the meter is operating mileage and price function (waiting time is usually translated into a certain proportion of mileage to calculate). Actual mileage taxi through the pulse signal from the sensor are translated into acertain denomi-
nated operating mileage meter inside.The design uses a 16F877 microcontroller-based con-
troller, the signal detected by a wheel mounted on the Hall sensor A44E, sent to the microco-
ntroller, calculated by the microcontroller mileage, processed calculations, to the display unit connected AT24C02-down storage unit guarantee in case of power failure can store price,and set the reset circuit, when you press the reset button, re-start internal instruction execution, the system re-operation. billing system can display time, unit price, total mileage and total amount, time and price adjustable to facilitate the countrys ability to use a taxi.With reliable performance, the circuit is simple and low cost.
Keywords: PIC microcontroller, digital display, billing, control
目 录
绪论1
1 计价器硬件设计1
1.1 系统的硬件构成及功能1
1.2 设计要求2
1.2.1基本要求2
1.2.2 发挥部分2
1.2.3 系统主要功能2
1.3 PIC16F877原理简介3
1.3.1 PIC16F877特性3
1.3.2 特殊内嵌功能4
1.3.3 PIC16F877基本电路5
1.4 AT24C02引脚图及其引脚功能6
1.5 AT24C02 掉电存储单元的设计7
1.6 里程计算、计价单元的设计7
1.7 数据显示单元设计8
2 系统的软件设计9
2.1 系统主程序设计9
2.2 定时中
文档评论(0)