1基于单片机的暖气表设计摘要:针对我国大部分地区仍在使用按面积收取采暖费这一不合理现象,本课题基于单片机技术、计算机技术、网络传输技术设计了暖气表,该系统由户机、采集器、PC机三部分构成,户机主要测量每户进、出水的温度和水的流量;采集器收集户机所得到的数据;PC机将采集器得到的数据进行计算,得出每户所消耗的热量。按每户所消耗的热量计算采暖费,有利于提高居民节约能源的意识,同时也能显现收费的公平性。关键词:单片机、数据采集、暖气表BasedonsinglechipmicrocomputerheatingtabledesignAbstract:InmostareasinChinaarestillinuseaccordingtotheareaofheatingchargeforthisunreasonablephenomenon,thistopicisbasedonsinglechipcomputertechnology,computertechnology,networktransmissiontechnologytodesigntheheatingtable,thesystemconsistsofdoormachine,collector,PCmachinethreeparts,mainmeasureeverydoormachineinto,watertemperatureandwaterflow;Thedatacollectortocollectdoormachine;ThePCwillgetthedatacollectoriscalculated,itisconcludedthattheheatconsumptionbythehousehold.Thecaloriesconsumedbyhouseholdheatingfee,toimprovetheconsciousnessoftheresidentstosaveenergy,butalsocanshowthechargefairness.Keywords:SCM、dataacquisition,、heatingtable121绪论...................................................................................................................31.1课题研究意义.........................................................................................31.2国内外发展现状.....................................................................................31.2.1欧美国家采用计量热量的方法..........................................................31.2.2我国现行计量热量方式......................................................................41.3课题的研究内容.....................................................................................42户机设计...........................................................................................................42.1流量传感器............................................................................................52.1.1采用霍尔式传感器3120测量水的流量.............................................52.1.2家用水表的改装..................................................................................62.1.3流量的计算方式..................................................................................62.1.4霍尔式传感器与单片机STC12C5A60S2连接的电路.........................62.2温度传感器............................................................................................72.2.1采用温度传感器AD590测量温度......................................................72.2.2用温度传感器AD590测量.................................................................72.3户机其它部分的设计.............................................................................82.3.1户机的硬件设计..................................................................................82.3.2户机的通讯设计..................................................................................92.3.3户机的供电设计................................................................................103采集器设计.....................................................................................................11....................................................................................................................123.1采集器的构成............................................................................