摘要:为了适应国家用水制度的改革,减轻供水管理部门因“先供水后收费”造成的资金压力,减少每月人工抄表、收费所带来的麻烦,设计一套预付费智能水表系统是很有必要的。本设计是基于单片机的IC卡智能水表的研制,其硬件部分是以STC89C52单片机为核心,包括IC卡的读写、液晶显示的控制、电磁阀的开闭、脉冲的提取等模块,从而实现水表信号的读、写处理和水表工作的监控等功能。在设计中采用了模块化设计思想,详细分析了每个模块的工作原理,通过对单片机的编程来实现各模块的功能。实验结果表明,该水表可以实现先交费后供水、显示用水信息的功能,验证了该设计的可行性。79015
毕业论文关键词:单片机,IC卡,液晶显示,智能水表
Abstract: In order to adapt to the reform of the national water system, reduce the fund pressure of water supply management caused by "water before they charge" and reduce the trouble of copying the meter and charging monthly, it is necessary to design a prepaid intelligent water meter system。 This design is the research of the IC card intelligent water meter control system; the hardware part is STC89C52 single-chip microcomputer as the core, including the reading and writing of IC card, the control of liquid crystal display, the solenoid valve opened and closed, pulse extraction, so as to realize water meter signal processing in reading and writing and the function of the monitoring meter work。 This design adopts the thought of modular design, and working principle of each module are analyzed in detail, based on the microcontroller programming to realize the function of each module。 The experimental results show that the water meter can realize water fee before water supply and display the function of information, verifying the feasibility of the design。
Keywords: SCM, IC Card, liquid crystal display, intelligent water meter
目 录
1 绪论 4
1。1 课题背景 4
1。2 智能水表的结构及特点 4
2 系统总体方案设计 5
2。1 设计思想 5
2。2 系统总框图 6
2。3 方案选型 6
3 系统硬件电路的设计 9
3。1 主控模块设计 9
3。2 IC卡读写电路设计 11
3。3 液晶显示电路设计 14
3。4 电源电路设计 16
3。5 电磁阀控制电路设计 17
3。6 脉冲提取电路设计 17
3。7 报警电路设计 18
4 系统软件程序的设计 19
4。1 主程序设计 19
4。2 IC卡读写程序设计 20
4。3 液晶显示模块程序设计 21
5 系统调试与实验 22
5。1 系统调试 22
5。2 系统实验 23
结论 27
参考文献 28
致谢 STC89C52单片机的IC卡智能水表的研制:http://www.youerw.com/zidonghua/lunwen_91197.html