自动抄表系统的设计

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

摘要长期以来,水电供应部门对用户电表、水表、煤气计量都来用传统的手工抄表方式,该方法费时、费力,缺乏准确性和及时性,不利于供应部门进行更深层次的分析和管理决策,在行业信息化过程之中,户表数据的自动化抄送具有非常重大的意义。本设计从硬件、软件两大角度对无线抄表系统进行全面设计。其中,硬件设计包括:单片机最小系统、数据显示模块、数据采集模块、信号发射模块和串行通信等部件的设计。软件设计包括主程序、显示程序、脉冲计数器子程序、键盘程序、串行通信子程序这五大模块。通过硬件电路和软件设计协调工作完成了系统所要求的所有功能。硬件电路采用CC400单片集成无线收发芯片和89C51单片机为核心,配以适当的外围电路,手持机具有键盘和LED显示功能,并可通过串口将抄得数据传给计算机。软件设计采用汇编语言对整个系统进行编程。本系统适用于电、气、热表的无线抄收。通过构建自动抄表系统,使电力公司和物业管理部门大大提高了工作效率和经济效益,而且从根本上解决了入户抄表收费给用户和抄表人员带来的麻烦,同时也避免了不必要的纠纷。关键词:单片机;CC400;LEDAbstractAbstract:Ithasbeenalongtimethatsupportdepartmentadoptedtraditionalmethodtoreadthedatafromammeter,waterandmeter,thiswaycostsalotoftimeandforce,lackveracityandpunctuality.Itisn'tconvenienttoanalyseandvider.withmoreandmoredeparmentsrelyoninformationtechnologytoday,Itisveryimportanttoreaddatafrommeterbyautomaticmeans.Thedesignofhardware,software,twowirelessmeterreadingsystemintermsofoveralldesign.Amongthem,thehardwaredesigninclude:thesmallestsingle-chipsystems,datadisplaymodule,dataacquisitionmodule,signaltransmission,suchasserialcommunicationmoduleandthedesignofcomponents.Softwaredesign,includingthemainprogram,displayprogram,pulsecountersubroutine,keyboardprocedures,serialcommunicationsubroutinethesefivemodules.Throughthehardwarecircuitandsoftwaredesignofthesystemtocoordinatethecompletionofallthefeaturesrequired.CC400hardwaresingle-chipintegratedcircuitchipwirelesstransceiverand89C51single-chipmicrocomputerasthecore,withappropriateexternalcircuitry,handsetwithakeyboardandLEDdisplay,andthroughtheserialdatawillbecopiedtothecomputer.Softwaredesignusingassemblylanguageprogrammingtotheentiresystem.Thesystemappliestoelectricity,gas,wirelessCollectingheat.Throughtheconstructionofautomaticmeterreadingsystemstopowercompaniesandpropertymanagementsectorgreatlyenhancedtheefficiencyandcost-effectiveandfundamentalsolutiontothehousemeterreadingandmeterreadingchargestotheuserthetroubleofstaff,butalsotoavoidtheunnecessarydisputes.Keywords:Single-ChipMicrocomputer;CC400;LED目录第1章绪论............................................................................................................11.1引言.........................................................................................................11.2无线抄表应用系统应用的意义...............................................................11.3无线抄表应用系统的总体方案设计.......................................................2第2章无线抄表应用系统的硬件设计................................................................52.1信号发射装置的硬件设计.......................................................................52.1.1信号发射装置硬件设计方案论证................................................52.1.2信号发射装置的单片机最小系统设计........................................52.1.3对CC400和AT89C51芯片的介绍..............................................62.1.4信号采集......................................................................................112.1.5信号存储及转换..........................................................................122.1.6看门狗电路..................................................................................132.1.7CC400和89C51接口电路..........................................................162.2手持机硬件装置电路设计.....................................................................182.2.1手持机硬件装置电路设计方案论证..........................................182.2.2手持机装置电路的单片机最小系统设计..................................192.2.3信号接收模块..............................................................................192.2.4按键电路......................................................................................202.2.5显示电路模块..............................................................................212.2.6串行通信口电路..........................................................................25第3章无线抄表应用系统软件设计..................................................................273.1计算机语言.............................................................................................273.2主程序设计.............................................................................................293.2.1信号发射装置主程序设计..........................................................293.2.2信号接收装置(手持机)主程序设计......................................303.3子程序设计.............................................................................................313.3.1软件脉冲计数器子程序设计......................................................313.3.2键盘子程序设计..........................................................................323.3.3显示子程序设计..........................................................................333.3.4串行通信子程序设计..................................................................34第4章程序清单..................................................................................................354.1信号发射系统程序清单.........................................................................354.2信号接收系统(手持机)程序清单.....................................................37第5章结论..........................................................................................................43参考文献................................................................................................................44致谢.

1 / 53
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功