嵌入式無線打印終端的設計與實現(xiàn)
本文選題:Tiny6410 切入點:WiFi 出處:《大連海事大學》2013年碩士論文
【摘要】:隨著電子技術的不斷發(fā)展,嵌入式應用的領域越來越多,出現(xiàn)了嵌入式打印機。隨著WiFi無線網(wǎng)絡的廣泛應用,越來越多設備都增加了對WiFi功能的支持,打印機也不例外。近年來很多廠家都推出的新款打印機都支持無線打印功能,但各廠家使用的無線通信方式各不相同,使用上也都存在很多約束和限制。應用方面,還沒有得到國內(nèi)眾多政府部門和企業(yè)部門的普遍認可,更沒有進入尋常百姓家。 本課題的目的是設計并實現(xiàn)一種嵌入式無線打印終端,通過軟鍵盤來輸入數(shù)據(jù),通過WiFi可以接入無線局域網(wǎng),與服務器進行連接,并完成數(shù)據(jù)的查詢和更新,最終完成信息的打印輸出。PC機作為服務器端;客戶端硬件主要采用友善之臂的Tiny6410開發(fā)板,外接觸摸屏,選用Ralink RT3070L作為WiFi無線網(wǎng)卡,打印機采用HP Laserjet1020激光打印機。 本系統(tǒng)的軟件部分由服務器和客戶端組成,采用Qt開發(fā)用戶圖形界面。服務器端使用SQLite數(shù)據(jù)庫存放數(shù)據(jù),并在Qt下實現(xiàn)了對數(shù)據(jù)庫的連接和使用?蛻舳瞬捎肔inux操作系統(tǒng),移植了無線網(wǎng)卡及打印機的驅(qū)動,完成對無線網(wǎng)卡及激光打印機的的控制和使用,實現(xiàn)無線網(wǎng)絡的連接及信息的打印?蛻舳说慕缑嬷饕g迎界面、用戶登錄界面、主界面以及修改密碼界面。 本文介紹了無線打印系統(tǒng)的架構(gòu)及其選型,詳細描述了嵌入式終端的開發(fā)流程,著重介紹了Qt的編程思路、SQLite數(shù)據(jù)庫的使用、WiFi無線網(wǎng)卡的使用、激光打印機的控制過程以及套接字實現(xiàn)TCP連接的過程。 本系統(tǒng)以稅務局打印稅單為例,最終能夠在嵌入式終端上查詢或更新服務器中的信息,并完成稅單的打印輸出。本設計也適用于其它流動性比較強或者人員比較密集的場合。此外,嵌入式無線打印終端的研究,對于推動多功能通信終端的研究、普及和應用,也具有一定的實踐參考價值。
[Abstract]:With the development of electronic technology, there are more and more embedded application fields. With the wide application of WiFi wireless network, more and more devices increase the support of WiFi function. Printers are no exception. In recent years, many manufacturers have introduced new printers that support wireless printing, but the wireless communication methods used by different manufacturers are different, and there are also many restrictions and restrictions on their use. It has not been generally recognized by many government departments and enterprises, and has not entered ordinary people's homes. The purpose of this paper is to design and implement an embedded wireless print terminal, which can input data through soft keyboard, connect to WLAN through WiFi, connect with server, and complete data query and update. The client hardware mainly adopts the friendly arm Tiny6410 development board, the external touch screen, the Ralink RT3070L as the WiFi wireless card, and the printer using HP Laserjet1020 laser printer. The software of this system is composed of server and client. The user graphical interface is developed by QT. The server uses SQLite database to store data, and realizes the connection and use of database under QT. The client adopts Linux operating system. The driver of wireless network card and printer is transplanted, the control and use of wireless network card and laser printer are completed, the connection of wireless network and the printing of information are realized. Main interface and modify password interface. This paper introduces the structure and selection of wireless printing system, describes the development process of embedded terminal in detail, and emphatically introduces the programming thinking of QT and the use of WiFi wireless card in SQLite database. Laser printer control process and socket implementation of TCP connection process. This system takes tax receipt printing as an example, and finally can query or update the information in the server on the embedded terminal. In addition, the research of embedded wireless printing terminal can promote the research, popularization and application of multifunctional communication terminal. Also has certain practice reference value.
【學位授予單位】:大連海事大學
【學位級別】:碩士
【學位授予年份】:2013
【分類號】:TP334.8;TP368.1
【參考文獻】
相關期刊論文 前10條
1 符鶴;周忠華;彭智朝;;藍牙技術的原理及其應用[J];電腦應用技術;2006年03期
2 穆乃剛;;ZigBee技術簡介[J];電信技術;2006年03期
3 劉森 ,慕春棣 ,沈卓立;嵌入式系統(tǒng)開發(fā)平臺的構(gòu)建和實現(xiàn)[J];電子產(chǎn)品世界;2002年21期
4 丁丁 ,習勇 ,魏急波;三種主流嵌入式圖形用戶界面的移植及性能比較[J];電子產(chǎn)品世界;2004年09期
5 黃艷;馬旭東;;嵌入式Linux下基于ARM9的USB打印機控制器的設計[J];工業(yè)控制計算機;2008年05期
6 王任,劉勁峰,于哲;藍牙技術的應用[J];信息技術;2002年07期
7 余金山,朱偉;Linux下基于Socket的C/S網(wǎng)絡編程在高速公路收費系統(tǒng)中的應用[J];計算機與現(xiàn)代化;2002年05期
8 劉巍巍,徐成,李仁發(fā);嵌入式數(shù)據(jù)庫BerkeleyDB的原理與應用[J];科學技術與工程;2005年02期
9 桑江,陳震;嵌入式Linux系統(tǒng)在PDA設備中的應用[J];計算機工程與設計;2005年04期
10 孫少華,徐立中;面向嵌入式Linux系統(tǒng)的圖形用戶界面[J];微機發(fā)展;2005年10期
相關碩士學位論文 前2條
1 萬俊;智能手機中基于SQLite的媒體查詢功能的研究與實現(xiàn)[D];南京理工大學;2006年
2 史震宇;基于嵌入式數(shù)據(jù)庫SQLite的交通信息采集單元[D];天津大學;2007年
,本文編號:1690537
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1690537.html