ZigBee节点的液晶显示设计摘要针对传统有线监控系统中布局复杂、线路过多、成本过高、维护困难等诸多问题,采用无线传感网络技术,提出了基于ZigBee的无线温度传感器设计方案。该方案基于一个简单的数据包装协议SPP(SimplePacketProtocol),选用数字温度传感器DS18B20对温度进行采集,通过满足ZigBee规范的无线射频芯片CC2530传输采集到的温度数据,经接收芯片处理数据后用液晶屏1602显示出来。首先从理论上研究cc2530芯片的数据收发原理及lcd1602液晶显示器的显示原理给出了无线传感器的结构,和系统硬件及软件的设计方案和具体实现,并从硬件和软件方面考虑了低功耗设计的要求,随后通过IAR编程软件对cc2530和lcd1602进行程序的编写,最后以仿真实验验证并分析了基于zigbee技术的无线通信模块可以在较低功耗下实现数据的传输和接受并将所传送的信息通过液晶显示器加以显示出来。研究结果表明,该无线温度传感器可以实现较远距离的温度实时监测,具有结构简单、价格便宜、耗电量低、可靠性高、扩展性好、配件灵活等特点,在生产生活中有非常广泛的推广应用前景。关键字:无线传感网络;Zigbee协议;CC2430;DS18B20;LCD1602TheLiquidCrystalDisplayDesignZigBeeNodesABSTRACTThetraditionalwiredmonitoringsystemhassomeproblemssuchascomplexdesign,highexpensive,difficultservicing.So,weproposeaprogramthatiswirelesstemperaturesensorbasedontheZigBeetechnology.Wediscussedthesystemstructure,thedesignofsoftwareandhardwareoftemperaturesensorbasedonZigBeetechnology.Inthispaper,basedontheSimplePacketProtocol(SPP)ofZigBeeprotocalstack,ItakethetemperaturesensorDS18B20tocollectthetemperaturedata,usetheCC2530RFchiptotransmitthemessageandreadthedatefromtheLiquidCrystalDisplay(LCD)1602.FirstlyIstudiedthecc2530chipandtheprincipleoflcd1602theoreticallyandshownthestructuresofwirelesssensorcommunicationandthehardwareandsoftwaredesignwhichconsiderstherequirementoflow-power.ThenIprogrammedthesoftwareofcc2530andlcd1602throughIARwhichisjusttheprogrammingsoftware.FinallyIsimulatedtheresultsofthisexperimenttoprovetheachievmentintransmittingdatawithZigbeewirelesscommunicationmoduleatlowpoweruseandshowingthedataonthescreenoflcd1602.Theexperimentalresultsshowthatthewirelesstemperaturesensorhassimplestructure,lowpower,lowcost,highreliability,goodextensibilityandflexibleconfiguration.Thewirelsstemperaturesensorwillwidelyapplytoourproductionandliving.Keywords:wirelesssensornetwork;zigbeeprotocol;cc2530;ds18b20;lcd1602目录1引言......................................................31.1Zigbee概述及其特性.......................................31.1.1Zigbee概述............................................31.1.2Zigbee特性............................................31.2国内外ZigBee技术的现状及发展趋势........................31.2.1国内外Zigbee技术的发展现状............................31.2.2Zigbee发展趋势........................................31.3Zigbee网络的优势........................................42系统硬件电路设计......................................62.1单片机CC2530...........................................62.1.1CC2530简介............................................62.1.2CC2530引脚及功能描述..................................62.1.3CC2530应用电路图......................................72.2温度传感器设计..........................................82.2.1DS18B20简介...........................................82.2.2DS18B20引脚介绍.......................................82.2.3DS18B20工作原理.......................................92.31602液晶显示器.........................................102.3.11602液晶显...