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

正文內容

基于labview的空氣質量無線監(jiān)測(參考版)

2024-11-12 06:09本頁面
  

【正文】 P0=nrf905_data[0]。 while(1) { while(CheckDR()==0)。 Config905()。 else return 0。 Delay(1)。 } void SetRxMode(void) { TX_EN=0。 while(DR||AM)。i++) { nrf905_data[i]=SpiRead()。 for (i=0。 CSN=0。 } void RxPacket(void) { uchar i。i++) { SpiWrite(nrf905_table[i])。 for (i=0。 CSN=0。 } return DATA_BUF。 else flag1=0。 SCK=1。i8。 } } uchar SpiRead(void) { uchar i。 DATA_BUF=DATA_BUF1。 else MOSI=0。i8。 DATA_BUF=byte。i++)。 while(n) for(i=0。 TX_EN=0。 21 PWR_UP=1。 DR=1。 void IOInit() { CSN=1。 uchar code nrf905_table[10]= {0x4c( 0xb3) ,0x0c( 0x0e) ,0x44,0x01,0x01,0xcc,0xcc, 0xcc, 0xcc,0x58}。 sbit flag0 =DATA_BUF^7。 sbit CD =P3^5。 sbit AM =P3^2。 sbit SCK =P2^1。 sbit MISO =P2^3。 sbit TRX_CE =P2^5。 Delay(1000)。 SetTxMode()。 } void main() { IOInit()。 TRX_CE=0。 TRX_CE=0。 TRX_CE=1。i++) { SpiWrite(nrf905_table[i+5])。 for (i=0。 CSN=0。 } CSN=1。i1。 txbuf=P1。 CSN=0。 } CSN=1。i10。 SpiWrite(WC)。 } } void Config905(void) { uchar i。 DATA_BUF=DATA_BUF1。 else MOSI=0。i8。 DATA_BUF=byte。i++)。 while(n) for(i=0。 TX_EN=0。 PWR_UP=1。 DR=1。 void IOInit() { CSN=1。 uchar code nrf905_table[10]={0x4c( 0xb3) ,0x0c( 0x0e) ,0x44,0x01,0x01,0xcc,0xcc, 0xcc,0xcc,0x58}。 sbit flag0 =DATA_BUF^7。 sbit CD =P3^5。 sbit AM =P3^2。 sbit SCK =P2^1。 sbit MISO =P2^3。 sbit TRX_CE =P2^5。 nRF905。 參考文獻 [1] 王海寶 等 著 .LabVIEW虛擬儀器程序設計與應用 [M]. 西南交通大學出版社 .2020. [2] 秦永平,裴斌,盧勝 .基于 LabVIEW的監(jiān)測系統(tǒng)設計與實現(xiàn) [J]. 微計算機信息 . 2020第 21 卷第 3期 . [3] 美國 NI公司著 .LabVIEW基礎教程 [M]. 北京:電子工業(yè)出版社, . [4] 戴敬 ,王世立著 .LabVIEW基礎教程 [M]. 國防工業(yè)出版社 .. [5] 胡文明等 .NewMsgRF905開發(fā)指南 (Z). NewMsg Tech. . [6] 姜志海 著 .單片機原理及應用 [M]. 電子工業(yè)出版社 . . [7] 閻石 著 .數字電子技術基礎 [M]. 高等教育出版社 . 2020年歲末 . [8] 路甬 著 .電子電路實驗及仿真 [M]. 清華大學出版社 . . [9] 華成英 , 童詩白 著 .模擬電子技術基礎 (第四版 )[M]. 高等教育出版社 . . [10] 梁偉 .空氣質量在線監(jiān)測 [D]. . The Wireless Air Quality Monitoring Based on LabVIEW WANG Weiqiang (Physics and Electronic Engineering College Of Chongqing Three Ges University , Wanzhou 404000) ABSTRACT The visual system of the software LabVIEW graphical programming development platform uses the gas sensor of air pollution in the major ponents (SO2,CO,NO2,O3) concentrations,the system uses nRF905 wireless transmission to achieve the wireless transmission, and sets up two ISM band to solve geographical limitation of cable data acquisition card is used for the second data acquisition, LabVIEW 17 achieves data acquisition,process and analysis through the data acquisition channel. The front panel of LabVIEW has shown the pollution gas concentration curve,realtime concentration, maximum concentration, and to alarm for the exceeding concentrations, therefore,it has realized scientific, automated monitoring and results provide that the system is intelligent, wireless transmission and its realtime monitoring is superior,also the error and signal transmission delay are not obvious. KEY WORDS LabVIEW 。本實驗使用 LabVIEW設計并實現(xiàn)了一套空氣質量監(jiān)測系統(tǒng),實踐證明我們采 LabVIEW來設計系統(tǒng)軟件,界面直觀,所見即所得,通俗易于學習。 nRF905芯片價格便宜,適合開發(fā)中小型項目,且需要的外圍元件也比較少傳輸數據的效率高 。 由于時間的問題沒有對整個系統(tǒng)進行標定,未完成實際濃度值與 LabVIEW軟件前面板中顯示值進行分析, 使 其單位 ,線性度,穩(wěn)定度未知 。此時就表明該地區(qū)的 CO濃度過高,影響著人們的生活,相關的工作部門就應該采取緊急措施 ,來控制 CO濃度,使之降低。 當輸入端接入不同高低電平,其數值經過 nRF905無線傳輸,通過數據采集卡,在 LabVIEW軟件上的空氣質量在線監(jiān)測的前面板中顯示,并有波形產生 ,顯示實時濃度值,最大值和高濃度報警。 圖 69 整個 LabVIEW程序框圖板 15 7 系統(tǒng)調試 在后面板中單擊框圖, 對應的元件就在前面板顯示,圖 71是整個 空氣質量 監(jiān)測系統(tǒng)面板圖,能夠顯示系統(tǒng)時間,波形,讀出實時濃度,最大濃度及高濃度報警。 圖 67 一氧化碳( CO)氣體的框圖程序 ,三級標準中臭氧( O3)氣體濃度限制在 /立方米 (標準狀態(tài) ),以此為設定參數,得到臭氧( O3)氣體的框圖程序如圖 68。 圖 65 二氧化硫( SO2)氣體的框圖程序 注: : 讀取數據端口 :多條曲線設置 :求最大值 和最小值 :產生時間
點擊復制文檔內容
畢業(yè)設計相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1