项目编号:mcuclub-dz-251

设计简介:

项目名:出租车计价器
项目编号:mcuclub-dz-251
单片机类型:STC89C52
具体功能:
1、通过DS1302获取时间,并判断此时是白天时间还是夜间时间,白天时间是凌晨5.30到晚上22.30点,2.5公里以内起步价8元,超过部分单价是1.7元/公里;夜间是晚上22.30点到次日凌晨5.30,2.5公里以内是起步价9元,超过部分单价是1.7元/公里。等候5分钟内不收费,5分钟以外0.3元/分钟,不满一分钟按一分钟计算。8公里以上部分,车公里单价加收50%
2、通过电机驱动模块驱动直流电机,模拟车轮,并通过红外对管进行测速,从而获取总公里数
3、通过按键可修改时间、启动车轮、结算
4、通过LCD12864显示屏显示时间、速度、总公里、单价、总金额等

总字数:14608

实物链接:点击跳转

仿真链接:点击跳转

设计说明书链接:点击跳转

开题报告链接:点击跳转

答辩PPT链接:点击跳转

摘  要

随着国民经济的提高,出租车数量日益增多,计价器为车辆定期的保养、维护以及报废提供依据。本文针对现有车用计价器检定中缺少条件、因素干扰多、可靠性低等问题,利用单片机技术开发了一款智能出租车计价器,在降低成本的前提下完成智能计价功能。

本设计采用STC89C52单片机作为主控芯片,设计一款较为智能的出租车计价器,有效解决夜晚和白天收费不一样的问题,此次设计有两种模式,白天和夜晚,白天的起步价为8元,超过2.5公里为每公里1.7元/公里,在顾客到达的时候,司机按下暂停的时候,停止计价,在顾客进行下车后可以进行清零,然后下一位顾客上车的时候重新开始。在夜晚的时候,起步价为9元,超过2.5公里之后每公里1.7元。此次设计通过软件和硬件进行结合,最终可以解决目前出租车乱收费的问题,并且出租车司机可以通过显示屏查看当前的时间、速度、总公里、单价、总金额,而且此次设计稳定性也较强,设备的成本较低,可靠性也较强。

关键词 出租车、计价器、单片机、夜间模式、白天模式

Abstract

With the improvement of the national economy, the number of taxis is increasing, and the meter provides a basis for the regular maintenance, maintenance and scrapping of vehicles. Aiming at the problems of lack of conditions, interference factors and low reliability, this paper develops an intelligent taxi meter by using single chip microcomputer technology, and achieves intelligent pricing function under the premise of reducing cost.

This design uses STC89C52 single chip microcomputer as the main control chip to design a more intelligent taxi meter, which effectively solves the problem that night and day charges are not the same, the design has two modes, day and night, the starting price of 8 yuan during the day, more than 2.5 kilometers for 1.7 yuan/kilometer, when the customer arrives, When the driver presses pause, the fare stops, can be cleared after the customer gets off, and then restarted when the next customer gets on. At night, the starting price is 9 yuan and 1.7 yuan per kilometer after 2.5 kilometers. Through the combination of software and hardware, the design can finally solve the problem of the current taxi charging, and the taxi driver can view the current time, speed, total kilometers, unit price, total amount through the display screen, and the design stability is also strong, the cost of equipment is low, and the reliability is also strong.

Keywords  Taxi, meter, MCU, night mode, day mode

目  录

摘  要

Abstract

第一章 设计概述

1.1 研究背景及其意义

1.2 国内外研究现状

1.3 此次设计实现的功能

第二章 系统设计方案

2.1 系统设计方案

2.2 主要元器件选择

2.2.1 主控芯片方案

2.2.2 显示模块方案

2.2.3 按键模块方案选择

第三章 硬件设计

3.1 主控模块电路

3.2 电机驱动模块电路

3.3 LCD12864显示模块电路

3.4测速模块(74HC14D)

3.5 按键模块

3.7 时钟模块电路

第四章 系统程序设计

4.1 编程软件介绍

4.2 系统主流程设计

4.3 时钟模块子流程

4.4 直流电机-MX1508驱动模块子流程

4.5 LCD12864显示模块子流程设计

4.6独立按键

第五章 仿真测试

5.1 整体仿真图

5.2 上电仿真测试

5.3 出租车计价仿真测试

5.4 设置时间仿真测试

第六章 实物测试

6.1整体实物图

6.2 上电实物测试

6.3 出租车计价实物测试

6.4 设置时间实物测试

总结

致谢

参考文献

附录

附录一:原理图

附录二:PCB

附录三:主程序

……………..本设计说明书是配套实物或仿真来写的,完整的设计参考书请购买后下载,购买过程遇到任何问题请联系客服进行咨询。本资料是一次性商品,不支持退货,感谢您对单片机俱乐部的支持……………..

发表评论

后才能评论

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源