【正文】
00010 ‐ 2字節(jié) RX 有效數(shù)據(jù)寬度 100000 ‐ 32字節(jié) RX 有效數(shù)據(jù)寬度 TX_PW 6 TX 有效數(shù)據(jù)寬度 默認(rèn)值 =100000 000001 ‐ 1字節(jié) TX 有效數(shù)據(jù)寬度 000010 ‐ 2字節(jié) TX 有效數(shù)據(jù)寬度 100000 ‐ 32字節(jié) TX 有效數(shù)據(jù)寬度 第 12 頁(yè)(共 23 頁(yè)) 軟件設(shè)計(jì) 概述 硬件解碼電路較復(fù)雜 ,外圍器件過(guò)多 ,且當(dāng)發(fā)射模塊的類型不同時(shí)不易改動(dòng) ,不利于模塊化 ,而軟件解碼就克服了這些缺點(diǎn)。 發(fā)射程序 include include define uint unsigned int define uchar unsigned char sbit TX_EN= P3^5。 sbit AM=P1^3。 sbit SCK=P1^7。 sbit key2=P1^0。 for(i=0。 while (i) { Delay(10)。 Delay(10)。 } } void TxPacket(void) { PWR_UP=1。 CSN=0。 SpiWrite(0xE7)。 CSN=0。 SpiWrite(key_value)。 //使能發(fā)射模式 // Delay(500)。 SCK=0。 Delay(2)。 //CH_NO,配置頻段在 SpiWrite( 0x0C)。 //接收發(fā)送有效數(shù)據(jù)長(zhǎng)度為 3第 15 頁(yè)(共 23 頁(yè)) 字節(jié) SpiWrite( 0xE7)。 //接收地址 SpiWrite( 0xDE)。 TX_EN=0。 TRX_CE=0。 PWR_UP=1。 while(!key1)。 while(!key2)。 while(!key3)。 key_value=0x00。 Delay(6000)。 sbit PWR_UP=P0^2。 sbit MISO=P0^6。 sbit led1=P1^1。 bit success_flag=0。i++) _nop_()。0x80)。 Delay(10)。 date1|=MISO。 Delay(10)。 PWR_UP=1。 CSN=0。 //輸出功率為 10db,不重發(fā),節(jié)電為正常模式 SpiWrite(0x44)。SpiWrite(0xE7)。 CSN=1。 Delay(1000)。//接收數(shù)據(jù)包 TxRxBuffer[0] = SpiRead()。 while(DR)。(TxRxBuffer[1]==0x02)) { TxRxBuffer[0]=0xff。 } else if(TxRxBuffer[2]==0xa1) { led2=~led2。 PWR_UP=0。 led3=0。 TX_EN=0。 //等待接收完成 if(success_flag) { TX_EN=0。 Delay(5000)。這種編碼方法在基于 AT89S51 單片機(jī)的無(wú)線數(shù)據(jù)傳輸設(shè)計(jì)中得到了應(yīng)用。所開發(fā)的系統(tǒng)具有較強(qiáng)的靈活性和實(shí)用性 ,為新型遙控器材的研制做了有益的探索 ,具有一定的參考和借鑒作用。它不僅降低了成本,同時(shí)也增加了無(wú)線數(shù)據(jù)傳輸接收的靈活性,對(duì)不同的無(wú)線數(shù)據(jù)傳輸模塊,不用更換系統(tǒng)硬件電路,只需要修改程序即可。 參 考 文 獻(xiàn) [1] 張毅剛 .新編 MCS51 單片機(jī)應(yīng)用設(shè)計(jì)(第三版) [M].哈爾濱:工業(yè)大學(xué)出版社, 2021 :231255 [2] 董巍巍,李釗,李建軍 .基于單片機(jī)的數(shù)據(jù)采集系統(tǒng)設(shè)計(jì) [J].計(jì)算機(jī)與網(wǎng)絡(luò), 2021( 5):36. [3] 馬青,童子權(quán) .基于單片機(jī)的數(shù)據(jù)采集與近距離無(wú)線傳輸系統(tǒng) [J].中國(guó)科技信息, 2021( 10): 101103 [4] 清華大學(xué)通信教材編寫小組 .數(shù)據(jù)傳輸原理 [M].北京 :人民郵電出版社 ,1995: 4850. [5] 劉育峰,趙予銓,趙孟強(qiáng),尹繼武 . 基于 AT89S51 的無(wú)線收發(fā)系統(tǒng)設(shè)計(jì) [J].電子設(shè)計(jì)工程 . 2021( 1): 1518. [6] 侯婷,楊宏業(yè),李俊芬,孫作雷 . 無(wú)線數(shù)據(jù)傳輸終端的設(shè)計(jì)和實(shí)現(xiàn) [J].微計(jì)算機(jī)信息 .2021 ( 23): 34 . [7]李洪濤,皇甫堪,王展,閆吉杰 . AT89S51 單片機(jī)在無(wú)線數(shù)據(jù)傳輸中的應(yīng)用 [J].單片機(jī)與嵌入式系統(tǒng)應(yīng)用 . 2021( 6): 2122. [8]金保華,張勇,崔光照 . 基于 nRF905 的無(wú)線數(shù)據(jù)多點(diǎn)跳傳通信系統(tǒng) [J].儀表技術(shù)與傳感器 .2021 年( 9): 4143. [9] 刁雪慧,徐德民,張福斌,高劍 . 無(wú)線傳感器網(wǎng)絡(luò)節(jié)點(diǎn)的設(shè)計(jì) [J].機(jī)械與電子 .2021( 5):2225 [10] 馬淑華,王鳳文,張美金 .單片機(jī)原理與接口技術(shù) [M].北京:郵電大學(xué)出版社, 2021:164170. [11] 李群芳,張士軍,黃建 .單片微型計(jì)算機(jī)與接口技術(shù)(第 2 版) [M].北京:電子工業(yè)出版社, 2021: 216221. [12] 蔣博 . nRF905 的無(wú)線數(shù)據(jù)傳輸系統(tǒng) [J].工業(yè)儀表與自動(dòng)化裝置 .2021 年( 3): 5960. [13] 郭天祥 .新概念 51 單片機(jī) C 語(yǔ)言教程 [M].北京:電子工業(yè)出版社, 2021: 5596. 第 23 頁(yè)(共 23 頁(yè)) Wireless system design base on MCU Abstract: With the rapid development of today39。t appealed against the disciplinary action your employer has taken against you. However, if you win your case, the tribunal may reduce any pensation awarded to you as a result of your failure to appeal. Remember that in most cases you must make an application to an employment tribunal within three months of the date when the event you are plaining about happened. If your application is received after this time limit, the tribunal will not usually accept i. If you are worried about how the time limits apply to you, take advice from one of the anisations listed under Further help. Employment tribunals are less formal than some other courts, but it is still a legal process and you will need to give evidence under an oath or affirmation. Most people find making a claim to an employment tribunal challenging. If you are thinking about making a claim to an employment tribunal, you should get help straight away from one of the anisations listed under Further help. If you are being represented by a solicitor at the tribunal, they may ask you to sign an agreement where you pay their fee out of your pensation if you win the case. This is known as a damagesbased agreement. In England and Wales, your solicitor can39。s 150th anniversary celebrations and will 第 24 頁(yè)(共 23 頁(yè)) attend City39。s governing body, has also ordered an immediate investigation into the referee39?;蛟S是愧疚于自己似乎把轉(zhuǎn)瞬即逝的很多個(gè)不同的日子過(guò)成了同一天的樣子;或許是追溯過(guò)去,對(duì)自己那些近乎偏執(zhí)的怪異信念的醒悟,這些天以來(lái),思緒一直很凌亂,在腦海中不斷糾纏。 Junior high school, thought to have a crush on just means that the real growth, but over the past three years later, his writing of alumni in peace, suddenly found that isn39。t remember his appearance. 童年時(shí),覺得壓歲錢和新衣服是過(guò)年必備,但是隨著年齡 的推進(jìn),會(huì)越來(lái)越發(fā)現(xiàn),那些東西根本就可有可無(wú);初中時(shí),以為要有一場(chǎng)暗戀才意味著真正的成長(zhǎng),但三年過(guò)去后,自己心平氣和的寫同學(xué)錄的時(shí)候,突然就發(fā)現(xiàn)是不是真正的成長(zhǎng)了,好像并沒(méi)有那么重要了;然后到了高中,覺得非要吐露出自己的心聲才能為高中生涯里的懵懂情愫劃上一個(gè)句點(diǎn),但畢業(yè)晚會(huì)的時(shí)候最終還是被梗塞在了咽喉,后來(lái)再次站在他曾經(jīng)揮汗如雨的球場(chǎng),看著他投過(guò)籃球的球框時(shí),突然間發(fā)現(xiàn)自己已經(jīng)想不起他的容顏。想要的,不想要的,界限明確,好像沒(méi)有什么可以撼動(dòng)自己。 第 25 頁(yè)(共 23 頁(yè)) At the moment, the sky is dark, the air is fresh factor after just rained. Suddenly thought of blue plaid shirt。t start planning... Those years, those days of do, finally, like youth, will end in our life. 此刻,天空是陰暗的,空氣里有著剛下過(guò)雨之后的清新因子。s not needed. Instead, he plans to deploy his 270squarefoot (25squaremeter) main chute at an altitude of around 5,000 feet (1,524 meters). In order to deploy this chute successfully, he will have to slow to 172 mph (277 kph). He will have a reserve parachute that。 Baumgartner the disappointing news: Mission aborted. r plays an important role in this mission. Starting at the ground, conditions have to be very calm winds less than 2 mph, with no precipitation or humidity and limited cloud cover. The balloon, with capsule attached, will move through the lower level of the atmosphere (the troposphere) where our daytoday weather lives. It will climb higher than the tip of Mount Everest ( miles/ kilometers), drifting even higher than the cruising altitude of mercial airliners ( miles/ kilometers) and into the stratosphere. As he crosses the boundary layer (called the tropopause),e can expect a lot of turbulence. The su