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

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

INPUT

一個簡單的HTML表單,包含兩個文本輸入框和一個提交按鈕:
  • 溫濕度傳感器 sht11 仿真程序下載

    溫濕度傳感器 sht11 仿真程序 sbit out =P3^0; //加熱口  //sbit INPUT =P1^1;//檢測口  //sbit speek =P2^0;//報警  sbit clo =P3^7;//時鐘  sbit ST =P3^5;//開始  sbit EOC =P3^6;//成功信號  sbit gwei =P3^4;//個位  sbit swei =P3^3;//十位 sbit bwei =P3^2;//百位 sbit qwei =P3^1;//千位 sbit speak =P0^0;//報警音 sbit bjled =P0^1;//報警燈 sbit zcled =P0^2;//正常LED  int count;  uchar xianzhi;//取轉(zhuǎn)換結(jié)果 uchar seth;//高時間 uchar setl;//低時間 uchar seth_mi;//高時間 uchar setl_mi;//低時間  bit  hlbz;//高低標(biāo)志  bit  clbz;  bit  spbz;       ///定時中斷程序/// void t0 (void) interrupt 1 using 0 {     TH0=(65536-200)/256;//5ms*200=1000ms=1s   TL0=(65536-200)%256;  clo=!clo;//產(chǎn)生時鐘      if(count>5000)   {     if(hlbz)            {       if(seth_mi==0){seth_mi=seth;hlbz=0;out=0;}    else seth_mi--;       }     if(!hlbz)            {       if(setl_mi==0){setl_mi=setl;hlbz=1;out=1;}    else setl_mi--;       }   count=0;   }      else count++;         } ///////////// ///////延時/////// delay(int i) {    while(--i);          }     ///////顯示處理/////// xianshi() {      int   abcd=0;     int i;     for (i=0;i<5;i++) {   abcd=xianzhi;  gwei=1;  swei=1;  bwei=1;  qwei=1;  P1=dispcode[abcd/1000];   qwei=0;  delay(70);   qwei=1;  abcd=abcd%1000;  P1=dispcode[abcd/100];  bwei=0;  delay(70);  bwei=1;   abcd=abcd%100;  P1=dispcode[abcd/10];  swei=0;  delay(70);  swei=1;  abcd=abcd%10;  P1=dispcode[abcd];  gwei=0;  delay(70);  gwei=1;  } }   doing()   {     if(xianzhi>100)     {bjled=0;speak=1;zcled=1;}  else {bjled=1;speak=0;zcled=0;}   }   void main(void)  {  seth=60;//h60秒  setl=90;//l90秒  seth_mi=60;//h60秒  setl_mi=90;//l90秒  TMOD=0X01;//定時0 16位工作模式   TH0=(65536-200)/256;   TL0=(65536-200)%256;    TR0=1; //開始計時  ET0=1;   //開定時0中斷  EA=1;    //開全中斷  while(1)  {      ST=0;    _nop_();     ST=1;    _nop_();     ST=0;  //   EOC=0;          xianshi();       while(!EOC)   {         xianshi();    }        xianzhi=P2;             xianshi();     doing();  }  }

    標(biāo)簽: sht 11 溫濕度傳感器 仿真程序

    上傳時間: 2013-11-07

    上傳用戶:我們的船長

  • Arduino應(yīng)用_Arduino連接超聲波傳感器測距

    超聲波傳感器適用于對大幅的平面進(jìn)行靜止測距。普通的超聲波傳感器測距范圍大概是 2cm~450cm,分辨率3mm(淘寶賣家說的,筆者測試環(huán)境沒那么好,個人實測比較穩(wěn)定的 距離10cm~2m 左右,超過此距離就經(jīng)常有偶然不準(zhǔn)確的情況發(fā)生了,當(dāng)然不排除筆者技術(shù) 問題。) 測試對象是淘寶上面最便宜的SRF-04 超聲波傳感器,有四個腳:5v 電源腳(Vcc),觸發(fā)控制端(Trig),接收端(Echo),地端(GND) 附:SRF 系列超聲波傳感器參數(shù)比較   模塊工作原理: 采用IO 觸發(fā)測距,給至少10us 的高電平信號; 模塊自動發(fā)送8個40KHz 的方波,自動檢測是否有信號返回; 有信號返回,通過IO 輸出一高電平,高電平持續(xù)的時間就是超聲波從發(fā)射到返回的時間.測試距離=(高電平時間*聲速(340m/s))/2; 電路連接方法   Arduino 程序例子: constintTrigPin = 2; constintEchoPin = 3; floatcm; voidsetup() { Serial.begin(9600); pinMode(TrigPin, OUTPUT); pinMode(EchoPin, INPUT); } voidloop() { digitalWrite(TrigPin, LOW); //低高低電平發(fā)一個短時間脈沖去TrigPin delayMicroseconds(2); digitalWrite(TrigPin, HIGH); delayMicroseconds(10); digitalWrite(TrigPin, LOW); cm = pulseIn(EchoPin, HIGH) / 58.0; //將回波時間換算成cm cm = (int(cm * 100.0)) / 100.0; //保留兩位小數(shù) Serial.print(cm); Serial.print("cm"); Serial.println(); delay(1000); }

    標(biāo)簽: Arduino 連接 超聲波傳感器

    上傳時間: 2013-10-18

    上傳用戶:星仔

  • protel 99se 使用技巧以及常見問題解決方法

    protel 99se 使用技巧以及常見問題解決方法:里面有一些protel 99se 特別技巧,還有我們經(jīng)常遇到的一些問題!如何使一條走線至兩個不同位置零件的距離相同? 您可先在Design/Rule/High Speed/Matched Net Lengths的規(guī)則中來新增規(guī)則設(shè)定,最后再用Tools/EqualizeNet Lengths 來等長化即可。 Q02、在SCHLIB中造一零件其PIN的屬性,如何決定是Passive, INPUT, I/O, Hi- Z,Power,…..?在HELP中能找到說明嗎?市面有關(guān) SIM?PLD?的書嗎?或貴公司有講義? 你可在零件庫自制零件時點選零件Pin腳,并在Electrical Type里,可以自行設(shè)定PIN的 屬性,您可參考臺科大的Protel sch 99se 里面有介紹關(guān)于SIM的內(nèi)容。 Q03、請問各位業(yè)界前輩,如何能順利讀取pcad8.6版的線路圖,煩請告知 Protel 99SE只能讀取P-CAD 2000的ASCII檔案格式,所以你必須先將P-CAD8.6版的格式轉(zhuǎn)為P-CAD 2000的檔案格式,才能讓Protel讀取。 Q04、請問我該如何標(biāo)示線徑大小的那個平方呢 你可以將格點大小設(shè)小,還有將字形大小縮小,再放置數(shù)字的平方位置即可。 Q05、請問我一次如何更改所有組件的字型 您可以點選其中一個組件字型,再用Global的方法就可以達(dá)成你的要求。

    標(biāo)簽: protel 99 se 使用技巧

    上傳時間: 2015-01-01

    上傳用戶:yxgi5

  • XAPP953-二維列序濾波器的實現(xiàn)

      This application note describes the implementation of a two-dimensional Rank Order filter. Thereference design includes the RTL VHDL implementation of an efficient sorting algorithm. Thedesign is parameterizable for INPUT/output precision, color standards, filter kernel size,maximum horizontal resolution, and implementation options. The rank to be selected can bemodified dynamically, and the actual horizontal resolution is picked up automatically from theINPUT synchronization signals. The design has a fully synchronous interface through the ce, clk,and rst ports.

    標(biāo)簽: XAPP 953 二維 濾波器

    上傳時間: 2013-12-14

    上傳用戶:逗逗666

  • allegro cx manual教程

    We would like to welcome you as a user of the Allegro CX, a rugged, handheld fi  eld PC for data collection. Developed with the INPUT of data collection professionals worldwide, the Allegro CX is adaptable and versatile for use in a wide variety of data collection environments. The Allegro CX continues to utilize our ergonomic, lightweight design that is standard in our line of Allegro Field PCs. This design makes your Allegro easy to use for extended periods while moving to and from data collection sites in the fi  eld.  

    標(biāo)簽: allegro manual cx 教程

    上傳時間: 2015-01-02

    上傳用戶:zhangyi99104144

  • 基于CPLD的QDPSK調(diào)制解調(diào)電路設(shè)計

    為了在CDMA系統(tǒng)中更好地應(yīng)用QDPSK數(shù)字調(diào)制方式,在分析四相相對移相(QDPSK)信號調(diào)制解調(diào)原理的基礎(chǔ)上,設(shè)計了一種QDPSK調(diào)制解調(diào)電路,它包括串并轉(zhuǎn)換、差分編碼、四相載波產(chǎn)生和選相、相干解調(diào)、差分譯碼和并串轉(zhuǎn)換電路。在MAX+PLUSⅡ軟件平臺上,進(jìn)行了編譯和波形仿真。綜合后下載到復(fù)雜可編程邏輯器件EPM7128SLC84-15中,測試結(jié)果表明,調(diào)制電路能正確選相,解調(diào)電路輸出數(shù)據(jù)與QDPSK調(diào)制輸入數(shù)據(jù)完全一致,達(dá)到了預(yù)期的設(shè)計要求。 Abstract:  In order to realize the better application of digital modulation mode QDPSK in the CDMA system, a sort of QDPSK modulation-demodulation circuit was designed based on the analysis of QDPSK signal modulation-demodulation principles. It included serial/parallel conversion circuit, differential encoding circuit, four-phase carrier wave produced and phase chosen circuit, coherent demodulation circuit, difference decoding circuit and parallel/serial conversion circuit. And it was compiled and simulated on the MAX+PLUSⅡ software platform,and downloaded into the CPLD of EPM7128SLC84-15.The test result shows that the modulation circuit can exactly choose the phase,and the output data of the demodulator circuit is the same as the INPUT data of the QDPSK modulate. The circuit achieves the prospective requirement of the design.

    標(biāo)簽: QDPSK CPLD 調(diào)制解調(diào) 電路設(shè)計

    上傳時間: 2013-10-28

    上傳用戶:jyycc

  • 8259 VHDL代碼

    a8259 可編程中斷控制 altera提供 The a8259 is designed to simplify the implementation of the interrupt interface  in 8088 and 8086  based microcomputer systems. The device is known as a programmable interrupt controller.  The a8259 receives and prioritizes up to 8 interrupts,  and in the cascade mode, this can be expanded up to  64 interrupts. An asynchronous reset and a clock INPUT have been added to improve operation and reliability.

    標(biāo)簽: 8259 VHDL 代碼

    上傳時間: 2015-01-02

    上傳用戶:panpanpan

  • Protel使用中的一些問題和解答

    Q01、如何使一條走線至兩個不同位置零件的距離相同?  您可先在Design/Rule/High Speed/Matched Net Lengths的規(guī)則中來新增規(guī)則設(shè)定,最 后再用Tools/EqualizeNet Lengths 來等長化即可。   Q02、在SCHLIB中造一零件其PIN的屬性,如何決定是Passive, INPUT, I/O, Hi- Z,Power,…..?在HELP中能找到說明嗎?市面有關(guān) SIM?PLD?的書嗎?或貴公司有講義?  你可在零件庫自制零件時點選零件Pin腳,并在Electrical Type里,可以自行設(shè)定PIN的 屬性,您可參考臺科大的Protel sch 99se 里 面有介紹關(guān)于SIM的內(nèi)容。   Q03、請問各位業(yè)界前輩,如何能順利讀取pcad8.6版的線路圖,煩請告知  Protel 99SE只能讀取P-CAD 2000的ASCII檔案格式,所以你必須先將P-CAD8.6版的格式 轉(zhuǎn)為P-CAD 2000的檔案格式,才能讓Protel讀取。

    標(biāo)簽: Protel

    上傳時間: 2013-11-07

    上傳用戶:tangsiyun

  • 基于EKF的異步電機直接轉(zhuǎn)矩控制系統(tǒng)

    為了提高直接轉(zhuǎn)矩控制(DTC)系統(tǒng)定子磁鏈估計精度,降低電流、電壓測量的隨機誤差,提出了一種基于擴展卡爾曼濾波(EKF)實現(xiàn)異步電機轉(zhuǎn)子位置和速度估計的方法。擴展卡爾曼濾波器是建立在基于旋轉(zhuǎn)坐標(biāo)系下由定子電流、電壓、轉(zhuǎn)子轉(zhuǎn)速和其它電機參量所構(gòu)成的電機模型上,將定子電流、定子磁鏈、轉(zhuǎn)速和轉(zhuǎn)子角位置作為狀態(tài)變量,定子電壓為輸入變量,定子電流為輸出變量,通過對磁鏈和轉(zhuǎn)速的閉環(huán)控制提高定子磁鏈的估計精度,實現(xiàn)了異步電機的無速度傳感器直接轉(zhuǎn)矩控制策略,仿真結(jié)果驗證了該方法的可行性,提高了直接轉(zhuǎn)矩的控制性能。 Abstract:  In order to improve the Direct Torque Control(DTC) system of stator flux estimation accuracy and reduce the current, voltage measurement of random error, a novel method to estimate the speed and rotor position of asynchronous motor based on extended Kalman filter was introduced. EKF was based on d-p axis motor and other motor parameters (state vector: stator current, stator flux linkage, rotor angular speed and position; INPUT: stator voltage; output: staror current). EKF was designed for stator flux and rotor speed estimation in close-loop control. It can improve the estimated accuracy of stator flux. It is possible to estimate the speed and rotor position and implement asynchronous motor drives without position and speed sensors. The simulation results show it is efficient and improves the control performance.

    標(biāo)簽: EKF 異步電機 直接轉(zhuǎn)矩 控制系統(tǒng)

    上傳時間: 2015-01-02

    上傳用戶:qingdou

  • 微電腦型RS-485顯示電表(24*48mm/48*96mm)

    微電腦型RS-485顯示電表(24*48mm/48*96mm) 特點: 5位數(shù)RS-485顯示電表 顯示范圍-19999-99999位數(shù) 通訊協(xié)議Modbus RTU模式 寬范圍交直流兩用電源設(shè)計 尺寸小,穩(wěn)定性高 主要規(guī)格: 顯示范圍:-19999~99999 digit RS-485傳輸速度: 19200/9600/4800/2400 selective RS-485通訊位址: "01"-"FF" RS-485通訊協(xié)議: Modbus RTU mode 顯示幕: Red high efficiency LEDs high 10.16 mm (0.4") (MMX-RS-11X) Red high efficiency LEDs high 20.32 mm (0.8") (MMX-RS-12X) Red high efficiency LEDs high 10.16 mm (0.4")x2 (MMX-RS-22X) 參數(shù)設(shè)定方式: Touch switches 記憶方式: Non-volatile E²PROM memory 絕緣耐壓能力: 2KVac/1 min. (INPUT/power) 使用環(huán)境條件: 0-50℃(20 to 90% RH non-condensed) 存放環(huán)境條件: 0-70℃(20 to 90% RH non-condensed) CE認(rèn)證: EN 55022:1998/A1:2000 Class A EN 61000-3-2:2000 EN 61000-3-3:1995/A1:2001 EN 55024:1998/A1:2001

    標(biāo)簽: 48 mm 485 RS

    上傳時間: 2015-01-03

    上傳用戶:feitian920

主站蜘蛛池模板: 灵石县| 宣威市| 永仁县| 景东| 元氏县| 林州市| 来凤县| 南雄市| 沂源县| 兖州市| 镇巴县| 通州区| 梧州市| 南充市| 洪泽县| 毕节市| 乐陵市| 灵寿县| 绍兴市| 年辖:市辖区| 屏边| 图们市| 随州市| 双流县| 隆德县| 军事| 勃利县| 铜陵市| 海原县| 大足县| 佛坪县| 永定县| 防城港市| 咸阳市| 延津县| 宝清县| 吴堡县| 绥中县| 晋中市| 鲁山县| 自治县|