基于W5300的以太網(wǎng)和串口數(shù)據(jù)相互轉(zhuǎn)換系統(tǒng)設(shè)計(jì)
本文選題:以太網(wǎng) 切入點(diǎn):TCP/IP協(xié)議 出處:《制造業(yè)自動(dòng)化》2013年02期
【摘要】:針對(duì)傳統(tǒng)設(shè)備的串口傳輸速度慢而且聯(lián)網(wǎng)困難的特點(diǎn),提出了使用W5300和單片機(jī)C8051F120實(shí)現(xiàn)串口和以太網(wǎng)的數(shù)據(jù)相互轉(zhuǎn)換系統(tǒng)。使用RS232和RS485芯片接收和發(fā)送低速的串口數(shù)據(jù),使用單片機(jī)C8051F120作為核心處理芯片,使用W5300芯片進(jìn)行以太網(wǎng)數(shù)據(jù)的發(fā)送和接收,設(shè)計(jì)了具體的硬件電路,使用C語(yǔ)言完成了單片機(jī)的程序設(shè)計(jì)。由于W5300內(nèi)部集成了TCP/IP協(xié)議,所以單片機(jī)不需要編寫復(fù)雜的TCP/IP協(xié)議棧。此轉(zhuǎn)換系統(tǒng)能夠?qū)崿F(xiàn)傳統(tǒng)設(shè)備接入以太網(wǎng),達(dá)到了遠(yuǎn)程監(jiān)控的目的。實(shí)驗(yàn)結(jié)果表明,該轉(zhuǎn)換系統(tǒng)很好的實(shí)現(xiàn)了串口數(shù)據(jù)和以太網(wǎng)數(shù)據(jù)的相互轉(zhuǎn)換,具有簡(jiǎn)單可靠、傳輸效率高、穩(wěn)定性高、成本低等特點(diǎn),有一定的實(shí)用性和推廣價(jià)值。
[Abstract]:In view of the slow speed of serial port transmission and the difficulty of networking, a data conversion system between serial port and Ethernet using W5300 and C8051F120 is proposed.Using RS232 and RS485 chip to receive and transmit low-speed serial port data, using single-chip microcomputer C8051F120 as core processing chip, using W5300 chip to send and receive Ethernet data, the specific hardware circuit is designed.C language is used to complete the program design of single-chip computer.Because the TCP/IP protocol is integrated into the W5300, the MCU does not need to write complex TCP/IP protocol stack.This conversion system can realize the traditional equipment access Ethernet, and achieve the purpose of remote monitoring.The experimental results show that the conversion system has the characteristics of simple and reliable, high transmission efficiency, high stability, low cost and so on. It has certain practicability and popularization value.
【作者單位】: 北京印刷學(xué)院信息與機(jī)電學(xué)院;
【基金】:北京印刷學(xué)院校級(jí)資助項(xiàng)目(E-b-2012-34) 北京印刷學(xué)院校級(jí)重點(diǎn)資助項(xiàng)目(E-a-2012-25) 北京市屬高等學(xué)校人才強(qiáng)教計(jì)劃資助項(xiàng)目(PXM2010_014223_095557)
【分類號(hào)】:TP368.1;TP393.11
【相似文獻(xiàn)】
相關(guān)期刊論文 前10條
1 索明何;邢海霞;;基于Internet的嵌入式遠(yuǎn)程控制開(kāi)關(guān)設(shè)計(jì)與實(shí)現(xiàn)[J];科技信息;2010年35期
2 翟麗;唐鶴權(quán);石金華;;XPort在校園網(wǎng)機(jī)房“監(jiān)控系統(tǒng)”中的應(yīng)用[J];電氣自動(dòng)化;2006年02期
3 閆磊,李玉強(qiáng),賈昱,張建波;基于以太網(wǎng)的嵌入式系統(tǒng)研究[J];沈陽(yáng)工業(yè)大學(xué)學(xué)報(bào);2004年02期
4 司鳳山;;單片機(jī)上簡(jiǎn)單嵌入式Web服務(wù)器的設(shè)計(jì)與實(shí)現(xiàn)[J];計(jì)算機(jī)應(yīng)用與軟件;2008年05期
5 尚晨旭;邢化鋒;柴燕;高靜;;用單片機(jī)實(shí)現(xiàn)以太網(wǎng)卡通信的設(shè)計(jì)[J];電子工程師;2006年02期
6 韓菲;吳昊;;基于DSP的網(wǎng)絡(luò)傳輸設(shè)計(jì)與實(shí)現(xiàn)[J];計(jì)算機(jī)與數(shù)字工程;2006年06期
7 吳e,
本文編號(hào):1720719
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/1720719.html