苏州信息职业技术学院毕业设计报告(论文)系别:通信与电子系专业:汽车电子班级:学生姓名:学生学号:设计(论文)题目:预收费煤气表的设计指导教师:起讫日期:毕业设计报告(论文)摘要预收费煤气表的设计摘要:目前使用的机械式煤气表存在较大的弊端,给管理部门和用户带来了很大的不方便,为了能从根本上解决此问题,设计一种新型的智能煤气表收费系统就显得十分必要。针对这种情况,本文设计了智能IC卡煤气表系统,以实现煤气收费管理的电子化和信息化。本设计是基于AT89S52单片机控制的煤气计费模块,控制简单,设计中采用非接触式智能卡模块实现预付费功能,具有严谨的保护和防作弊功能;系统具备液晶显示功能,利用RT1602液晶显示模块显示余额、用气量等数据;为了保证系统的稳定性和可靠性,该设计中还加入了掉电保护模块,保护用户数据不丢失,使计费系统实现自动化和最优化。关键词:煤气表,非接触式卡,预付费,单片机毕业设计报告(论文)摘要(Thesis)Title:YuShouFeiMeiQiBiaodesignThemechanicalgasmeteratpresenthasabigdisadvantagestothemanagementandtheusersagreatdealofinconvenience.Inordertofundamentallysolvethisproblem,itisverynecessarytodesignanewtypesystemofintelligentgasmeter.Inviewofthissituation,thispaperdesignedanintelligentICcardgasmetersystemsinordertoachievethegastariffsandthemanagementofelectronicinformation.ThedesignisagasbillingmodulewhichbasedontheMCUAT89S52,thecontrolissimple,thedesigntakethenon-contactlesssmartcardmoduletoachievepre-paidfunctions,withhavestrictprotectionandanti-cheatfunctions.SystemusetheRT1602-liquidcrystaldisplayfunctiontoshowtheBalancedataetc.Inordertoensuresystemstabilityandreliability,thedesignalsojoinedthepower-downprotectionmoduletoprotecttheuserdataisnotlost,makethesystemenablesautomatedbillingsystemandoptimization.Keywords:Gasmeter,Non-contactcard,Prepaid,Single-chip目录摘要.......................................................1第一章绪论..................................................51.1煤气表的发展............................................61.2煤气表收费方式..........................................61.2.1煤气表的发展..........................................61.2.2收费方式..............................................81.3设计目的................................................71.4设计中需要重点解决的问题................................9第二章系统软件设计方案......................................102.1系统组成................................................102.2整体方案论述...........................................10第三章单元电路..............................................113.1主控电路MCU............................................123.1.1主控芯片介绍.........................................123.1.2主控电路.............................................123.2流量测量模块...........................................143.3显示电路...............................................153.3.1RT1602介绍...........................................153.3.1.1RT1602引脚说明.....................................153.3.1.2RT1602指令说明.....................................163.3.13RT1602的读写时序...................................173.3.2LCD接口电路..........................................183.4掉电储存模块...........................................193.4.1I的平方C总线的基本原理..............................193.4.2AT24C02介绍..........................................213.4.3AT24CO2硬件电路连接..................................223.5智能IC卡接口模块......................................233.5.1MifareS50卡介绍.......