资源描述:
《单片机实现温度远程显示.doc》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、题目:用单片机实现温度远程显示系别:自动化101姓名:魏雨指导教师:朱彬用单片机实现温度远程显示摘要随着数字技术的发展和计算机日益广泛的应用,单片机技术在各个领域得到了充分的应用。本设计以AT89C51单片机设计开发平台,结合DS18B20温度传感器,LCD液晶显示,LED数码管,RS—485远程通信,按键和报警几部分电路,构成了远程温度采集与显示系统。远程通信采用RS—485串行通讯的标准,通过DS18B20进行现场总线的温度采集,然后将温度数据传送入单片机进行处理,具有巡查速度快,扩展性好,
2、成本低的特点。本设计中的温度采集系统充分发挥了AT89C51单片机的特点,结合现有技术,大大降低了电路的设计复杂度,该系统具有温控准确,操作界面良好,稳定性高,抗干扰能力强等优点。使用RS-485总线,一对双绞线就能实现多站联网,构成分布式系统,设备简单,价格低廉,能进行长距离通信的特点使其得到了广泛的应用。本系统能够同时检测4路温度,检测温度的范围为55~125摄氏度。本设计采用AT89C51八位单片机实现,单片机软件编程的自由度大,可通过编程实现各种各样的算术算法和逻辑控制,而且体积小,硬件
3、实现较简单,安装方便。基于单片机的温度采集系统广泛应用与采集计算机、自动测试、微电子和自动控制等技术,不仅具有信号采集方便,简单和灵活性大等优点,而且可以大幅度提高被检测温度的技术指标。关键词:单片机RS—485总线数码管显示数据转换键盘处理AbstractWiththedevelopmentofdigitaltechnologyandtheincreasinguseofcomputers,microcontrollertechnologyinvariousfieldshasmadefullap
4、plication.ThisdesignwithAT89C51single-chipmicrocomputerdesigndevelopmentplatform,combinedwithDS18B20temperaturesensor,LCDliquidcrystaldisplay,LEDdigitaltube,RS-485remotecommunication,buttonandalarmpartscircuit,constitutetheremotetemperatureacquisitio
5、nanddisplaysystem.TheremotecommunicationusingRS-485serialcommunicationstandards,throughtheDS18B20infieldbustemperatureacquisition,andthenwilltemperaturedatatransferintosinglechipmicrocomputerprocessing,hasthesearchspeed,goodexpansibility,lowcostchara
6、cteristics.ThedesignofthetemperatureacquisitionsystemgivefullplaytothecharacteristicsofthesinglechipmicrocomputerAT89C51,combinedwiththeexistingtechnology,greatlyreducesthecircuitdesigncomplexity,thissystemhasaccuratetemperaturecontrol,interfaceisgoo
7、d,highstability,stronganti-jammingabilityetc.UsingRS-485bus,apairoftwistedpaircanachievemuchstationnetworking,adistributedsystem,theequipmentissimple,thepriceislow,abletolongdistancecommunicationcharacteristicsmakeithasbeenwidelyused.Thissystemcansim
8、ultaneouslydetection4roadtemperature,testingtemperaturerangefor55~125degreesCelsius.ThisdesignUSEStheeightsinglechipmicrocomputerAT89C51,single-chipmicrocomputersoftwareprogrammingfreedombig,canthroughtheprogrammingtorealizeallkindsofarithmeticalgori