亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

master

  • XA-S3 I2C driver software

    This application note demonstrates how to write an Inter Integrated Circuit bus driver (I2C) for the XA-S3 16-bitMicrocontroller from Philips Semiconductors.Not only the driver software is given. This note also contains a set of (example) interface routines and a smalldemo application program. All together it offers the user a quick start in writing a complete I2C system applicationwith the PXAS3x.The driver routines support interrupt driven single master transfers. Furthermore, the routines are suitable foruse in conjunction with real time operating systems.

    標(biāo)簽: software driver XA-S I2C

    上傳時(shí)間: 2013-11-02

    上傳用戶:zw380105939

  • I2C slave routines for the 87L

    The 87LPC76X Microcontroller combines in a small package thebenefits of a high-performance microcontroller with on-boardhardware supporting the Inter-Integrated Circuit (I2C) bus interface.The 87LPC76X can be programmed both as an I2C bus master, aslave, or both. An overview of the I2C bus and description of the bussupport hardware in the 87LPC76X microcontrollers appears inapplication note AN464, Using the 87LPC76X Microcontroller as anI2C Bus master. That application note includes a programmingexample, demonstrating a bus-master code. Here we show anexample of programming the microcontroller as an I2C slave.The code listing demonstrates communications routines for the87LPC76X as a slave on the I2C bus. It compliments the program inAN464 which demonstrates the 87LPC76X as an I2C bus master.One may demonstrate two 87LPC76X devices communicating witheach other on the I2C bus, using the AN464 code in one, and theprogram presented here in the other. The examples presented hereand in AN464 allow the 87LPC76X to be either a master or a slave,but not both. Switching between master and slave roles in amultimaster environment is described in application note AN435.The software for a slave on the bus is relatively simple, as theprocessor plays a relatively passive role. It does not initiate bustransfers on its own, but responds to a master initiating thecommunications. This is true whether the slave receives or transmitsdata—transmission takes place only as a response to a busmaster’s request. The slave does not have to worry about arbitrationor about devices which do not acknowledge their address. As theslave is not supposed to take control of the bus, we do not demandit to resolve bus exceptions or “hangups”. If the bus becomesinactive the processor simply withdraws, not interfering with themaster (or masters) on the bus which should (hopefully) try toresolve the situation.

    標(biāo)簽: routines slave I2C 87L

    上傳時(shí)間: 2013-11-19

    上傳用戶:shirleyYim

  • 87LPC76X的IIC從程序

    Presents short and simple I2C software routines that support onlyslave (rather than master or master & slave) operation and an ASMdemonstration program. The slave-only software in this app notecomplements the master mode software presented in AN464, Usingthe 87LPC76X microcontroller as an I2C bus master.

    標(biāo)簽: 76X LPC IIC 87

    上傳時(shí)間: 2013-11-22

    上傳用戶:1039312764

  • Using the 87LPC76X microcontro

    I2C interface, is a very powerful tool for system designers. Theintegrated protocols allow systems to be completely software defined.Software development time of different products can be reduced byassembling a library of reusable software modules. In addition, themultimaster capability allows rapid testing and alignment ofend-products via external connections to an assembly-line computer.The mask programmable 87LPC76X and its EPROM version, the87LPC76X, can operate as a master or a slave device on the I2Csmall area network. In addition to the efficient interface to thededicated function ICs in the I2C family, the on-board interfacefacilities I/O and RAM expansion, access to EEPROM andprocessor-to-processor communications.

    標(biāo)簽: microcontro Using 76X LPC

    上傳時(shí)間: 2013-12-30

    上傳用戶:Artemis

  • 基于多點(diǎn)網(wǎng)絡(luò)的水廠自動(dòng)監(jiān)控系統(tǒng)設(shè)計(jì)

    基于多點(diǎn)網(wǎng)絡(luò)的水廠自動(dòng)監(jiān)控系統(tǒng)設(shè)計(jì)Design of MPI Based Automatic Monitoring and Control System in Water Works劉 美 俊(湖南工程學(xué)院,湘潭411101)摘要針對(duì)水廠工作水泵多、現(xiàn)場離控制站距離遠(yuǎn)的特點(diǎn),提出了一種基于MPI多點(diǎn)網(wǎng)絡(luò)的自動(dòng)監(jiān)控系統(tǒng)的設(shè)計(jì)方法,分析了系統(tǒng)的工作原理,介紹了系統(tǒng)中數(shù)據(jù)的采集與處理、主站與從站的通信原理以及系統(tǒng)軟件的設(shè)計(jì)。由于這種系統(tǒng)的主、從站PLC之間采用MPI網(wǎng)絡(luò)通信,具有運(yùn)行可靠、性能價(jià)格比高的特點(diǎn),所以適用于中小規(guī)模水廠的分布式監(jiān)控場合。關(guān)鍵詞多點(diǎn)網(wǎng)絡(luò)主站從站監(jiān)控系統(tǒng)Abstract Ina ccordancew ithth efe atuersof w aterw orks,i. e. ,manyp umpsin o perationa ndth ep umps, farfor mt hec ontrolst ation,th em ethodo fdesigninga na utomati(〕monitoringa ndc ontorlsy stemb asedo nM PIis p resented.Th eo perationalpr incipleo fth esy stemi san alyzed,th ed atac olection,data processing; communication between master station and slave station as wel as design and system software are discussed. Because MPI network communicationis used among master station, slave stations and PLC, the system is reliable and high cost-efective. It is, suitable for smal and mediumsized water works for distrbuted monitoring and control.Keywords MPI masterst ation Slaves tation Monitoringa ndc ontorlsy stem 自來 水 廠 的自動(dòng)控制系統(tǒng)一般分為兩大部分,一對(duì)組態(tài)硬件要求較高,投資較大。相對(duì)而言,MPI網(wǎng)是水源地深水泵的工作控制,一是水廠區(qū)變頻恒壓供絡(luò)速度可達(dá)187.5 M bps,通過一級(jí)中繼器傳輸距離可水控制,兩部分的實(shí)際距離通常都比較遠(yuǎn)。某廠水源達(dá)Ikm 。根據(jù)水廠的具體情況,確定以MPI方式組地有3臺(tái)深井泵給水廠區(qū)的蓄水池供水。水廠區(qū)的成網(wǎng)絡(luò),主站PLC為S7-300系列的CPU3121FM,從任務(wù)是對(duì)水池的水進(jìn)行消毒處理后,通過加壓泵向管站為S7-200系列的CPU222。這樣既滿足了系統(tǒng)要路恒壓供水。選用Siemens公司的S7系列可編程控求,又相對(duì)于Profibus網(wǎng)絡(luò)節(jié)省了三分之一的成本,制器(PLC)和上位機(jī)組成實(shí)時(shí)數(shù)據(jù)采集和監(jiān)控系統(tǒng), 這種分布式監(jiān)控系統(tǒng)具有較高的性能價(jià)格比。系統(tǒng)對(duì)深水泵進(jìn)行遠(yuǎn)程控制,對(duì)供水泵采用變頻器進(jìn)行恒中PLC的物理層采用RS - 485接口,網(wǎng)絡(luò)延伸選用壓控制以保證整個(gè)水廠的電機(jī)設(shè)備安全、可靠地運(yùn)帶防雷保護(hù)的中繼器,使系統(tǒng)的安全運(yùn)行得到了保行。證。MPI網(wǎng)絡(luò)的拓?fù)浣Y(jié)構(gòu)如圖1所示。1 多點(diǎn)網(wǎng)絡(luò)(NWI)監(jiān)控系統(tǒng)的組成Sie me ns 公司S7系列PLC通常有MP」多點(diǎn)網(wǎng)絡(luò)與Profibus現(xiàn)場總線網(wǎng)絡(luò)兩種組網(wǎng)方式。Profibus現(xiàn)場總線的應(yīng)用目前較為普遍,通用性較好,它由Profibus一DP, Profibus一FMS, Profibus一PA組成。Profibus - DP型用于分散外設(shè)間的數(shù)據(jù)傳輸,傳輸速率為9.6kbps一12Mbps,主要用于現(xiàn)場控制器與分散1/0之間的通信,可滿足交直流調(diào)速系統(tǒng)快速響應(yīng)的時(shí)間要求,特別適合于加工自動(dòng)化領(lǐng)域的應(yīng)用;Profibus - FMS主要解決車間級(jí)通信問題,完成中等傳輸速度的循環(huán)或非循環(huán)數(shù)據(jù)交換任務(wù),適用于紡織、樓宇自動(dòng)化、可編程控制器、低壓開關(guān)等;Profibus - PA型采用了OSI模型的物理層和數(shù)據(jù)鏈路層,適用于過程自動(dòng)化的總線類型。

    標(biāo)簽: 多點(diǎn) 網(wǎng)絡(luò) 系統(tǒng)設(shè)計(jì) 自動(dòng)監(jiān)控

    上傳時(shí)間: 2013-10-09

    上傳用戶:fac1003

  • HITECH與電腦的通信協(xié)議

    1 Communication Protocol (Computer as master)   The communication protocol describes here allows your computer to access 4096 internal registers (W0000-W4095) and 1024 internal relays (B0000-B1023) in the Workstation..   1.1 Request Message Format   Request message is a command message to be sent from the computer to the Workstation. The data structure of request message is shown below. Note that numbers are always in hexadecimal form and converted into ASCII characters. For example, Workstation unit number 14 will appear in the message as character 0(30h) followed by character E(45h); a BCC of 5Ah will appear in the message as character 5(35h) followed by character A(41h). 

    標(biāo)簽: HITECH 電腦 通信協(xié)議

    上傳時(shí)間: 2013-10-28

    上傳用戶:cxl274287265

  • 通信IP網(wǎng)BFD應(yīng)用的研究

    通信IP網(wǎng)作為實(shí)時(shí)業(yè)務(wù)傳輸載體,要求能夠?qū)ο噜徬到y(tǒng)之間通信故障進(jìn)行快速檢測,在出現(xiàn)故障時(shí)可以快速切換到備份鏈路,以保證實(shí)時(shí)數(shù)據(jù)不間斷傳輸。在研究BFD協(xié)議原理的基礎(chǔ)上,根據(jù)通信IP網(wǎng)運(yùn)行中出現(xiàn)的問題,應(yīng)用BFD雙向快速檢測功能,實(shí)現(xiàn)了VRRP的master/Backup狀態(tài)毫秒級(jí)切換,并利用BFD會(huì)話檢測靜態(tài)路由所在鏈路的狀態(tài),實(shí)現(xiàn)一跳和多跳的靜態(tài)路由自動(dòng)切換,提高了通信IP網(wǎng)的可靠性。

    標(biāo)簽: BFD 通信IP網(wǎng)

    上傳時(shí)間: 2013-11-09

    上傳用戶:wivai

  • 1-Wire總線主機(jī)

    Abstract: Communication with 1-Wire slave devices requires a 1-Wire master. There are numerous ways to build a 1-Wire master (see reference design 4206, "Choosing the Right 1-Wire master for Embedded Applications"). Thisdocument describes the DS1WM, a synthesizable 1-Wire master that can be implemented in an application-specificintegrated circuit (ASIC) or field-programmable gate array (FPGA).

    標(biāo)簽: Wire 總線 主機(jī)

    上傳時(shí)間: 2014-12-22

    上傳用戶:xanxuan

  • LabVIEW for Everyone(經(jīng)典英文書籍)

    The #1 Step-by-Step Guide to labviewNow Completely Updated for labview 8!   master labview 8 with the industry's friendliest, most intuitive tutorial: labview for Everyone, Third Edition. Top labview experts Jeffrey Travis and Jim Kring teach labview the easy way: through carefully explained, step-by-step examples that give you reusable code for your own projects!   This brand-new Third Edition has been fully revamped and expanded to reflect new features and techniques introduced in labview 8. You'll find two new chapters, plus dozens of new topics, including Project Explorer, AutoTool, XML, event-driven programming, error handling, regular expressions, polymorphic VIs, timed structures, advanced reporting, and much more. Certified labview Developer (CLD) candidates will find callouts linking to key objectives on NI's newest exam, making this book a more valuable study tool than ever. Not just what to d why to do it! Use labview to build your own virtual workbench master labview's foundations: wiring, creating, editing, and debugging VIs; using controls and indicators; working with data structures; and much more Learn the "art" and best practices of effective labview development NEW: Streamline development with labview Express VIs NEW: Acquire data with NI-DAQmx and the labview DAQmx VIs NEW: Discover design patterns for error handling, control structures, state machines, queued messaging, and more NEW: Create sophisticated user interfaces with tree and tab controls, drag and drop, subpanels, and more Whatever your application, whatever your role, whether you've used labview or not, labview for Everyone, Third Edition is the fastest, easiest way to get the results you're after!

    標(biāo)簽: Everyone LabVIEW for 英文

    上傳時(shí)間: 2013-10-14

    上傳用戶:shawvi

  • zigbee技術(shù)及應(yīng)用下載

    ZigBee技術(shù)是一種應(yīng)用于短距離范圍內(nèi),低傳輸數(shù)據(jù)速率下的各種電子設(shè)備之間的無線通信技術(shù)。ZigBee名字來源于蜂群使用的賴以生存和發(fā)展的通信方式,蜜蜂通過跳ZigZag形狀的舞蹈來通知發(fā)現(xiàn)的新食物源的位置、距離和方向等信息,以此作為新一代無線通訊技術(shù)的名稱。ZigBee過去又稱為“HomeRF Lite”、“RF-EasyLink”或“FireFly”無線電技術(shù),目前統(tǒng)一稱為ZigBee技術(shù)。 2、ZigBee技術(shù)的特點(diǎn)   自從馬可尼發(fā)明無線電以來,無線通信技術(shù)一直向著不斷提高數(shù)據(jù)速率和傳輸距離的方向發(fā)展。例如:廣域網(wǎng)范圍內(nèi)的第三代移動(dòng)通信網(wǎng)絡(luò)(3G)目的在于提供多媒體無線服務(wù),局域網(wǎng)范圍內(nèi)的標(biāo)準(zhǔn)從IEEE802.11的1Mbit/s到IEEE802.11g的54Mbit/s的數(shù)據(jù)速率。而當(dāng)前得到廣泛研究的ZigBee技術(shù)則致力于提供一種廉價(jià)的固定、便攜或者移動(dòng)設(shè)備使用的極低復(fù)雜度、成本和功耗的低速率無線通信技術(shù)。這種無線通信技術(shù)具有如下特點(diǎn):   功耗低:工作模式情況下,ZigBee技術(shù)傳輸速率低,傳輸數(shù)據(jù)量很小,因此信號(hào)的收發(fā)時(shí)間很短,其次在非工作模式時(shí),ZigBee節(jié)點(diǎn)處于休眠模式。設(shè)備搜索時(shí)延一般為30ms,休眠激活時(shí)延為15ms,活動(dòng)設(shè)備信道接入時(shí)延為15ms。由于工作時(shí)間較短、收發(fā)信息功耗較低且采用了休眠模式,使得ZigBee節(jié)點(diǎn)非常省電,ZigBee節(jié)點(diǎn)的電池工作時(shí)間可以長達(dá)6個(gè)月到2年左右。同時(shí),由于電池時(shí)間取決于很多因素,例如:電池種類、容量和應(yīng)用場合,ZigBee技術(shù)在協(xié)議上對(duì)電池使用也作了優(yōu)化。對(duì)于典型應(yīng)用,堿性電池可以使用數(shù)年,對(duì)于某些工作時(shí)間和總時(shí)間(工作時(shí)間+休眠時(shí)間)之比小于1%的情況,電池的壽命甚至可以超過10年。   數(shù)據(jù)傳輸可靠:ZigBee的媒體接入控制層(MAC層)采用talk-when-ready的碰撞避免機(jī)制。在這種完全確認(rèn)的數(shù)據(jù)傳輸機(jī)制下,當(dāng)有數(shù)據(jù)傳送需求時(shí)則立刻傳送,發(fā)送的每個(gè)數(shù)據(jù)包都必須等待接收方的確認(rèn)信息,并進(jìn)行確認(rèn)信息回復(fù),若沒有得到確認(rèn)信息的回復(fù)就表示發(fā)生了碰撞,將再傳一次,采用這種方法可以提高系統(tǒng)信息傳輸?shù)目煽啃浴M瑫r(shí)為需要固定帶寬的通信業(yè)務(wù)預(yù)留了專用時(shí)隙,避免了發(fā)送數(shù)據(jù)時(shí)的競爭和沖突。同時(shí)ZigBee針對(duì)時(shí)延敏感的應(yīng)用做了優(yōu)化,通信時(shí)延和休眠狀態(tài)激活的時(shí)延都非常短。   網(wǎng)絡(luò)容量大:ZigBee低速率、低功耗和短距離傳輸?shù)奶攸c(diǎn)使它非常適宜支持簡單器件。ZigBee定義了兩種器件:全功能器件(FFD)和簡化功能器件(RFD)。對(duì)全功能器件,要求它支持所有的49個(gè)基本參數(shù)。而對(duì)簡化功能器件,在最小配置時(shí)只要求它支持38個(gè)基本參數(shù)。一個(gè)全功能器件可以與簡化功能器件和其他全功能器件通話,可以按3種方式工作,分別為:個(gè)域網(wǎng)協(xié)調(diào)器、協(xié)調(diào)器或器件。而簡化功能器件只能與全功能器件通話,僅用于非常簡單的應(yīng)用。一個(gè)ZigBee的網(wǎng)絡(luò)最多包括有255個(gè)ZigBee網(wǎng)路節(jié)點(diǎn),其中一個(gè)是主控(master)設(shè)備,其余則是從屬(Slave)設(shè)備。若是通過網(wǎng)絡(luò)協(xié)調(diào)器(Network Coordinator),整個(gè)網(wǎng)絡(luò)最多可以支持超過64000個(gè)ZigBee網(wǎng)路節(jié)點(diǎn),再加上各個(gè)Network Coordinator可互相連接,整個(gè)ZigBee網(wǎng)絡(luò)節(jié)點(diǎn)的數(shù)目將十分可觀。   兼容性:ZigBee技術(shù)與現(xiàn)有的控制網(wǎng)絡(luò)標(biāo)準(zhǔn)無縫集成。通過網(wǎng)絡(luò)協(xié)調(diào)器(Coordinator)自動(dòng)建立網(wǎng)絡(luò),采用載波偵聽/沖突檢測(CSMA-CA)方式進(jìn)行信道接入。為了可靠傳遞,還提供全握手協(xié)議。

    標(biāo)簽: zigbee

    上傳時(shí)間: 2013-11-24

    上傳用戶:siguazgb

主站蜘蛛池模板: 衡阳市| 屯昌县| 当涂县| 东阿县| 海丰县| 英超| 阜阳市| 龙山县| 炉霍县| 九江县| 河南省| 额敏县| 博客| 富锦市| 定日县| 青铜峡市| 武汉市| 垦利县| 乌鲁木齐市| 阿巴嘎旗| 正蓝旗| 德庆县| 梨树县| 泸西县| 临湘市| 娱乐| 梨树县| 宜都市| 绵阳市| 阜康市| 马鞍山市| 忻州市| 金华市| 运城市| 漳州市| 乌鲁木齐县| 濮阳县| 保德县| 孝昌县| 肃宁县| 色达县|