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

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

do-while

  • Wide-input dc/dc modules offer

    When a system designer specifies a nonisolated dc/dc powermodule, considering the needed input voltage range isequally as important as considering the required performanceattributes and features. Generally, nonisolated moduleshave either a narrow or a wide input voltage range. Narrowinputmodules typically have a nominal input voltage of3.3, 5, or 12 V. For systems that operate from a tightlyregulated input bus—such as those that do not use batterybackup—a narrow-input module is often adequate sincethe input remains fairly stable.Offering greater flexibility, wide-input modules operatewithin a range of 7 to 36 V, which includes the popular12- or 24-V industrial bus. This enables a single module tobe used for generating multiple voltages. These modulesare ideal for industrial controls, HVAC systems, vehicles,medical instrumentation, and other applications that usea loosely regulated distribution bus. In addition, systemspowered by a rectifier/battery charger with lead-acidbattery backup almost always require wide-input modules.System designers who choose power supplies may wantto take a close look at the latest generation of wide-inputdc/dc modules.

    標簽: Wide-input modules offer dc

    上傳時間: 2014-12-24

    上傳用戶:dragonhaixm

  • 74ls164_動態驅動多位數碼管

    void display()    //數碼顯示 { SCON=0;    //初始化串行口方式   SBUF=dispcode[ge];   while(!TI);   TI=0;     led4=0;   delay(2);   led4=1;     SBUF=dispcode[shi];   while(!TI);   TI=0;    led3=0;   delay(2);   led3=1;

    標簽: 164 74 ls 動態

    上傳時間: 2013-11-20

    上傳用戶:wtrl

  • 基于51單片機的八音盒設計

    本設計是以STC89C52RC芯片為核心,利用Keil UV4編寫軟件和STC_ISP燒寫軟件,設計出一個八音盒。八音盒主要由五大模塊構成,包括單片機最小系統、4*4矩陣鍵盤、蜂鳴器發生電路和4位數碼管顯示電路。有8個按鍵對應8首曲目播放按鈕,另外8個按鍵對應do、re、mi、fa、so、la、si、do’八中音調。本設計主要使用單片機的內部定時器0和中斷產生不同頻率的方波和延時驅動蜂鳴器,并采取行列反轉掃描法識別鍵盤鍵值。由于使用的是實驗箱已經固化的電路,本設計主要從軟件設計上加以優化,以使蜂鳴器產生的音樂更純凈。最終實現的基礎功能是任意播放8首單片機內已存曲目,發揮部分是另外實現8個可演奏的琴鍵,使八音盒具有放音和簡單演奏的兩重功能,并輔以數碼管顯示當前播放曲目號,經過優化和調試,音色較好,琴鍵發音比較純正,初步達到設計要求。

    標簽: 51單片機 八音盒

    上傳時間: 2013-11-18

    上傳用戶:450976175

  • TLC2543 中文資料

    TLC2543是TI公司的12位串行模數轉換器,使用開關電容逐次逼近技術完成A/D轉換過程。由于是串行輸入結構,能夠節省51系列單片機I/O資源;且價格適中,分辨率較高,因此在儀器儀表中有較為廣泛的應用。 TLC2543的特點 (1)12位分辯率A/D轉換器; (2)在工作溫度范圍內10μs轉換時間; (3)11個模擬輸入通道; (4)3路內置自測試方式; (5)采樣率為66kbps; (6)線性誤差±1LSBmax; (7)有轉換結束輸出EOC; (8)具有單、雙極性輸出; (9)可編程的MSB或LSB前導; (10)可編程輸出數據長度。 TLC2543的引腳排列及說明    TLC2543有兩種封裝形式:DB、DW或N封裝以及FN封裝,這兩種封裝的引腳排列如圖1,引腳說明見表1 TLC2543電路圖和程序欣賞 #include<reg52.h> #include<intrins.h> #define uchar unsigned char #define uint unsigned int sbit clock=P1^0; sbit d_in=P1^1; sbit d_out=P1^2; sbit _cs=P1^3; uchar a1,b1,c1,d1; float sum,sum1; double  sum_final1; double  sum_final; uchar duan[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f}; uchar wei[]={0xf7,0xfb,0xfd,0xfe};  void delay(unsigned char b)   //50us {           unsigned char a;           for(;b>0;b--)                     for(a=22;a>0;a--); }  void display(uchar a,uchar b,uchar c,uchar d) {    P0=duan[a]|0x80;    P2=wei[0];    delay(5);    P2=0xff;    P0=duan[b];    P2=wei[1];    delay(5);   P2=0xff;   P0=duan[c];   P2=wei[2];   delay(5);   P2=0xff;   P0=duan[d];   P2=wei[3];   delay(5);   P2=0xff;   } uint read(uchar port) {   uchar  i,al=0,ah=0;   unsigned long ad;   clock=0;   _cs=0;   port<<=4;   for(i=0;i<4;i++)  {    d_in=port&0x80;    clock=1;    clock=0;    port<<=1;  }   d_in=0;   for(i=0;i<8;i++)  {    clock=1;    clock=0;  }   _cs=1;   delay(5);   _cs=0;   for(i=0;i<4;i++)  {    clock=1;    ah<<=1;    if(d_out)ah|=0x01;    clock=0; }   for(i=0;i<8;i++)  {    clock=1;    al<<=1;    if(d_out) al|=0x01;    clock=0;  }   _cs=1;   ad=(uint)ah;   ad<<=8;   ad|=al;   return(ad); }  void main()  {   uchar j;   sum=0;sum1=0;   sum_final=0;   sum_final1=0;    while(1)  {              for(j=0;j<128;j++)          {             sum1+=read(1);             display(a1,b1,c1,d1);           }            sum=sum1/128;            sum1=0;            sum_final1=(sum/4095)*5;            sum_final=sum_final1*1000;            a1=(int)sum_final/1000;            b1=(int)sum_final%1000/100;            c1=(int)sum_final%1000%100/10;            d1=(int)sum_final%10;            display(a1,b1,c1,d1);           }         } 

    標簽: 2543 TLC

    上傳時間: 2013-11-19

    上傳用戶:shen1230

  • 100個單片機實例

    #include<reg51.h> //包含單片機寄存器的頭文件 /******************************************************* 函數功能:主函數 (C 語言規定必須有也只能有1 個主函數) ********************************************************/ void main(void) { while(1) //無限循環 { P1=0xff; // P1=1111 1111B,熄滅LED P0=P1; // 將 P1 口狀態送入P0 口 P2=P1; // 將 P1 口狀態送入P2 口 P3=P1; // 將 P1 口狀態送入P3 口

    標簽: 100 單片機

    上傳時間: 2013-10-26

    上傳用戶:離殤

  • keil編譯錯誤分析

    一、 main.c(35): warning: #128-D: loop is not reachable from preceding code 原因,前面有一個while(1){ …….} 二、 main.c(54): warning: #1-D: last line of file ends without a newline 少了一個回車在}之后  

    標簽: keil 編譯 錯誤

    上傳時間: 2014-12-26

    上傳用戶:sjb555

  • 基于單總線式無線溫度采集系統設計

    為提高溫度測量效率,降低系統的成本,擴展傳輸距離,設計出一種新型溫度采集系統。單片機通過控制具有單總線方式的溫度傳感器DS18B20實現對溫度的測量,同時單片機通過控制具有單總線方式300~450MHz頻率范圍內的MAX7044與MAX7033無線發射與接收芯片實現溫度數據的無線傳輸。與傳統溫度采集系統相比,該系統利用單總線方式連接,采用無線傳輸方式實現遠距離通信,易于系統的集成與擴展。實驗結果表明,該系統結構簡單、方便移植,能夠同時實現多達上百點溫度的測量與500m范圍的傳輸。 Abstract:  To improve the temperature measurement efficiency and reduce system cost,expansion of transmission distance,a new type of temperature acquisition system is designed.Microcontroller controlled temperature sensor DS18B20which has a single-bus achieves temperature measurement,while microcontroller by controlled the MAX7044and MAX7033chip with a single-bus and having300~450MHz radiofrequency to achieve the wireless transmission of temperature data.Compared with conventional temperature acquisition system,the system uses single-bus connected,and uses wireless transmission means to achieve long-distance communications,easy-to-system integration and expansion.The experimental results show that the system is simple,convenient transplantation,and can be implemented in as many as a hundred-point temperature measure-ment and the transmission range of500meters.

    標簽: 單總線 無線溫度 采集 系統設計

    上傳時間: 2013-10-29

    上傳用戶:515414293

  • 基于C8051F310的山路轉彎預防警示系統

    針對盤山路存在的轉彎盲區,即在轉彎時司機無法得知彎路對面是否有車輛通過,設計一種基于C8051F310的山路轉彎預防警示系統。該系統利用一階濾波算法檢測山路轉彎時是否有車輛通過。運用該算法可增強系統檢測的實時性,提高檢測機動車輛的靈敏度,同時大大減少環境溫度對檢測的干擾。試驗表明該系統能夠正確指示出在山路轉彎時是否有車輛通過,目前該系統已安裝在盤山路上,可大大減少事故的發生率。 Abstract:  Aiming at passing hilly road,there is a turn blind spot.Motormen usually do not know if the passing of vehicles pass the road.So a system of defending accident on hilly road is designed,which is based on MCU C8051F310.The sys-tem uses the first-order filter algorithm to detect whether there are passing vehicles.This algorithm enhances the real-time detection and improves the sensitivity of detection vehicles.Meanwhile,it reduces the detection interference of environmen-tal temperature.The experimental results show that this system can exactly indicate if there are passing vehicles.At present,the system has been successfully applied to hilly road.The system can greatly decrease accident.

    標簽: C8051F310 轉彎

    上傳時間: 2013-10-10

    上傳用戶:歸海惜雪

  • 基于雙ATmega128的安檢力學試驗機設計

    針對當前安檢力學試驗機所能完成的試驗種類單一、自動化程度低等問題,提出一種以ATmega128單片機為核心控制器的安檢力學試驗機的設計。詳細闡述了該安檢力學試驗機各個組成部分的設計原理和方案,并且給出了各部分的軟件設計思想和操作流程。經過大量測試試驗表明:設計的安檢力學試驗機可以完成多達十余種的力學安檢試驗,完全符合相關國家標準,并且具有數據采集精度高、傳輸速度快、操作安全簡便等特點,實現了安檢設備的多功能化、數字化和自動化。 Abstract:  Currently, many mechanical security testing machines have only one function. The degree of automation of them is low. To solve those problems, a new kind of mechanical security testing machine, using ATmega128 micro-controller as its core controller, has been advanced. It describes the components of the machine. The principles and the scheme in the designing processes are presented in detail, and the software architecture and the operation processes of each part are given. After having done many testing, we have reached the following conclusions: the mechanical security testing machine presented can do over ten mechanical security tests complying with related national standards. It has high data acquisition accuracy and high transmission speed. The operation of the machine is simple and safe. In general, this machine is a multi-functional, highly automatic, digitalized security testing device.

    標簽: ATmega 128 安檢 試驗機

    上傳時間: 2013-11-05

    上傳用戶:a67818601

  • CAT93C46 器件數據手冊

    The CAT93C46 is a 1 kb Serial EEPROM memory device which isconfigured as either 64 registers of 16 bits (ORG pin at VCC) or 128registers of 8 bits (ORG pin at GND). Each register can be written (orread) serially by using the DI (or DO) pin. The CAT93C46 features aself−timed internal write with auto−clear. On−chip Power−On Resetcircuit protects the internal logic against powering up in the wrongstate.

    標簽: CAT 93C C46 93

    上傳時間: 2013-11-20

    上傳用戶:ynzfm

主站蜘蛛池模板: 白玉县| 富宁县| 平和县| 靖江市| 新田县| 内江市| 隆回县| 阳城县| 宁津县| 东乡县| 昭通市| 浦县| 林周县| 东台市| 工布江达县| 莱州市| 额敏县| 鹤峰县| 西丰县| 太白县| 西安市| 五原县| 六安市| 边坝县| 海口市| 酒泉市| 上思县| 奉贤区| 密山市| 射阳县| 海淀区| 柳河县| 若羌县| 皮山县| 盐津县| 徐水县| 涿鹿县| 大田县| 监利县| 大同县| 缙云县|