欢迎来到淘文阁 - 分享文档赚钱的网站! | 帮助中心 好文档才是您的得力助手!
淘文阁 - 分享文档赚钱的网站
全部分类
  • 研究报告>
  • 管理文献>
  • 标准材料>
  • 技术资料>
  • 教育专区>
  • 应用文书>
  • 生活休闲>
  • 考试试题>
  • pptx模板>
  • 工商注册>
  • 期刊短文>
  • 图片设计>
  • ImageVerifierCode 换一换

    单片机课程设计出租车计价器就.pdf

    • 资源ID:56612949       资源大小:865.60KB        全文页数:27页
    • 资源格式: PDF        下载积分:4.3金币
    快捷下载 游客一键下载
    会员登录下载
    微信登录下载
    三方登录下载: 微信开放平台登录   QQ登录  
    二维码
    微信扫一扫登录
    下载资源需要4.3金币
    邮箱/手机:
    温馨提示:
    快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如填写123,账号就是123,密码也是123。
    支付方式: 支付宝    微信支付   
    验证码:   换一换

     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    单片机课程设计出租车计价器就.pdf

    学习文档仅供参考河南理工大学单片机应用与仿真训练设计报告基于单片机的出租车计价器的设计2012 年 7 月 1 日摘要出租车已经是城市交通的重要组成部分,从加强行业管理以及减少司机与乘客的纠纷出发,具有良好性能的计价器对出租车司机和乘客来说都是很必要的。而采用模拟电路和数字电路设计的计价器整体电路的规模较大,用到的器件多,造成故障率高,难调试。而采用单片机进行的设计,相对来说功能强大,用较少的硬件和适当的软件相互配合可以很容易地实现设计要求,且灵活性强,可以通过软件编程来完成更多的附加功能。本设计的是一个基于单片机学习文档仅供参考AT89S52的出租车自动计费设计,附有复位电路,时钟电路,键盘电路等。复位电路是单片机的初始化操作,除了正常的初始化外,为摆脱困境,通过复位电路可以重新开始。时钟电路采用12MHz的晶振,作为系统的时钟源,具有较高的准确性。在上电时四位共阴极5461AS数码管显示最初的起步价,里程收费,等待时间收费三种收费,通过按键可以调整起步价,里程收费,等待时间收费。通过按键模拟出租车的运行,暂停,停止。在5461AS液晶上可以显示运行的时间,运行时暂停的时间,通过计算可以得出总共的费用和总的路程。在这里主要是以AT89S52单片机为核心控制器,P0口接 5461AS液晶显示模块,P1口接按键的,通过按键输入。文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6学习文档仅供参考目录第一章概述.-1-1.1出租车计价器设计要求.-1-1.2系统主要功能.-1-1.3方案论证与比较.-1-第二章出租车计价系统的硬件设计.-3-2.1振荡电路.-3-2.2复位电路设计.-3-2.3键盘接口电路.-4-2.4显示电路.-4-2.5路程测量部分.-5-2.6单片机各引脚功能说明.-6-2.75461AS液晶的简介.-7-第三章出租车计价系统的软件设计.-10-3.1单片机资源使用.-10-3.2中断子函数.-10-3.3判键子函数.-11-3.4显示子程序.-12-3.5总程序流程框图.-13-第四章 PROTEUS 软件仿真 .-14-4.1PROTEUS介绍.-14-4.2调试与测试 .-15-4.3里程计价测试 .-15-第五章设计体会与小结.-17-参考文献.-18-附录.-19-一源程序 .-19-二系统原理图.-24-文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6学习文档仅供参考第一章概述1.1 出租车计价器设计要求设计一个出租车自动计费器,计费包括起步价、行车里程计费、二部分,用5461AS液晶 显示总金额,运行时间,暂停时间,最大值为99.9 元,起步价为5.0 元,3Km之内起步价计费,超过3Km,增加 2.0 元即 1KM 增加 2.0 元,用液晶显示总里程,同时用液晶显示等待时间和运行花费时间。、计费功能费用的计算是按行驶里程收费。设起步价为5.00 元。1、当里程 3km时,按起价计算费用、显示功能1、显示行驶里程:用四位数字显示,显示方式为“XXXX”,单位为 km。计程范围 0-99km,精确到 1km。2、显示等候时间:用两位数字显示,显示方式为“XX”,单位为 min。计时范围 0-59min,精确到 1min。3、显示总费用:用四位数字显示,显示方式为“”,单位为元。计价范围0-999.9 元,精确到 0.1 元。1.2 系统主要功能本出租车自动计费,上电后显示最初的起步价,里程计费单价,等待时间计费单价,通过按键可以调节起步价,里程计费单价,等待时间计费单价。同时具有运行,暂停,停止等状态,可以显示运行的时间,同时可以显示暂停的时间,具有累加功能,暂停和运行时间在暂停和运行前一次的状态上计时。出租车停止后能够显示行驶的总费用。1.3 方案论证与比较方案一:采用数字电子技术,利用 555 定时芯片构成多谐振荡器,或采用外围的晶振电路作为时钟脉冲信号,采用计数芯片对脉冲尽心脉冲的计数和分频,最后通过译码电路对数据进行译码,将译码所得的数据送给数码管显示,一下是该方案的流程框图,方案一如图1-1 所示:文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6学习文档仅供参考图 1-1 方案一案二:采用 EDA 技术,根据层次化设计理论,该设计问题自顶向下可分为分频模块,控制模块计量模块、译码和动态扫描显示模块,其系统框图如图1-2所示:图 1-2 方案二方案三:采用 MCU 技术,通过单片机作为主控器,利用1602 字符液晶作为显示电路,采用外部晶振作为时钟脉冲,通过按键可以方便调节,以下是方案三的系统流程图,本方案主要是必须对于数字电路比较熟悉,成本又不高。方案图如图 1-3 所示:文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6学习文档仅供参考图 1-3 方案三方案总结:通过各个方案的比较,本次采用方案三,不但控制简单,而且成本低廉,设计电路简单。第二章出租车计价系统的硬件设计2.1 振荡电路单片机内部有一个高增益、反相放大器,其输入端为芯片引脚XTAL1,其输出端为引脚 XTAL2。通过这两个引脚在芯片外并接石英晶体振荡器和两只电容电容和一般取 33pF。这样就构成一个稳定的自激振荡器。振荡电路脉冲经过二分频后作为系统的时钟信号,再在二分频的基础上三分频产生 ALE信号,此时得到的信号时机器周期信号。振荡电路如图2-1 所示:图 2-1 振荡电路2.2 复位电路设计复位操作有两种基本形式:一种是上电复位,另一种是按键复位。按键复位具有上电复位功能外,假设要复位,只要按图中的RESET 键,电源 VCC经电阻R1、R2分压,在 RESET 端产生一个复位高电平。上电复位电路要求接通电源后,通过外部电容充电来实现单片机自动复位操作。上电瞬间RESET引脚获得高电平,随着电容的充电,RERST 引脚的高电平将逐渐下降。RERST 引脚的高电平只要能保持足够的时间 2 个机器周期,单片机就可以进行复位操作。按键复位电路图如图 2-2 所示。文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6学习文档仅供参考图 2-2 AT89C52引脚配置2.3 键盘接口电路独立式键盘:独立式键盘中,每个按键占用一根 I/O 口线,每个按键电路相对独立。I/O 口通过按键与地相连,I/O 口有上拉电阻,无键按下时,引脚端为高电平,有键按下时,引脚电平被拉低。I/O 口内部有上拉电阻时,外部可不接上拉电阻。键盘接口电路如图2-3 所示:图 2-3 键盘接口电路2.4 显示电路对于现实电路我们可以采用数码管,也可以采用液晶显示,液晶又分字符型和点阵型,我们使用的液晶是字符型液晶,并且带字符库的,不需要查找代码。英文字符就可。液晶电路使用时,如果发现液晶不亮可以调节连接液晶的点位器,改变液晶的亮度。显示电路如图2-4 所示:文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6文档编码:CW4L7C10H9Z8 HA1X5K9O10H5 ZH1X4L7I3V6学习文档仅供参考图 2-4 数码管封装图及数据线与数码管管脚关系2.5 路程测量部分出租车中需要一个能准确获得车轮转动即路量信号的装置,以得到标准的脉冲信号送入单片机的定时/计数器 T1 即 P3.5 引脚,利用单片机的 T1 的计数功能完成 100 次的计数后产生一中断来完成路程的测量。(设车轮周长为 1 m,则霍尔传感器每产生100 个脉冲便表示车已行程0.1 km,根据际情况在程序中进行设置)。汽车联轴器按圆周

    注意事项

    本文(单片机课程设计出租车计价器就.pdf)为本站会员(Q****o)主动上传,淘文阁 - 分享文档赚钱的网站仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知淘文阁 - 分享文档赚钱的网站(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    关于淘文阁 - 版权申诉 - 用户使用规则 - 积分规则 - 联系我们

    本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

    工信部备案号:黑ICP备15003705号 © 2020-2023 www.taowenge.com 淘文阁 

    收起
    展开