第一章 數(shù)據(jù)通信基礎(chǔ) 第二章 通用串行通信標(biāo)準(zhǔn)和通用MODEM命令 第三章 嵌入式匯編語言開發(fā)通信程序 第四章 MSCOMM控件應(yīng)用 第五章 線程開發(fā)... ......................
上傳時(shí)間: 2013-10-14
上傳用戶:swaylong
以太網(wǎng)和CAN總線應(yīng)用廣泛,但由于其通信協(xié)議不同,兩種總線器件間無法進(jìn)行數(shù)據(jù)通信,因此,設(shè)計(jì)了基于CP2200與C8051F040的以太網(wǎng)總線與CAN總線接口轉(zhuǎn)換電路,并給出部分相關(guān)硬件電路與軟件設(shè)計(jì)分析。在保證數(shù)據(jù)完整和協(xié)議可靠的前提下,通過握手協(xié)議和簡(jiǎn)化的以太網(wǎng)協(xié)議,不僅實(shí)現(xiàn)了以太網(wǎng)數(shù)據(jù)與CAN數(shù)據(jù)的轉(zhuǎn)發(fā),同時(shí)還順利的解決了以太網(wǎng)的高速性與CAN的低速率沖突,以及兩者數(shù)據(jù)包之間的大小不同的矛盾。 Abstract: In the development of actual application, Ethernet and CAN bus are used very extensively. Owing to its various communication protocols, the communicating between two kinds of bus device can’t be carried out. Therefore, in order to solve this problem, the Ethernet-CAN bus interface circuit based on CP2200 and C8051F040 was designed in this paper, and part of the related hardware circuit and software design analysis were given. On the condition of data’s integrity and protocols’reliability, through the handshaking protocols and the simplified the Ethernet protocol, not only the data switching between CAN and Ethernet was realized, but also the differ in velocity and packet size was solved.
標(biāo)簽: C8051F040 CAN 以太網(wǎng) 轉(zhuǎn)換
上傳時(shí)間: 2013-10-15
上傳用戶:Ants
Linear 公司的LTC4310是絕緣的雙向I2C總線通信器件,每個(gè)器件可把I2C邏輯狀態(tài)編碼成信號(hào),通過絕緣層傳輸?shù)搅硪粋€(gè)器件.接收器件解碼,并驅(qū)動(dòng)I2C總線到適當(dāng)?shù)拇_邏輯狀態(tài).主要用在絕緣的I2C, SMBus和PMBus 接口,絕緣電源,以太網(wǎng)供電和正到負(fù)電源通信.本文介紹了LTC4310主要特性,典型應(yīng)用以及多種應(yīng)用電路框圖.
上傳時(shí)間: 2013-11-02
上傳用戶:trepb001
摘要:在工業(yè)自動(dòng)控制中,單片機(jī)與PLC的遠(yuǎn)距離通信是一個(gè)難點(diǎn)與熱點(diǎn)問題。本文設(shè)計(jì)了S7-200PLC與PIC16F877單片機(jī)實(shí)現(xiàn)遠(yuǎn)距離串行通信的硬件連接和軟件實(shí)現(xiàn)方法。本文采用了MAX485E芯片進(jìn)行TTL電平與差分信號(hào)之間的轉(zhuǎn)換,使用RS-485端口和半雙工模式進(jìn)行通信。最后通過異或校驗(yàn)碼對(duì)接收到的數(shù)據(jù)進(jìn)行核對(duì),以進(jìn)一步提高數(shù)據(jù)傳輸?shù)目煽啃?。?shí)驗(yàn)證明,該方法成功實(shí)現(xiàn)了單片機(jī)與PLC的遠(yuǎn)距離通信,并且具有開發(fā)簡(jiǎn)單,抗干擾能力強(qiáng)的特點(diǎn),具有一定實(shí)用價(jià)值。關(guān)鍵詞:?jiǎn)纹瑱C(jī) PLC 串行通信
標(biāo)簽: PLC 單片機(jī) 遠(yuǎn)距離通信
上傳時(shí)間: 2014-12-27
上傳用戶:YUANQINHUI
在開放式數(shù)控系統(tǒng)結(jié)構(gòu)模型的基礎(chǔ)上,研究了基于ISA總線的DSP通信控制原理。采用中斷方式完成了PC機(jī)和DSP之間的通信。介紹了以DriverWorks為工具開發(fā)ISA設(shè)備WDM驅(qū)動(dòng)程序的方法,探討了中斷處理、驅(qū)動(dòng)程序與應(yīng)用程序之間的通信,簡(jiǎn)要說明了驅(qū)動(dòng)程序的安裝與調(diào)試。通過調(diào)試,系統(tǒng)設(shè)計(jì)運(yùn)行穩(wěn)定。 Abstract: The ISA bus and DSP correspondence control principle is investigated in the basis of the existing open architecture numerical control system.The interrupt method is used to realize the communication between PC and DSP based on the ISA bus.The methods of WDM driver exploitation for ISA device using Driver Works are introduced.The main process of driver program and the keys such as handle interrupt and the communication between the drivers and application are presented.And how to debug and install the drive is explained.
標(biāo)簽: ISA DSP 總線 計(jì)算機(jī)
上傳時(shí)間: 2013-11-04
上傳用戶:kang1923
為了解決磁放大器性能測(cè)試過程中,需要對(duì)其供給不同數(shù)值恒定電流的問題,設(shè)計(jì)了一種基于DAC7512和單片機(jī)的數(shù)控恒流源系統(tǒng)。該系統(tǒng)采用AT89C51作為主控器件,將計(jì)算機(jī)發(fā)送的電流控制字命令轉(zhuǎn)換為D/A轉(zhuǎn)換器控制字,通過模擬SPI通信接口,寫D/A控制字到DAC7512,從而控制其輸出相應(yīng)數(shù)字電壓值,經(jīng)差動(dòng)縮放電路、電壓/電路變換電路和功率驅(qū)動(dòng)電路,最后輸出恒定電流。實(shí)驗(yàn)結(jié)果表明,恒流源輸出電流調(diào)節(jié)范圍為-45~+45 mA、精度為±0.1 mA,分辨率達(dá)0.024 4 mA,具有應(yīng)用靈活,外圍電路簡(jiǎn)單,可靠性高的特點(diǎn)。該數(shù)控直流恒流源也可為相關(guān)產(chǎn)品的測(cè)試系統(tǒng)研發(fā)提供參考。 Abstract: In order to solve the need to supply different values constant current for the magnetic amplifier in testing process, numerical control constant current source system was designed based on DAC7512 chip and microcontroller technology. The system used the AT89C51 as the main chip, which can convert the current control word from computer into to D/A control words. And the system wrote D/A control word into the DAC7512 chip to control the output voltage value by the SPI communication interface, which can output corresponding constant current figures by scaling circuit, the V/I converter and power drive circuit. Experimental results show that the current source output current adjustment range is -45~+45mA, accuracy is ± 0.1mA, and resolution ratio is 0.024 4mA
標(biāo)簽: 7512 DAC 數(shù)控直流 恒流源
上傳時(shí)間: 2014-12-27
上傳用戶:invtnewer
摘要:介紹了采取專用電平轉(zhuǎn)換芯片MAX232實(shí)現(xiàn)PC機(jī)與MCS51單片機(jī)之間的串行通信的方法.通過對(duì)系統(tǒng)的通信方式選擇89C51通信波特率的設(shè)置、通信的設(shè)置,以及對(duì)接口電路的軟件和硬件的設(shè)計(jì)分析,展示了該電路的實(shí)用性.關(guān)鍵詞:微處理器;PC機(jī);串行通信;RS-232接口;MAX232芯片
標(biāo)簽: MCS 51 PC機(jī) 單片機(jī)串行
上傳時(shí)間: 2014-01-22
上傳用戶:shizhanincc
摘要:設(shè)計(jì)了基于單片機(jī)的罐道傾角數(shù)據(jù)采集系統(tǒng),介紹了系統(tǒng)的構(gòu)成、工作原理和流程圖,給出了單片機(jī)AT89S52與外圍器件的硬件接口電路。使用匯編語言和VisualBasic設(shè)計(jì)了PC機(jī)與單片機(jī)間的串行通信程序,并提出了數(shù)據(jù)趨勢(shì)曲線的繪制方法。設(shè)計(jì)的數(shù)據(jù)采集系統(tǒng)具有易實(shí)現(xiàn)、易編程、可移植、體積小、功耗低等優(yōu)點(diǎn)。關(guān)鍵詞:單片機(jī);數(shù)據(jù)采集系統(tǒng);罐道傾角;串行通信;VB
標(biāo)簽: 單片機(jī) 串行通信 數(shù)據(jù)采集 系統(tǒng)設(shè)計(jì)
上傳時(shí)間: 2013-11-19
上傳用戶:012345
一、實(shí)驗(yàn)?zāi)康?.了解串行通信的基本知識(shí);2.掌握用單片機(jī)串行口實(shí)現(xiàn)串行通信的方法。二、實(shí)驗(yàn)器材微機(jī)、示波器、萬用表、電源、AEDK仿真開發(fā)系統(tǒng),面包板一塊,MAX202C芯片一塊,電容、電阻、導(dǎo)線若干。三、實(shí)驗(yàn)原理此處僅介紹與本實(shí)驗(yàn)內(nèi)容密切相關(guān)的串行通信基本知識(shí),其它有關(guān)基本知識(shí)介紹請(qǐng)見本講義實(shí)驗(yàn)七。
上傳時(shí)間: 2013-10-17
上傳用戶:hongmo
摘要:本文介紹了TCP/IP協(xié)議、RTL8029的結(jié)構(gòu)特性以及PCI總線協(xié)議的特點(diǎn),給出了一種用P89C51RD2單片機(jī)控制以太網(wǎng)接口芯片RTL80內(nèi)實(shí)現(xiàn)以太網(wǎng)通信的設(shè)計(jì)方案,闡述了用EMP7128型CPLD實(shí)現(xiàn)單片機(jī)接口與PCI接口之間的轉(zhuǎn)換,以及TCP/IP協(xié)議的實(shí)硯關(guān)鍵詞:RTL8029,PCI總線,TCP/IP
標(biāo)簽: 8029 RTL 51單片機(jī) 控制
上傳時(shí)間: 2013-11-14
上傳用戶:thinode
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1