JIMI 发表于 20:51

基于单片机的出租车计价器的设计与制作

论文编号:DZXX090  论文字数:13964,页数:55
摘要
 随着出租车行业的发展,出租车行业已经是城市的重要组成部分,从加强行业管理以及减少与乘客的纠纷出发,以单片机为核心的智能出租车计价系统的开发就显得尤其重要。
 传统的出租车计价器功能不够完善,给国家的税收带来了很大的难度,偷税漏税非常严重,而现在多功能计价器由于具有存储记忆功能,每天的账目一目了然,很好的解决了这一难题,同时也方便了出租车行业的管理。
 随着电子技术的发展,出租车计价器技术也在不断进步和提高,国内出租车计价器已经经历了四个阶段的发展,从传统的全部由机械元器件组成的机械式,到半电子式即用电子线路代替部分机械元器件的出租车计价器,再从集成电路式到目前的单片机系统设计的出租车计价器。
 本设计采用AT89S51单片机为主控器,以A44E霍尔传感器测距,实现对出租车的多功能的计价设计,并采用AT24C02实现在系统掉电的时候保存单价和系统时间等信息,输出采用8段数码显示管。本电路设计的计价器不但能实现基本的计价,而且还能根据白天,黑夜,中途等待来调节单价。
关键词:AT89S51, A44E霍尔传感器,AT24C02
 
ABSTRACT
              As the taxi industry development, urban taxi industry is an important component of the traffic, strengthening management and the reduction of trade disputes with passengers proceeding to SCM smart taxi at the core of the development on the pricing system is particularly important.
              Taximeter traditional function is not perfect, bring revenue to the state a great deal of difficulty, have a very serious tax evasion. But now, Multi-function meter have Storage and memory function. Accounts every day at a glance, and have a good solution to this problem, but also to facilitate the management of the taxi industry.
              As the development of electronic technology, taximeter technology has been progress and improving. In our country, Taximeter has gone through four stages of the development, from the traditional mechanical components of all mechanical components, to semi-electronic electronic circuits used instead of mechanical components Taximeter, and from the integrated circuit type to the current single-chip system design Taximeter.
              This design uses 89 S51 MCU-based controller, to A44E Hall sensor location, and the taxi-pricing design and realization of the system used AT24C02 Power-down price and the time saved time and other information systems, output by paragraph 8 of the digital display. of the circuit design of the meter can not only achieve the basic pricing, but also based on the day, night, waiting for the half-way to regulate the price, but not accounted for in the time for the drivers but also as a clock Comrade convenience.
 Key words:  89S51, A44E Hall sensor, AT24C02
目 录
摘要 II
ABSTRACT III
第1章 引言 1
    1.1 背景 1
        1.1.1 出租车计价器概述 1
        1.1.2 出租车计价器发展状况 2
    1.2 研究内容 3
        1.2.1 出租车计价器的研究现状 3
        1.2.2 几种常见的出租车计价器设计方案 3
        1.2.3 研究的主要内容 4
第2章 出租车计价系统总体构成方案选定 6
    2.1 出租车计价器系统构成及工作原理 6
    2.2计价器的各组成部分 6
        2.2.1 里程计算单元 6
        2.2.2 键盘控制及LED显示部分 7
        2.2.3 掉电保护单元 7
        2.2.4 单片机部分 7
第3章 系统的硬件设计 10
    3.1 系统硬件构成及功能 10
    3.2 里程计算单元硬件设计 10
    3.3 AT24C02掉电保护单元硬件设计 12
    3.4 键盘控制及LED显示单元硬件设计 13
        3.4.1 功能按键 13
        3.4.2 LED数据显示 14
        3.4.3 各按键具体功能 15
    3.5 数据复位单元硬件设计 16
    3.6 硬件设计模块所用芯片介绍 16
        3.6.1 AT89S51芯片介绍 16
        3.6.2 AT24C02引脚图及功能 19
第4章 系统的软件设计 20
    4.1主程序模块 20
    4.2定时中断模块 20
    4.3 键盘扫描 22
    4.4 数码管动态扫描程序设计 23
第5章 测试报告 26
    5.1里程计价测试 26
    5.2掉电保护测试 27
第6章 结束语 28
致谢 29
参考文献 30
附录1 电路原理图 31
附录2 源程序代码 32
附录3 元器件清单 50
附录4 实物成品图 51
页: [1]
查看完整版本: 基于单片机的出租车计价器的设计与制作