freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于msp430單片機(jī)的信號(hào)發(fā)生器設(shè)計(jì)畢業(yè)論文(專(zhuān)業(yè)版)

  

【正文】 void zengfu(void)。uchar check(void)。 //da上加的電壓uchar boxing。 /***************DA轉(zhuǎn)換模塊的定義***************/define SCL_H P1OUT |= BIT1define SCL_L P1OUT amp。隨著信號(hào)發(fā)生器信號(hào)整合相關(guān)技術(shù)的不斷完善,數(shù)字化、智能化、小型化的信號(hào)發(fā)生器必將為各領(lǐng)域的科學(xué)研究帶來(lái)極大的便利,信號(hào)發(fā)生器的發(fā)展前景也必將更加廣闊。圖41 信號(hào)發(fā)生器的程序總流程圖 初始化程序流程圖初始化程序流程圖如圖42所示。連接電路如圖32所示。1602字符型LCD通常有14條引腳線(xiàn)或16條引腳線(xiàn)的LCD,多出來(lái)的2條線(xiàn)是背光電源線(xiàn)VCC(15腳)和地線(xiàn)GND(16腳),其控制原理與14腳的LCD完全一樣LCD1602液晶顯示器的引腳說(shuō)明如表21所示。MSP430 系列單片機(jī)的這些片內(nèi)外設(shè)為系統(tǒng)的單片解決方案提供了極大的方便。運(yùn)算速度快 MSP430 系列單片機(jī)能在25MHz晶體的驅(qū)動(dòng)下,實(shí)現(xiàn)40ns的指令周期。具體就是系統(tǒng)采用MSP430單片機(jī)為控制核心,利用單片機(jī)內(nèi)置的AD芯片,通過(guò)按鍵中斷來(lái)邏輯選擇要輸出的波形(正弦波、方波、三角波、鋸齒波),再設(shè)置其它鍵來(lái)控制波形的復(fù)制及頻率,然后通過(guò)單片機(jī)控制顯示到LCD1602上。 (2)可以由晶體管、運(yùn)放IC等通用器件制作,更多的則是用專(zhuān)門(mén)的函數(shù)信號(hào)發(fā)生器IC產(chǎn)生。關(guān)鍵字:MSP430,信號(hào)發(fā)生器,LCD1602 ABSTRACTWith the development of science and technology and modern scientific research needs, signal generator has bee a lot of industry research test indispensable tools. Signal generator also called source or oscillators, in production practice and science and technology has been widely used in the field. Various waveform curve all can by trigonometric function equation. Can produce various waveform, such as triangle wave, sawtooth wave, rectangle wave (including square wave), the circuit is called sine wave function signal generator. Function signal generator in circuit experiment and test equipment in a very wide range of purposes. For example in munication, radio, and television systems, all need rf (high frequency) launch the rf waves, here is the carrier, audio (low frequency), video signals or pulse signal carry out, just need to be able to produce highfrequency vibe. In industry, agriculture, biomedical in fields, all need power or big or small, frequency or high or low oscillators. The system USES the microcontroller as control core, MSP430F149 USES singlechip builtin DA chip, through the keys to logical choice to interrupt the output waveform (sine wave and squarewave, triangle wave, sawtooth wave), then Settings other key to control the amplitude and frequency wave, then through the singlechip microputer control on display to LCD1602.Waveform was developed through MSP430 microcontroller performs A waveform happen procedures to the D/A converter input according to certain rules, which occurred in data transform circuit D/A of the output voltage waveform obtained the corresponding. In learning board keypad MSP430 through software programming to select different waveform, amplitude voltage and frequency produces different according to different keys, the signal waveform. This scheme of have a little is circuit principle is simpler, achieve be easyKEY WORDS:msp430,signal generator,lcd1602III西安工程大學(xué)本科畢業(yè)設(shè)計(jì)(論文)前 言函數(shù)信號(hào)發(fā)生器在電路實(shí)驗(yàn)和設(shè)備檢測(cè)中具有十分廣泛的用途。信號(hào)發(fā)生器又稱(chēng)信號(hào)源或振蕩器,在生產(chǎn)實(shí)踐和科技領(lǐng)域中有著廣泛的應(yīng)用。還有很多其它類(lèi)型的信號(hào)發(fā)生器,他們各有各的優(yōu)點(diǎn),但是信號(hào)發(fā)生器總的趨勢(shì)將向著寬頻率覆蓋、高頻率精度、多功能、多用途、自動(dòng)化和智能化方向發(fā)展。2000年7月推出了F13x/F14x 系列,在2001年7月到2002年又相繼推出F41x、F43x、F44x。并且這些時(shí)鐘可以在指令的控制下,打開(kāi)和關(guān)閉,從而實(shí)現(xiàn)對(duì)總體功耗的控制。例如工廠流水線(xiàn)的智能化管理,電梯智能化控制、各種報(bào)警系統(tǒng),與計(jì)算機(jī)聯(lián)網(wǎng)構(gòu)成二級(jí)控制系統(tǒng)等。表23 DAC5571的引腳說(shuō)明引腳名稱(chēng)描述1VOUT模擬輸出電壓2GND所有地面參考3VDD模擬供電電壓輸入4SDA串行數(shù)據(jù)輸入5SCL串行時(shí)鐘輸入6A0設(shè)備地址選擇 DAC5571的原理圖及運(yùn)算方法DAC5571的原理圖及運(yùn)算方法分別如圖22和圖23所示。指令集如表31所示。結(jié) 論信號(hào)發(fā)生器已經(jīng)成為了很多行業(yè)進(jìn)行研究測(cè)試不可或缺的工具。 //RS = define SET_RS P3OUT |= BIT0。uchar s2[] = {fangbo:}。void LcdReset(void) 。void chansheng1(void)。/***************總體顯示模塊***************//*********************************************** 函數(shù)名稱(chēng):xianshi功 能:讓液晶顯示程序中液晶顯示的主框架參 數(shù):返回值 :***********************************************/void xianshi(void) {}/*******************************************函數(shù)名稱(chēng):DispNchar功 能:讓液晶從某個(gè)位置起連續(xù)顯示N個(gè)字符參 數(shù):x位置的列坐標(biāo) y位置的行坐標(biāo) n字符個(gè)數(shù) ptr指向字符存放位置的指針?lè)祷刂? :無(wú)********************************************/void DispNChar(uchar x,uchar y, uchar n,uchar *ptr) { }/*******************************************函數(shù)名稱(chēng):LocateXY功 能:向液晶輸入顯示字符位置的坐標(biāo)信息參 數(shù):x位置的列坐標(biāo) y位置的行坐標(biāo)返回值 :無(wú)********************************************/void LocateXY(uchar x,uchar y) { }/*******************************************函數(shù)名稱(chēng):Disp1Char功 能:在某個(gè)位置顯示一個(gè)字符參 數(shù):x位置的列坐標(biāo) y位置的行坐標(biāo) data顯示的字符數(shù)據(jù)返回值 :無(wú)********************************************/void Disp1Char(uchar x,uchar y,uchar data) { }/*******************************************函數(shù)名稱(chēng):LcdReset功 能:對(duì)1602液晶模塊進(jìn)行復(fù)位操作參 數(shù):無(wú)返回值 :無(wú)********************************************/void LcdReset(void) { }/*******************************************函數(shù)名稱(chēng):LcdWriteCommand功 能:向液晶模塊寫(xiě)入命令參 數(shù):cmd命令, chk是否判忙的標(biāo)志,1:判忙,0:不判返回值 :無(wú)****************************************
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1