基于单片机的IC卡智能水表设计(有cad图)

相关主题
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

目录

摘要 (1)

Abstract (2)

第1章绪论 (3)

1.1课题背景及意义 (3)

1.2 传统水表 (4)

1.2.1 传统水表的主要结构 (4)

1.2.2 传统水表的主要特点 (4)

1.3 智能水表 (4)

1.3.1 智能水表的特点 (5)

1.3.2 国内外智能水表的发展现状及发展趋势 (6)

第2章智能水表的组成和单片机的选择 (7)

2.1智能水表系统硬件组成 (7)

2.2 AT89C51单片机简介 (8)

2.2.1 89C51单片机的基本组成 (8)

2.2.2 89C51单片机引脚及其功能 (9)

第3章系统各模块硬件电路设计 (10)

3.1 IC卡读写电路 (10)

3.1.1 Mifare 1射频IC卡 (10)

3.1.2 H6152读写模块 (13)

3.1.3 IC卡读写电路的原理及说明 (13)

3.2 液晶显示电路 (16)

3.2.1 液晶显示模块 (16)

3.2.2 电源模块 (18)

3.2.3 单片机模块 (20)

3.3 记忆单元电路 (20)

3.3.1 I2C总线简介 (20)

3.3.2 AT24C01简介 (22)

3.3.3 硬件原理图 (22)

3.4 电磁阀控制电路 (23)

3.5 其它模块电路 (24)

第4章系统各模块软件设计 (25)

4.1 IC卡读写软件设计 (25)

4.1.1 H6152内部寄存器 (25)

4.1.2 H6152通信协议与控制命令 (27)

4.1.3 IC卡读写电路程序流程图及部分程序 (31)

4.2 液晶显示电路软件设计 (32)

4.2.1液晶控制驱动器指令集 (32)

4.2.2程序流程图及部分程序 (34)

4.3 记忆单元电路软件设计 (36)

第5章结论 (37)

参考文献 (38)

谢辞 (39)

附录:电路图 (40)

基于单片机的IC卡智能水表设计

摘要

为适应国家用水制度的改革,研究和利用现代化智能技术对自来水实行自动控制,减轻供水管理部门因“先供水后收费”造成的资金压力,减少每月抄表、收费所带来的麻烦和因收费问题带来的纠纷,用现代科学技术手段改变自来水管理体制的落后现状,势在必行。基于单片机的IC智能水表不但可以提高供水部门的工作效率,而且在技术上为节约用水、合理用水创造了条件,由于这些特点,基于单片机的IC智能水表得到了越来越广泛的应用。

本论文主要设计研究基于单片机的IC卡智能水表电路,其主要功能是以AT89C51单片机为核心,实现IC卡的读写,液晶显示的控制,电磁阀的控制,脉冲的提取,同时具有安全保护电路、记忆单元电路、通信接口电路,完成整个水表信号的读、写处理,监控水表工作的功能。本文对每个模块逐一进行了研究,全面详细地论述了硬件电路的设计流程,对本设计中IC卡读写电路模块、液晶显示电路模块和H6152读写电路模块等工作原理及功能进行了详细了说明。

关键词:单片机;IC卡;液晶显示;记忆模块

Design of the Water Meter IC Card System Based On Sing-chip

Abstract

In order to adapt the reform of the nation system of water supply,studying and making use of the modern intelligence technique to realize the automatic supervision of the water supply,lightening the funds pressure because of“supply water first behind charge”of the department supplying water,reducing the trouble and dispute of copying the form and charging monthly,using the modern science technique change the current administration structure of using water and water supply industry is imperative under the situation.The application of intelligent water meter not only improves work efficiency of intelligent water meter not only improves work efficiency of the department supplying water and realizes using water electronically but also creates a condition for using water frugally and rationally.Because of these charactetistics,intelligent water meter obtained more and more widespread application.

In this paper, the main design based on single-chip pre-charges the IC card water meter system hardware circuit design, its main function is based on AT89C51 single-chip microcomputer as the core, the realization of IC card reader, LCD display control, the control solenoid valve, pulse extraction, at the same time security protection circuit, memory cell circuit, communication interface circuit, the signal meter to complete the reading, writing and processing, monitoring the work function of water meters. In this paper, one by one for each module studied. Full detail of the hardware circuit design flow, for the design of the Central African contactless IC card reader circuit module, liquid crystal display circuit module and circuit module, such as reading and writing H6152 working principle and function are described in detail.

Key words: SCM; IC Card ; Liquid crystal display; Memory modules

相关文档
最新文档