智能化煤氣表的設(shè)計(jì).doc
智能化煤氣表的設(shè)計(jì), 摘 要 目前使用的機(jī)械式煤氣表存在較大的弊端,給管理部門(mén)和用戶(hù)帶來(lái)了很大的不方便,為了能從根本上解決此問(wèn)題,設(shè)計(jì)一種新型的智能煤氣表收費(fèi)系統(tǒng)就顯得十分必要。針對(duì)這種情況,本文設(shè)計(jì)了智能ic卡煤氣表系統(tǒng),以實(shí)現(xiàn)煤氣收費(fèi)管理的電子化和信息化?! ”驹O(shè)計(jì)是基于at89s52單片機(jī)控制的煤氣計(jì)費(fèi)模塊,...


內(nèi)容介紹
此文檔由會(huì)員 秋風(fēng)2013 發(fā)布智能化煤氣表的設(shè)計(jì)
摘 要
目前使用的機(jī)械式煤氣表存在較大的弊端,給管理部門(mén)和用戶(hù)帶來(lái)了很大的不方便,為了能從根本上解決此問(wèn)題,設(shè)計(jì)一種新型的智能煤氣表收費(fèi)系統(tǒng)就顯得十分必要。針對(duì)這種情況,本文設(shè)計(jì)了智能IC卡煤氣表系統(tǒng),以實(shí)現(xiàn)煤氣收費(fèi)管理的電子化和信息化。
本設(shè)計(jì)是基于AT89S52單片機(jī)控制的煤氣計(jì)費(fèi)模塊,控制簡(jiǎn)單,設(shè)計(jì)中采用非接觸式智能卡模塊實(shí)現(xiàn)預(yù)付費(fèi)功能,具有嚴(yán)謹(jǐn)?shù)谋Wo(hù)和防作弊功能;系統(tǒng)具備液晶顯示功能,利用RT1602液晶顯示模塊顯示余額、用氣量等數(shù)據(jù);為了保證系統(tǒng)的穩(wěn)定性和可靠性,該設(shè)計(jì)中還加入了掉電保護(hù)模塊,保護(hù)用戶(hù)數(shù)據(jù)不丟失,使計(jì)費(fèi)系統(tǒng)實(shí)現(xiàn)自動(dòng)化和最優(yōu)化。
關(guān)鍵詞:煤氣表,非接觸式卡,預(yù)付費(fèi),單片機(jī)
The Design Of Intelligent Gas Meter
Abstract
The mechanical gas meter at present has a big disadvantages to the management and the users a great deal of inconvenience. In order to fundamentally solve this problem, it is very necessary to design a new type system of intelligent gas meter. In view of this situation, this paper designed an intelligent IC card gas meter systems in order to achieve the gas tariffs and the management of electronic information.
The design is a gas billing module which based on the MCU AT89S52, the control is simple, the design take the non-contact less smart card module to achieve pre-paid functions, with have strict protection and anti-cheat functions. System use the RT1602-liquid crystal display function to show the Balance data etc. In order to ensure system stability and reliability, the design also joined the power-down protection module to protect the user data is not lost, make the system enables automated billing system and optimization.
Key Words: Gas meter, Non-contact card, Prepaid, Single-chip
目 錄
1 緒論 1
1.1 國(guó)家宏觀(guān)政策 1
1.2 國(guó)際上煤氣表的發(fā)展及收費(fèi)方式 2
1.2.1 國(guó)外煤氣表的現(xiàn)狀 2
1.2.2 收費(fèi)方式 2
1.3 國(guó)內(nèi)IC卡煤氣表的發(fā)展 3
1.4 設(shè)計(jì)目的 3
1.5 設(shè)計(jì)中需要重點(diǎn)解決的問(wèn)題 3
2 整體設(shè)計(jì)方案 4
2.1 系統(tǒng)組成 4
2.2 整體方案論述 4
3 單元電路 5
3.1 主控電路MCU 5
3.1.1 主控芯片介紹 5
3.1.2 主控電路 6
3.2 流量測(cè)量模塊 7
3.3 顯示電路 8
3.3.1 RT1602介紹 8
3.3.1.1 RT1602引腳說(shuō)明 8
3.3.1.2 RT1602指令說(shuō)明 9
3.3.1.3 RT1602的讀寫(xiě)時(shí)序 10
3.3.2 LCD接口電路 12
3.4 掉電存儲(chǔ)模塊 12
3.4.1 總線(xiàn)的基本原理 12
3.4.2 AT24C02介紹 14
3.4.3 AT24C02硬件電路連接 15
3.5 智能IC卡接口模塊 15
3.5.1 Mifare S50卡介紹 15
3.5.2 Mifare S50卡的訪(fǎng)問(wèn)操作與命令 16
3.5.3 讀卡器模塊 17
3.5.4 硬件電路 17
3.6 電源監(jiān)控系統(tǒng) 18
3.7 電磁閥控制電路 19
3.8 煤氣泄漏報(bào)警電路 20
3.9 聲光報(bào)警電路 20
4 程序設(shè)計(jì) 21
4.1 主程序流程圖 21
4.2 非接觸式卡讀寫(xiě)模塊 21
4.3 掉電存儲(chǔ)模塊 23
4.4 液晶顯示模塊 24
5 結(jié)論 24
致謝 25
參考文獻(xiàn) 26
TA們正在看...
- 值周教師國(guó)旗下講話(huà)范文稿.doc
- 學(xué)校計(jì)算機(jī)的管理與應(yīng)用.doc
- 值周教師國(guó)旗下講話(huà)范文稿_0.doc
- 學(xué)案導(dǎo)學(xué)促進(jìn)初中信息技術(shù)課開(kāi)展初探.doc
- 學(xué)生參與的評(píng)價(jià)手段推動(dòng)其學(xué)習(xí)積極性.doc
- 值周教師講話(huà)稿2篇.doc
- 實(shí)施電子備課制的體會(huì).doc
- 假如我是安全員演講稿.doc
- 實(shí)現(xiàn)課堂教學(xué)變革創(chuàng)新地運(yùn)用信息技術(shù).doc
- 假期安全國(guó)旗下講話(huà):假期安全,重于泰山.doc