資源描述:
《紅外技術(shù)的國內(nèi)外發(fā)展及現(xiàn)狀論文》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫。
1、摘要紅外無線數(shù)據(jù)傳輸系統(tǒng)是一種利用紅外線作為傳輸媒介的無線數(shù)據(jù)傳輸方式,它相對于無線電數(shù)據(jù)通信具有功耗低、價格便宜、低電磁干擾、高保密性等優(yōu)點,目前發(fā)展迅猛,尤其是在近距離無線數(shù)據(jù)通信中得到廣泛的運用。本文主要介紹基于51單片機(jī)的紅外無線數(shù)據(jù)傳輸系統(tǒng)的原理。在硬件設(shè)計原理的介紹中,主要分析了系統(tǒng)中NE555數(shù)據(jù)調(diào)制電路、紅外發(fā)射電路、紅外接收電路、DS18B20溫度傳感器電路、單片機(jī)外圍電路以及聲光報警電路。在系統(tǒng)軟件設(shè)計的介紹中,我們主要分析單片機(jī)串口通信協(xié)議、控制溫度傳感器采集數(shù)據(jù)、對數(shù)據(jù)的編解碼;而液晶顯示部分軟件則是為了具有更好的人機(jī)交互界面。通過調(diào)試后,本系統(tǒng)基本達(dá)
2、到預(yù)期要求,1、正確實現(xiàn)雙機(jī)通信功能,在2400波特率下通信距離達(dá)到7米左右;2、具有在超時通信不暢的情況下進(jìn)行報警提示功能;3、具有自動搜尋一幀數(shù)據(jù)起始位的功能,這樣可以有效防止外界的干擾;4、通過串口可以與PC機(jī)實現(xiàn)正確通信,可以作為計算機(jī)的紅外無線終端,完成數(shù)據(jù)的上傳和下放。因此本系統(tǒng)具有廣闊的實用價值。關(guān)鍵詞:AT89S52單片機(jī);數(shù)據(jù)采集;紅外通信;調(diào)制解調(diào);串口通信AbstractInfraredwirelessdatatransmissionsystemisawirelessdatatransfermethodthatusesinfraredasatransmi
3、ssionmedium,Comparedwiththeradiodatacommunication,ithasmanyadvantagesinpowerconsumption,Productioncosts,electromagneticinterference,andtheconfidentiality.Atpresent,thistechnologyisdevelopingrapidly,Inparticular,Itiswidelyusedinshort-rangewirelessdatacommunications,Inthispaper,weareintroduce
4、dinfraredwirelessdatatransmissionsystem’stheorythatbasedonthesingle-chipmicrocomputer51.Inthehardwaredesignprincipleintroduction,Wemainlyanalysisthesystem’sdatamodulationcircuitofNE555,infraredtransmitter,IRreceivercircuit,DS18B20temperaturesensorcircuit,microcontrollerperipheralcircuits,as
5、wellassoundandlightalarmcircuit.Inintroducingthesystemsoftwaredesign,WemainlyanalysisMCUserialcommunicationprotocol,tocontroltemperaturesensordatacollection,datacodec;And,Thesoftwareoftheliquidcrystaldisplayisbettertohavetheman-machineinterface.Throughdebugging,thesystemachievedtheexpectedg
6、oals,1,thesystemcancorrectachievedouble-communicationsfunctions,in2400baudrate,thecommunicationdistancecanreachabout7m;2,Ithasalarmfunctioninovertimecommunicationsimpededcircumstances;3,withanautomaticsearchfunctionofinitialdata,thiscaneffectivelypreventoutsideinterference;4,thesystemsandPC
7、cancommunicatethroughserialport,itcanbeusedasthecomputer’sinfraredwirelessterminalsandcompletedatauploadanddecentralization.Sothesystemhasbroadpracticalvalue.Keywords:AT89S52SCM;DataAcquisition;Infraredcommunication;Modem;SerialCommunication目錄1引言11.1紅外技術(shù)