【正文】
器并通過無線網絡網絡訪問開發(fā)板,客戶端在實時監(jiān)控的同時可通過網頁上的控制按鈕對搭載攝像頭以及機械臂的小車進行控制,同時能夠收集到傳感器對環(huán)境的偵測信息并顯示在網頁上 。本系統(tǒng)通過分析現有的機器人系統(tǒng)的優(yōu)缺點,并針對今年來國內國外多發(fā)的自然災害現象,提出了一種可以進行高危環(huán)境實施救援的任務救災機器人。其最大特點便是可以在任意一臺連接互聯網的 PC 機上對其進行控制。本無線視頻多功能救援 系統(tǒng)在開發(fā)時間、功能、軟件升級、軟件移植復用、價格等方面都有很好的折中,在性價比方面有一個滿意的結合點,依賴于較大的性價比優(yōu)勢,且其良好的性能和用戶界面、人機 交互符合 探測 設備發(fā)展要求與趨勢,無疑該系統(tǒng)的應用將提升 救援行業(yè) 的服務 理念 和救援模式 ,因此可以相信本系統(tǒng)在將來的 救援 設備中具有很好的發(fā)展前景。接著介紹了視頻 終端程序的設計,包括界面設計、程序的實現、測試及搭建服務器網站,最后涉及到無線網卡驅動、根文件系統(tǒng)制作 及 對論文做了概括性總結和結果分析,同時對后續(xù)工作進行了展望。s S3C2410 minimum system board is based on embedded linux operating system built on the development board to build BOA Services Department, the use of camera acquisition realtime video data. And then use the browser on the client and work access through a wireless work development board, the client, while in realtime monitoring on the web page can be equipped with control buttons on the camera and the control arm of the car, while able to collect the sensor on the environment detect and display information on the web. The wireless video system in the development of multifunction rescue time, features, software upgrades, software porting reuse, and prices have a very good promise in price have a satisfactory bination of points, dependent on the large cost advantage, and its good performance and user interface, humanputer interaction requirements in line with the trend detection equipment development, the application of the system will undoubtedly enhance the service industry, the concept of relief and rescue mode, so you can believe in the future, this system has a very good rescue equipment prospects for development. The report first describes the design of wireless video surveillance system research background, also introduced the system of research and achieve goals. Then, each described in the module as a unit to build the system. Second, the development environment for the Linux operating system choice, build and control robots to do in detail. Then introduced the video terminal program design, including interface design, program implementation, testing, and set up the server site, and finally es to the wireless work card driver, making the root file system and do a general summary of the thesis and analysis of results, while the followup was predicted. 咸陽師范學院 20xx 屆本科畢業(yè)畢業(yè)論文 III Keywords: Linux; java; system; WIFI; S3C2410 ; Rescue 4 1 緒論 本章主要介紹 無線視頻監(jiān)控 系統(tǒng)的來源、研究目的和意義,并簡要介紹 無線視頻監(jiān)控 系統(tǒng)所做的主要研究工作。據了解,在日本參與救援的各國救援隊,這 次主要還是攜帶生命探測儀、切割裝置等救援設備。 72 小時是地震救援的黃金救援時間,由于現在震后主要的救援措施還是人工搜索。 在 地震發(fā)生后,一些大面積的坍塌建筑可以借助機械挖掘搜索,但一些縫隙、狹小的空間,隊員進去有危險,大型設備又沒有 “ 用武之地 ” ,就需要一些特定的設備來完成搜救 。 美國 iRobot 公司研制了 PackBot 系列機器人,能適應崎嶇不平的地形環(huán)境和爬樓梯,主要執(zhí)行偵察任務、尋找幸存者、勘探化學品泄漏等任務。 目前空中搜索探測機器人、廢墟洞穴可變形搜救機器人、廢墟表面搜救機器人、智能機械手爪咸陽師范學院 20xx 屆本科畢業(yè)畢業(yè)論文 5 等系列機器人已經研制成功 。項目成品圖如 所示。它是 linux 下基于 v4l 的非常優(yōu)秀的攝像頭驅動程序,可以支持多款攝像頭 。它本身不生產芯片,通過轉讓設計方案由合作伙伴生產各具特色的芯片。 服務器與控制軟件部分 隨著 Inter 技術的興起,在嵌入式設備的管理與交互中,基于 Web 方式的應用成為目前的主流,這種程序結構也就是大家非常熟悉的 B/S 結構,即在嵌入式設備上運行一個支持腳本或 CGI 功能的 Web 服務器,能夠生成動態(tài)頁面,在用戶端只需要通過 Web 瀏覽器就可以對嵌入式設備進行管理和監(jiān)控,非常方便實用。 。但 Boa 支持 CGI,能夠為 CGI 程序 fork 出一個進程來執(zhí)行。 無線數據傳輸部分 無線數據傳輸硬件部分 本項目無線傳輸使用的是 TPLINK WN321G+無線網卡作為機器人的傳輸終端, WR340 無線路由器作為中繼器,實現機器人與控制端之間的數據通信??梢苑奖愕耐ㄟ^IE瀏覽器打開此頁面從而實現對機器人的控制與信息查看。傳感器包括一個電阻式感濕元件和一個 NTC測溫元件,并與一個高性能 8位單片機相連接。單線制串行接口,使系統(tǒng)集成變得簡易快捷。 MQ2 氣體傳感器 實物如圖 圖 MQ2 氣體傳感器特點: 廣泛的探測范圍 , 高靈敏度 , 快速響應恢復 , 優(yōu)異的 穩(wěn)定性 , 壽命長 ,簡 單的驅動電路 。特別適用于企業(yè),賓館、商場、庫房及家庭的過道、走廊等敏感區(qū)域,或用 于安全區(qū)域的自動燈光、照明和報警系統(tǒng)。項目可以推廣到核電廠的高放射性的車間,冶煉廠 的高溫車間以及化工行業(yè)的有毒有害的自動工作車間,代替人查看現場情況。 系統(tǒng) 使用的是基于中星微 ZC301 解碼芯片 的攝像頭,由于博創(chuàng) S3C2410 開發(fā)板自帶的 linux 內核中集成了 gspcav1 萬能攝像頭驅動,所以我們只需要將 gspcav1 添加進內核,重新編譯內核就可實現對攝像頭的驅動。 我們紹比較常用的 Boa 服務器的移植。 make armlinuxstrip boa 第二步 完成 Boa 的配置,使其能夠支持 CGI 程序的執(zhí)行。如果沒有以 /開始,則表示從服務器的根路徑開始。如果不需要錯誤日志,則用 /dev/null 或直接注釋掉。一般注釋掉,即不需要啟動 VirtualHost ( 12) 非常重要, HTML 文檔的主目錄??梢宰⑨尩? 避免使用 文件,此時需要用 AddType 在本文件里指明 MimeTypes /etc/ ( 20) 文件擴展名沒有或未知的話,使用的缺省 MIME 類型 DefaultType text/plain ( 21) 提供 CGI 程序的 PATH 環(huán)境 變量值 CGIPath /bin:/usr/bin:/usr/local/bin ( 22) 將文件擴展名和 MIME 類型關聯起來,和 文件作用一樣。 在上面的步驟完成后 , (1)我們還 需要創(chuàng)建日志文件所在目錄 /var/log/boa 。 第三步 :回到你對 解壓的目錄下的 /src 目錄下,輸入 ./boa 此時使用 ps 可以看到有個進程為 boa ,負責 boa 服務沒有運行。 生成以下三個可執(zhí)行程序 ,分別解釋一下 : Spcaview 工具是用 來紀錄數據流,也能用來播放數據;也能做為網絡監(jiān)視客戶端用; Spcaserv 是流媒體服務器,我們就是用這個工具來做監(jiān)控服務器; Spcacat 簡單圖片的抓取工具,不能用于網絡監(jiān)視客戶端 ; 在上面的 spcaview 目錄中,有一個目錄 javaapplet。下載,解壓,進入其目錄,然后輸入命令 make,生成 servfox 可實行文件 servfox,把此可執(zhí)行文件拷貝到開發(fā)板的 /root 目錄下。 HEADER_802_11 NullFrame。 } TX_BUFFER, *PTX_BUFFER。 驅動測試 (a)把編譯好的驅動加載到板子上,并且把 和 兩個文咸陽師范學院 20xx 屆本科畢業(yè)畢業(yè)論文 21 件 copy 到 /root/wireless/。 s3c2410_gpio_setpin(B,H)。break。 s3c2410_gpio_setpin(D,L)。 s3c2410_gpio_setpin(B,L)。break。 s3c2410_gpio_setpin(D,L)。 s3c2410_gpio_setpin(B,H)。break。 s3c2410_gpio_setpin(N,L)。 s3c2410_gpio_setpin(G,L)。 s3c2410_gpio_setpin(F,L)。 s3c2410_gpio_setpin(E,L)。 mdelay(3)。 s3c2410_gpio_setpin(F,L)。 s3c2410_gpio_setpin(E,L)。 mdelay(3)。 s3c2410_gpio_setpin(N,L)。 s3c2410_gpio_setpin(G,L)。break。 s3c2410_gpio_setpin(M,L)。 26 26 s3c2410_gpio_setpin(K,L)。 s3c2410_gpio_setpin(J,L)。 s3c2410_gpio_setpin(I,L)。 mdelay(3)。 s3c2410_gpio_setpin(J,L)。 s3c2410_gpio_setpin(I,L)。 mdelay(3)。 s3c2410_gpio_setpin(M,L)。 s3c2410_gpio_setpin(K,L)。break。break。break。break。 傳感器驅動程序如下: static int gyq_ioctl(struct inode *inode,struct file *file,unsigned int cmd,unsigned long arg) { int a=1,b=4,c=0。 //renti if(s3c2410_gpio_getpin(O)==1)b=4。/iframe form action= method=post target=serverinput type=submit name=Left value= 抓取/input/form /td td width