您好,欢迎访问三七文档
当前位置:首页 > 电子/通信 > 综合/其它 > 基于单片机AT89C51的语音温度计的设计
沈阳理工大学学士学位论文I摘要本系统是一个基于单片机AT89C51的语音温度计的设计,用来测量环境温度,整个设计系统分为5部分:单片机控制、温度传感器、液晶显示、语音报温以及键盘控制电路,整个设计是以AT89C51为核心,选用DS18B20单总线数字温度传感器,RT1602液晶显示器实现,液晶显示当前日期、时间和温度。当测量温度超过设定的温度上下限时,启动蜂鸣器和指示灯报警。温度显示稳定,且温度测量误差≤±1℃,温度值小数部分保留两位有效数字。增加了手动实时播报时间温度功能。LCD采用的是RT1602,它具有功耗低、体积小、显示内容丰富、超薄轻巧等优点,应用越来越广泛。整个设计其外围电路相对比较简单,实现容易。在本论文中附带了软件实现的流程图以及部分子程序以及各种硬件电路图。关键词:DS18B20;液晶显示;语音播报;声光报警沈阳理工大学学士学位论文IIAbstractThissystemisadesignofthespeechthermometeraccordingtothemicroprocessorAT89C51,whichisusedtomeasuretheenvironmenttemperature,Thewholedesignsystemisdividedinto5parts:Amicroprocessorcontrol,temperaturesensor,theLCDdisplay,thespeechreportandthekeyboardcontrolcircuit,atthesametime.ThewholedesigntakeAT89C51asthecore,choosetosinglebusdigitaltemperaturesensorDS18B20,DS1302serialclockchip,RT1602LCDmonitorrealization,LCDdisplaythecurrentdate,time,weeksandtemperature.Whenmeasuringtemperatureoversettemperaturefluctuationlimit,startwithlightalarmbuzzer.Temperaturedisplaystability,andtemperaturemeasurementerroracuities1℃,plusorminustemperaturethedecimalpartretainedtwosignificantdigits.Increasedmanualreal-timebroadcasttimetemperaturefunction.TheLCDIchooseisRT1602,itspowerconsumeislow,ithasmanyadvantages,forexample,thevolumeissmall,thecontentsisabundant,superthinandagileetc,anditsapplicationisbecomingmoreandmoreextensive.Thewholedesignliesinitsoutercircuitismuchmoresimple,anditcancarryoutmoreeasily.Inmythesis,thereareflowchartandpartsofsubprogramandvarioushardwarecircuitdiagrams.Keyword:DS18B20;LCD;speechfunction;soundingandlightalarm沈阳理工大学学士学位论文III目录1引言.........................................................................................................................................................12方案论证................................................................................................................................................32.1电源模块....................................................................................................................................32.2温度传感器模块.......................................................................................................................32.3显示模块....................................................................................................................................42.4键盘控制模块...........................................................................................................................52.5语音播报模块...........................................................................................................................53设计原理................................................................................................................................................63.1单片机模块................................................................................................................................63.1.1单片机介绍.....................................................................................................................63.1.2单片机外围电路设计..................................................................................................83.1.3AT89C51复位电路......................................................................................................93.1.4AT89C51时钟电路....................................................................................................103.2温度传感器模块.....................................................................................................................113.2.1DS18B20的测温原理................................................................................................113.2.2DS18B20与AT89C51的接口电路设计..............................................................123.3键盘控制模块.........................................................................................................................133.4报警模块..................................................................................................................................143.5液晶显示模块.........................................................................................................................153.6语音播报模块.........................................................................................................................163.6.1ISD1420语音芯片录放音电路设计.....................................................................183.6.2ISD1420与AT89C51接口电路设计....................................................................204软件部分..............................................................................................................................................214.1开发工具介绍.........................................................................................................................214.2系统的主程序设计................................................................................................................214.2.1键盘扫描子程序.........................................................................................................224.2.2测量温度子程序设计................................................................................................234.2.3报警子程序...
本文标题:基于单片机AT89C51的语音温度计的设计
链接地址:https://www.777doc.com/doc-2847003 .html