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

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

Inter-Chip

  • 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.

    標簽: routines slave I2C 87L

    上傳時間: 2013-11-19

    上傳用戶:shirleyYim

  • Control System of Stepp ingMot

    提出了一個由AT89C52單片機控制步進電機的實例??梢酝ㄟ^鍵盤輸入相關數據, 并根據需要, 實時對步進電機工作方式進行設置, 具有實時性和交互性的特點。該系統可應用于步進電機控制的大多數場合。實踐表明, 系統性能優于傳統的步進電機控制器。關鍵詞: 單片機; 步進電動機; 直流固態繼電器; 實時控制Con trol System of Stepp ingMotor Ba sed on AT89C52 ChipM icrocomputerMENGWu2sheng, L ILiang (College of Automatization, Northwestern Polytechnical Unversity, Xipan 710072, China)ABSTRACT: A stepp ing motor control system based on AT89C52 chip microcomputer was described.The data can be inputwith keyboard, and stepp ingmotorwas controlled by these data. According to the demand, users can set the workingmodel of stepp ingmotor in real2time. This system can be widely used in stepp ing motor controlling. The p ractice showed that the performance of this system outdid the tradi tional stepp ing motor controller.KEY WORDS: Chip microcomputer; Stepp ingmotor; DCSSR; Real2time control

    標簽: Control System ingMot Stepp

    上傳時間: 2013-11-19

    上傳用戶:leesuper

  • 68HC05K0 Infra-red Remote Cont

    The MC68HC05K0 is a low cost, low pin countsingle chip microcomputer with 504 bytes of userROM and 32 bytes of RAM. The MC68HC05K0 isa member of the 68HC05K series of devices whichare available in 16-pin DIL or SOIC packages.It uses the same CPU as the other devices in the68HC05 family and has the same instructions andregisters. Additionally, the device has a 15-stagemulti-function timer and 10 general purposebi-directional I/0 lines. A mask option is availablefor software programmable pull-downs on all ofthe I/O pins and four of the pins are capable ofgenerating interrupts.The device is ideally suited for remote-controlkeyboard applications because the pull-downs andthe interrupt drivers on the port pins allowkeyboards to be built without any externalcomponents except the keys themselves. There isno need for external pull-up or pull-down resistors,or diodes for wired-OR interrupts, as these featuresare already designed into the device.

    標簽: Infra-red Remote Cont 05K

    上傳時間: 2014-01-24

    上傳用戶:zl5712176

  • 用C51寫的普通拼音輸入法源程序代碼

    用C51寫的普通拼音輸入法源程序代碼:原作使用了一個二維數組用以查表,我認為這樣比較的浪費空間,而且每個字表的索引地址要手工輸入,效率不高。所以我用結構體將其改寫了一下。就是大家現在看到的這個。  因為代碼比較的大,共有6,000多漢字,這樣就得要12,000 byte來存放GB內碼,所以也是沒辦法的.編譯結果約為3000h,因為大部分是索引表,代碼優化幾乎無效。    在Keil C里仿真芯片選用的是華邦的W77E58,它有32k ROM, 256B on-chip RAM, 1K on-chip SRAM (用DPTR1指針尋址,相當于有1K的片上xdata)。條件有限,沒有上片試驗,仿真而已。  打算將其移植到AVR上,但CodeAVRC與IAR EC++在結構體、指針的定義使用上似乎與C51不太一樣,現在還未搞定。還希望在這方面有經驗的網友能給予指導。 #include<stdio.h> char * py_ime(char *); void main(void){ while(1)    {     char input_string[]="yI";     xdata char chinese_string[255];     sprintf(chinese_string,"%s",py_ime(input_string));    }}

    標簽: C51 拼音輸入法 代碼 源程序

    上傳時間: 2013-10-30

    上傳用戶:cainaifa

  • 基于單片機的汽車多功能報警系統設計

    基于單片機的汽車多功能報警系統設計The Design of Automobile Multi-function AlarmingBased on Single Chip Computer劉法治趙明富寧睡達(河 南 科 技 學 院 ,新 鄉 453 00 3)摘要介紹了一種基于單片機控制的汽車多功能報警系統,它能對汽車的潤滑系統油壓、制動系統氣壓、冷卻系統溫度、輪胎欠壓及防盜進行自動檢測,并在發現異常情況時,發出聲光報警。闡述了該報警系統的硬件組成及軟件設計方法。關鍵詞單片機傳感器數模轉換報警Abstract Am ulti-fimctiona utomobilea larnungs ystemb asedo ns inglec hipc omputerco ntorlis in torducedin th isp aper.Th eo ilpr essuero flu bricatesystem, air pressure of braking system, temperature of cooling system, under pressure of tyre and guard against theft, detected automaticaly場thesystem. Audio and visual alarms wil be provided under abnormal conditions廠The hardware composition and software design of the system, described.Keywords Singlec hipc omputer Sensor Digital-t-oanaloguec onversion Alarmin 汽車多功能報苦器硬件系統設計根據 系 統 實際需要和產品性價比,選用ATMEL公司新生產的采用CMOs工藝的低功耗、高性能8位單片機AT89S52作為系統的控制器。AT89S52的片內有8k Bytes LSP Flash閃爍存儲器,可進行100(〕次寫、擦除操作;256Bytes內部數據存儲器(RAM);3 2 根可編程輸N輸出線;2個可編程全雙工串行通道;看門狗(WTD)電路等。系統由傳感器、單片機、模數轉換器、無線信號發射電路、指示燈驅動電路、聲光報警驅動電KD一9563,發出三聲二閃光。并觸發一個高電平,驅動無線信號發射電路。

    標簽: 單片機 汽車 多功能 報警

    上傳時間: 2013-11-09

    上傳用戶:gxmm

  • 雙單片機數據采集系統中TCPIP網絡模塊的實現

    隨著 微 電 子技術的飛速發展,電子產品越來越微型化,集成化,自動化,低廉化,進而推動著其它許多產業的發展。特別進人21世紀以來,生物技術與電子技術的結合,成為高科技領域的研究熱點。199()年由瑞士的Manz和Widmer首先提出的“微全分析系統”〔’〕(microto talan alysissy stems,即ptTAS),通俗地稱為“建在芯片上的實驗室”(Lab on a chip)或簡稱芯片實驗室(Lab chip),主要組成部分為電泳芯片,同時是進樣,分離和檢測為一體的微型裝置,其在電泳實驗中的高效檢測性能為生物化學分析儀器發展提供了一種借鑒。p.TAS廣泛應用于生物醫學、環境檢測、食品衛生、科學以及國防等眾多領域。目前 應 用 的大多為多通道的毛細管電泳芯片,這也是芯片發展的一個必然趨勢。這不僅對電泳芯片本身的設計和制作提出了更高的要求,也對傳感器和數據處理技術提出了新的挑戰。考慮成本,集成度,控制能力以及可靠性方面的因素,本系統采用單片機作為實時數據處理、控制以及通訊的硬件平臺。如果系統中既有實時的通信任務,同時又有其他實時任務,采用一個廉價的單片機,資源會比較緊張,不僅實現困難,結構復雜,而且效果可能不滿意。而采用高性能的處理器,又浪費了其有效資源,所以本系統采用兩個MCU協同工作,以并行/分布式多機的思想,構成了電泳芯 片核心的雙單片機系統結構。微全 分 析 系 統 進行的多項實時任務,可以劃分為以下 幾個模塊:①采集模塊。負責對外圍檢驗設備進行控 制以及對傳送過來的信號進行采集和分析;②交互模 塊。通過液晶顯示,鍵盤掃描,以及打印等實現實驗人 員對前端采集電路的交互操作;③雙單片機控制和通 信模塊。協調雙單片機之間的數據傳輸和指令傳輸 ;④網絡傳輸模塊。其中一個單片機通過以太網發送接 收數據到上位機。本文提出一種實時多任務的雙單片 機控制和通信系統[31的設計,一個MCU基于TCP /IP網絡模塊的實現。

    標簽: TCPIP 雙單片機 數據采集系統 網絡模塊

    上傳時間: 2013-11-15

    上傳用戶:wangdean1101

  • 基于ST62單片機的稱重顯示控制器

    一種基于ST62單片機的稱重顯示控制器A Weighing Display Controller Based on ST62 Single Chip Computer祛 FA(上海時博飛奧控制系統有限公司,上海201100)摘要在介紹了基于ST62單片機的基礎上,詳細描述了稱重顯控制器的硬件設計和軟件設計思路。該控制器結構簡單、操作方便、抗擾能力強等優點;具有較好的推廣應用價值。關鍵詞稱重顯示控制儀ST62單片機硬件設計軟件設計Abstract Ont heb asiso fin torductiono fST 62s inglec hipc omputer,th ed esignc oncrptof h ardwarea nds oftwarefo rw eighingd isplayc ontorleris d escrbed.The controler features simple structure, ease operation, powerful capability of anti-interference, etc.,it is wealth to be promoted into practicalapplicationsKeywords We妙噸display0 引言ST62s inglec hip Hardwared esign Softwaer design備 份 振 蕩器,振蕩器保護電路,上電復位及低壓檢測復稱 重 顯 示控制器是一種具有數字顯示、開關量輸出、定值控制和通信功能的以微機為操作核心的稱重控制裝置。它是電子衡器的重要基礎部件,直接影響電子衡器及電子稱重系統的功能和性能。與合適的傳感器及承重傳力復位系統組合可組成配料秤、料斗秤、定值秤、平臺秤、汽車秤等,廣泛應用于電力、化工、建筑、冶金、交通運輸、食品、軍工等部門,是進行自動稱重配料控制和生產過程自動化必不可少的重要檢測、控制裝置。隨著 稱 重 計量自動化水平的提高,對稱重顯示控制器的要求也越來越高。為實現低漂移、高穩定,本控制器采用低漂移、高增益放大器AD620和高分辨率的A/D轉換器CS5550。為提高穩定性和可靠性,采用集成度高的、抗干擾能力強的ST62單片機。

    標簽: ST 62 單片機 稱重

    上傳時間: 2013-10-29

    上傳用戶:釣鰲牧馬

  • 單片機系統“PC”失控的軟件措施

    單片機系統“PC”失控的軟件措施Software Measure of GettingO uto fC ontrolfo r“PC"in S ingleC hipC omputerS ystem謐 加 春 王 曉 基 雷 小 華(江 西 理 工 大 學機 電 工 程 學 院 ,贛 州 34 10 00)摘要單片機系統在實際工業現場中可能遇到各種干擾和自身的隨機性故障?,F場惡劣的環境有可能使計算機系統發生異常,計算機程序指針“PC”失控就是常見的故障之一,如果發生“PC”失控,將導致CPI工作混亂,釀成嚴重的事故。研究了“PC”失控的原因,并指出軟件抗干擾的幾種方法,有效保證單片機系統的正常工作。關鍵詞單片機“PC”失控抗干擾Abstract Inp racticalin dustrialfi elds,th ereis v ariousin terferencea fectingo perationo fsi nglec hipc omputersy stemsa ndt hec omputersy stems。fac噸random faults飾themselves. It is very common that the severe environment makes the computer systems abnormal. The program counter "PC"gettingo utof co ntorlis on eo fth ec ommonfa ults.If th isoc curs,C PUw ouldb eru nningo utof or deran din torducesse riousan cient.T hec ausesof " PC"geting out of control, studied in this paper and some countermeasures of anti-interference師software are given to ensure single chip computer systemworking properly.Keywords Single。飾computer Porgramc ounter"P C" Anti-interfeernc 在設 計 和 開發單片機系統時,一般難以周全地預計單片機系統在實際工業現場中可能遇到的各種干擾和自身的隨機性故障。因此,除了采取防止和抑制干擾的各項措施外,還應該借助于軟件措施克服某些干擾,系統還應具備迅速自行恢復的能力。本文介紹的應對單片機系統PC失控的軟件措施,設計靈活,節省硬件資源,能保證測控系統長期可靠地運行。MC S- 5 1單片機以其優良的性能價格比大量應用于工業現場測試和控制領域。但是,現場惡劣的環境有可能使計算機系統發生異常,計算機程序指針PC失控就是常見的故障之一,一旦發生PC“走飛”,計算機系統就會出現工作混亂,釀成嚴重的事故。為 了 在 CP 失控時盡量減少由此帶來的不利影響,并盡快使系統恢復正常,需要采取一定的軟件措施和硬件措施。常見的硬件措施有“看門狗”電路。軟件措施設置的前提條件是:①在干擾作用下,微機系統硬件部分不會受到任何損壞,或者損壞部分設置有監測狀態可供查詢;②程序區不會受到干擾侵害。單片機系統的程序和表格以及重要的參數均設置在ROM區,不會因干擾的侵人而改變;③ RAM區中的重要數據不會被破壞,或者雖然被破壞,但是可以重新建立。

    標簽: 單片機系統 軟件

    上傳時間: 2013-11-02

    上傳用戶:bhqrd30

  • pk51下載 (8051單片機開發工具)

    PK51是為8051系列單片機所設計的開發工具,支持所有8051系列衍生產品,,支持帶擴展存儲器和擴展指令集(例如Dallas390/5240/400,Philips 51MX,Analog Devices MicroConverters)的新設備,以及支持很多公司的一流的設備和IP內核,比如Analog Devices, Atmel, Cypress Semiconductor, Dallas Semiconductor, Goal, Hynix, Infineon, Intel, NXP(founded by Philips), OKI, Silicon Labs,SMSC, STMicroeleectronics,Synopsis, TDK, Temic, Texas Instruments,Winbond等。通過PK51專業級開發工具,可以輕松地了解8051的On-chip peripherals與及其它關鍵特性。    

    標簽: 8051 pk 51

    上傳時間: 2013-10-09

    上傳用戶:1109003457

  • at89c52 pdf

    The AT89C52 is a low-power, high-performance CMOS 8-bit microcomputer with 8Kbytes of Flash programmable and erasable read only memory (PEROM). The deviceis manufactured using Atmel’s high-density nonvolatile memory technology and iscompatible with the industry-standard 80C51 and 80C52 instruction set and pinout.The on-chip Flash allows the program memory to be reprogrammed in-system or by aconventional nonvolatile memory programmer. By combining a versatile 8-bit CPUwith Flash on a monolithic chip, the Atmel AT89C52 is a powerful microcomputerwhich provides a highly-flexible and cost-effective solution to many embedded controlapplications.

    標簽: 89c c52 at

    上傳時間: 2013-11-10

    上傳用戶:1427796291

主站蜘蛛池模板: 合阳县| 延津县| 澄迈县| 拜城县| 吴忠市| 南岸区| 尼勒克县| 油尖旺区| 金山区| 两当县| 井冈山市| 巴彦县| 松阳县| 正镶白旗| 通江县| 巴东县| 外汇| 洛扎县| 防城港市| 靖宇县| 四子王旗| 丹巴县| 海原县| 福贡县| 双城市| 桐庐县| 沂水县| 诸暨市| 股票| 浏阳市| 遂昌县| 山阴县| 三门县| 桃源县| 萝北县| 益阳市| 崇信县| 卓资县| 都匀市| 绩溪县| 荔波县|