8路數字電壓表__畢業論文終稿
上傳時間: 2013-10-21
上傳用戶:refent
? 尺寸:長152mmX寬163mmX高25mm ? 主要芯片:STC89C52RC(支持51單片機) ? 工作電壓:直流12伏(另有24V) 二、 特點 ? RS485標準接口 ? 16路輸出光電隔離控制繼電器。 ? 標準的11.0592M晶振。(便于設置串口波特率) ? 具有上電復位和手動復位。 ? MODBUS_RTU標準協議控制 ? 帶有掉電存儲功能,該單片機內部集成。 ? 輸出16路繼電器LED指示。 ? 軟件設定地址等參數
標簽: Modbus_RTU 模式 控制板 繼電器輸出
上傳時間: 2013-10-08
上傳用戶:gdgzhym
單片機制作的8路搶答器,改裝后可以用于無線呼叫系統
上傳時間: 2013-10-22
上傳用戶:pioneer_lvbo
基于AT89C2051的多路舵機控制方案設計
上傳時間: 2013-12-07
上傳用戶:zukfu
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
基于單片機AT89C2051的九路多功能智力競賽搶答器的設計
上傳時間: 2013-10-13
上傳用戶:YUANQINHUI
8路遙控搶答器
上傳時間: 2013-11-17
上傳用戶:sunjet
袖珍型電子日歷及8路長時間定時控制器程序
上傳時間: 2013-10-29
上傳用戶:agent
四路搶答器的設計和制作,搶答用的
標簽: 四路搶答器
上傳時間: 2013-11-02
上傳用戶:ouyangmark
介紹了一種基于C8051F020單片機的多路壓力測量儀。該測量儀選用電阻應變式壓力傳感器采集壓力信號,并經放大電路處理后送入C8051F020單片機,再由C8051F020單片機內部的A/D轉換器將采集到的壓力信號進行模數轉化,然后分別對數據進行存儲和顯示。該測量儀能測量6路壓力信號,并且各測量點都能單獨檢測和設置。由于采用了C8051F020單片機,簡化了硬件電路,增強了抗干擾能力,使得測量儀具有測量精度高,沖擊小等特點。 Abstract: A measurement apparatus for multi-channel pressure based on single chip microcomputer is introduced.It can measure 6 channels signal of the pressure,and the pressure measure points can be detection and located individually.The pressure signal sampling is obtained by resistor stress-type pressure sensors,the digital signals of 6 channels are collected through amplifying and adjustment circuit of pressure signals and internal integrated A/D converter of MCU.Finally,and it realizes the function to store and display data separately.C8051F020 was used to made hardware circuit simple,and it also enhanced the anti-interference ability.It features high precision and little impact.
上傳時間: 2013-11-16
上傳用戶:yare