Linear Technology’s DC/DC step-down μModule®regulators are complete switchmode power supplies in asurface-mount package. They include the DC/DC controller,inductor, power switches and supporting circuitry.These highly integrated regulators also provide an easysolution for applications that require negative outputvoltages. In other words, these products can operate asinverting buck-boost regulators. As a result, the lowestpotential in the circuit is not the standard 0V, but –VOUT,which must be tied to the μModule regulator’s GND. Allsignals are now referred to –VOUT.
上傳時間: 2013-10-22
上傳用戶:ztj182002
In predominantly digital systems it is often necessaryto include linear circuit functions. Traditionally, separatepower supplies have been used to run the linear components(see Box, “Linear Power Supplies—Past, Present,and Future”).
標簽: Designing Operation Circuits Linear
上傳時間: 2013-11-04
上傳用戶:sdq_123
#include<reg51.h>
上傳時間: 2013-11-01
上傳用戶:liujinzhao
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); } }
上傳時間: 2013-11-19
上傳用戶:shen1230
#include <iom16v.h> #include <macros.h> #define uchar unsigned char #define uint unsigned int uchar num,miao,fen,shi,miaoge,miaoshi,fenge,fenshi,shig
上傳時間: 2013-10-14
上傳用戶:sc965382896
#include<iom16v.h> #include<macros.h> #define uint unsigned int #define uchar unsigned char uint a,b,c,d=0; void delay(c) { for for(a=0;a<c;a++) for(b=0;b<12;b++); }; uchar tab[]={ 0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,
上傳時間: 2013-10-21
上傳用戶:13788529953
#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 口
上傳時間: 2013-10-26
上傳用戶:離殤
對應程序: #include<reg52.h> #define uint unsigned int #define uchar unsigned char uchar code tab[]={ 0x81, 0x42, 0x24, 0x18, }; void delay(uint z) { uint i,j; for(i=z;i>0;i--) for(j=120;j>0;j--); } void init() { P0=0x00; }
上傳時間: 2014-01-17
上傳用戶:ruan2570406
目錄: 1. Character Type Functions - 字符類型函數 2. Standard C Input/Output Functions - 標準輸入輸出函數 3. Standard Library Functions - 標準庫和內存分配函數 4. Mathematical Functions - 數學函數 5. String Functions - 字符串函數 6. BCD Conversion Functions - BCD 轉換函數 7. Memory Access Functions - 存儲器訪問函數 8. Delay Functions - 延時函數 9. LCD Functions - LCD函數 10. LCD Functions for displays with 4x40 characters - 4×40 字符型LCD函數 11. LCD Functions for displays connected in 8 bit memory mapped mode -以8 位外部存儲 器模式接口的LCD顯示函數 12. I2C Bus Functions - I2C 總線函數 13. National Semiconductor LM75 Temperature Sensor Functions - LM75 溫度傳感器函數 14. Dallas Semiconductor DS1621 Thermometer/Thermostat Functions - DS1621 溫度計函 數 15. Philips PCF8563 Real Time Clock Functions - PCF8563 實時時鐘函數 16. Philips PCF8583 Real Time Clock Functions - PCF8583 實時時鐘函數 17. Dallas Semiconductor DS1302 Real Time Clock Functions - DS1302 實時時鐘函數 18. Dallas Semiconductor DS1307 Real Time Clock Functions - DS1307 實時時鐘函數 19. 1 Wire Protocol Functions - 單線通訊協議函數 20. Dallas Semiconductor DS1820/DS1822 Temperature Sensors Functions - DS1820/1822 溫度傳感器函數 21. SPI Functions - SPI 函數 22. Power Management Functions - 電源管理函數 23. Gray Code Conversion Functions - 格雷碼轉換函數
上傳時間: 2013-10-22
上傳用戶:歸海惜雪
#ifndef __485_C__ #define __485_C__ #include #include #define unsigned char uchar #define unsigned int uint /* 通信命令 */ #define __ACTIVE_ 0x01 // 主機詢問從機是否存在 #define __GETDATA_ 0x02 // 主機發送讀設備請求 #define __OK_ 0x03 // 從機應答 #define __STATUS_ 0x04 // 從機發送設備狀態信息 #define __MAXSIZE 0x08 // 緩沖區長度 #define __ERRLEN 12 // 任何通信幀長度超過12則表示出錯 uchar dbuf[__MAXSIZE]; // 該緩沖區用于保存設備狀態信息 uchar dev; // 該字節用于保存本機設備號 sbit M_DE = P1^0; // 驅動器使能,1有效 sbit M_RE = P1^1; // 接收器使能,0有效
上傳時間: 2014-12-26
上傳用戶:604759954