晏勇 梁潘
摘?要:設(shè)計一款基于無線傳感器網(wǎng)絡(luò)WSN(Wireless?Sensor?Networks)的多路無線搶答器.系統(tǒng)由后臺控制模塊、各隊搶答模塊、主持人控制模塊、搶答顯示模塊組成.采用Zigbee2.4G無線傳輸協(xié)議,交流220?V或直流鋰電池供電,通過無線數(shù)據(jù)修改參賽隊數(shù)與各隊分?jǐn)?shù).經(jīng)測試,基于WSN的無線搶答器系統(tǒng),無線數(shù)據(jù)傳輸準(zhǔn)確,工作穩(wěn)定、高效,系統(tǒng)自適應(yīng)強(qiáng),具有很高的實用價值.
關(guān)鍵詞:搶答器;無線傳感器網(wǎng)絡(luò);Zigbee
[中圖分類號]TP273?[文獻(xiàn)標(biāo)志碼]A
Design?of?Portable?Multi-channel?WirelessResponder?based?on?WSN
YAN?Yong1,LIANG?Pan2
(1.College?of?electronic?information?and?automation,Aba?Teachers?University,Aba?623002,China;2.Collegeof?Sergeant?Management,Chengdu?Aeronautical?Vocational?and?TechnicalCollege,Chengdu?610100,China)
Abstract:Design?a?multi-channel?wireless?answering?device?based?on?WSN?(Wireless?Sensor?Networks).The?system?consists?of?a?background?control?module,?teams?answering?module,?host?control?module,?and?answering?display?module.It?uses?Zigbee?2.4G?wireless?transmission?protocol?for?communication.Powered?by?220?V?or?DC?lithium?battery,?modify?the?number?of?teams?and?scores?of?each?team?through?wireless?data.After?testing,the?WSN-based?wireless?responder?system?has?accurate?wireless?data?transmission,stable?work,high?efficiency,strong?system?adaptability,and?high?practical?value.
Key?words:responder;WSN;Zigbee
隨著社會競爭日益激烈,大型知識競賽、電視問答等娛樂節(jié)目愈加頻繁,為了保證競賽公平、公正、公開,搶答器起著重要作用.筆者結(jié)合物聯(lián)網(wǎng)技術(shù),設(shè)計了一款基于無線傳感器網(wǎng)絡(luò)WSN(Wireless?Sensor?Networks)的便攜式多路無線搶答器,將每個參賽隊作為WSN的一個終端節(jié)點,終端節(jié)點任意加入或退出WSN,改變搶答器的參賽隊數(shù),使用靈活、方便、實用性強(qiáng).
1?系統(tǒng)結(jié)構(gòu)設(shè)計
1.1?系統(tǒng)結(jié)構(gòu)
基于WSN的便攜式多路無線搶答器包括:后臺控制模塊、搶答顯示模塊、主持人控制模塊、各隊搶答模塊.[2]后臺控制模塊用于初始化搶答器隊數(shù)、分?jǐn)?shù)與搶答顯示模塊答題倒計時,還用于答題期間各隊加分或減分操作;搶答模塊用于顯示參賽各隊隊號與當(dāng)前分?jǐn)?shù),搶答按鈕是各隊選手的搶答設(shè)備;主持人控制模塊發(fā)送開始搶答指令,避免提前搶答;搶答顯示模塊用于顯示答題與搶答倒計時,顯示成功搶答隊號.[3]系統(tǒng)結(jié)構(gòu)框圖見圖1.
1.2?無線傳感器網(wǎng)絡(luò)拓?fù)浣Y(jié)構(gòu)
搶答器無線數(shù)據(jù)傳輸網(wǎng)絡(luò)采用基于IEEE802.15.4標(biāo)準(zhǔn),Zigbee無線傳感器網(wǎng)絡(luò)WSN(Wireless?Sensor?Networks),2.4?GHz無線載波頻率,5?MHz帶寬,WSN控制器包含64位MAC地址,能任意識別加減終端節(jié)點,修改參賽隊數(shù).[4]
基于WSN的便攜式多路無線搶答器采用星形拓?fù)浣Y(jié)構(gòu),由后臺控制模塊充當(dāng)網(wǎng)絡(luò)協(xié)調(diào)器,以協(xié)調(diào)器為中心建立、管理、維護(hù)無線傳感器網(wǎng)絡(luò),搶答模塊作為終端節(jié)點隨時加入或退出網(wǎng)絡(luò),靈活增加或減少終端節(jié)點數(shù)量,實現(xiàn)搶答隊伍數(shù)量靈活改變.星形拓?fù)浣M網(wǎng)簡單、成本低、實用性強(qiáng),無線搶答器網(wǎng)絡(luò)拓?fù)湟妶D2.[5]