版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、目錄摘要................................................................................................................................................................1Abstract ..............................................
2、............................................................................................................1第 1 章 緒論.......................................................................................................
3、...........................................21.1 研究背景.........................................................................................................................................21.2 設(shè)計(jì)的意義和目的..................
4、.......................................................................................................21.3 系統(tǒng)設(shè)計(jì)總體要求........................................................................................................
5、..................31.4 系統(tǒng)設(shè)計(jì)的方案選擇......................................................................................................................31.4.1 IC 卡的選擇........................................................
6、..................................................................31.4.2 用戶信息的存儲...................................................................................................................31.4.3 程序編寫..............
7、.................................................................................................................4第 2 章 軟件的總體設(shè)計(jì).............................................................................................
8、.................................42.1 系統(tǒng)軟件設(shè)計(jì)思想..........................................................................................................................42.2 系統(tǒng)軟件邏輯組成.......................................
9、...................................................................................42.3 系統(tǒng)流程圖...............................................................................................................................
10、.......5第三章 軟件各個模塊的設(shè)計(jì)......................................................................................................................53.1 主程序.........................................................................
11、....................................................................53.2 rc522.c 程序..................................................................................................................................63.2.1
12、 SPI 相關(guān)操作: ....................................................................................................................63.2.2 讀 RC632 寄存器 ReadRaw(add)..............................................................
13、..........................83.2.3 寫 RC632 寄存器 Write(add,data) .....................................................................................93.2.4 清除 RC632 寄存器 ClearBitMask(reg,mask)................................
14、....................................93.2.5 設(shè)置 RC632 寄存器 SetBitMask(reg,mask) ......................................................................93.2.6 通訊 PcdComMF522()..................................................
15、........................................................93.2.7 尋卡 PcdRuquest(reg,*pTagType)........................................................................................93.2.8 放沖撞 PcdAnticoll(*psnr) ...........
16、........................................................................................93.2.9 Mc522 復(fù)位 PcdReset().....................................................................................................103.2
17、.10 開啟天線 PcdAntennaOn()...............................................................................................103.2.11 關(guān)閉天線 PcdAntennaOff() ........................................................................
18、......................103.2.12 端口的初始化 init_port_rc522() .....................................................................................103.3 LCD.c ...................................................................
19、........................................................113.3.1 LCD12864 寫數(shù)據(jù)(write_com(cmd))..............................................................................113.3.2 LCD12864 寫數(shù)據(jù)(write_data(dat))...........
20、................................................................113.3.3 LCD12864 定位顯示數(shù)據(jù) write_lcd(line,row,* str, len)................................................113.3.4 LCD12863 定位顯示數(shù)據(jù)以 l6 進(jìn)制形式顯示主要用于顯示卡號 write_lcd
21、_hex( line,row,*Buf,Len ) ......................................................................................................................123.3.5 清屏 LCD12864(clr_screen())...........................................
22、...........................................123.3.6 LCD12864 初始化(init_lcd)...............................................................................................123.4 bell.c(蜂鳴器) ..................................
23、.........................................................................................123.4.1 初始化蜂鳴器(init_bell()) ..................................................................................................133.4
24、.2 蜂鳴器響(bell_poll()) ........................................................................................................13摘要隨著城市規(guī)模的擴(kuò)大,交通已經(jīng)成為城市發(fā)展的一個重要因素。公交車射頻卡可以提供更為方便、快捷的服務(wù)。面向開放式公交系統(tǒng)的乘客下車站臺刷卡系統(tǒng)及數(shù)據(jù)傳輸技術(shù)的改善,充分運(yùn)用了交通,電路即
25、傳輸?shù)葘I(yè)的知識。本文對公交射頻刷卡器的系統(tǒng)設(shè)計(jì)進(jìn)行了研究。采用美國 ATMEL 公司的 ATmega16單片機(jī)位控制核心,應(yīng)用 PHILIPS 公司的 MIFARE 射頻技術(shù)實(shí)現(xiàn)設(shè)計(jì)。本設(shè)計(jì)主要是系統(tǒng)軟件設(shè)計(jì)。這部分描述了所應(yīng)用的各部分的程序原理和代碼,運(yùn)用模塊化結(jié)構(gòu),使程序設(shè)計(jì)的邏輯關(guān)系更加簡潔明了;采用軟件 AVR studio4 軟件進(jìn)行編程,sscom 串口調(diào)試助手以及 AVR fighter 程序燒錄軟件進(jìn)行燒錄。Abstr
26、actAlong with the extension of the city scale, the transportation has already become an important factor of the city development.The bus radio frequency card can provide more convenience and faster servance.Passengers to
27、 get off the site credit card system for open bus system development is the improvement of existing public transport circuit and transmission technology .This text carry on a research to the system design of the bus radi
28、o frequency card machine,It adopted single chip microcomputer of the ATmega16 of the American ATMEL company as the control core and applied the MIFARE radio frequency technique of the PHILIPS company to realize the desig
29、n,This design of the system include two parts:the hardware design and the software design.The hardware design part described the hardware circuits and the principle of each part,mainly include:display circuits, The watch
30、dog circuit,the 93C46 serial EEPROM,the buffer circuit and read card machine.Also,it gave the system hardware of the integral design principle diagram.A adopting assemble language to edit the software,using blocking stru
31、cture and giving the flow chart of each block make the logical Relation of the program design more simply and directly to understand.It adopted AVR studio4 to debug the program.Moreover,this text also gave detailed progr
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 眾賞文庫僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 智能IC卡的設(shè)計(jì)與實(shí)現(xiàn).pdf
- 基于IC卡的市民卡系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn).pdf
- 金融IC卡系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn).pdf
- IC卡熱量表的設(shè)計(jì)與實(shí)現(xiàn).pdf
- 企業(yè)智能IC卡系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn).pdf
- 指紋IC卡手持終端的設(shè)計(jì)與實(shí)現(xiàn).pdf
- 金融IC卡的業(yè)務(wù)系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn).pdf
- 農(nóng)業(yè)用電IC卡系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn).pdf
- 機(jī)房IC卡管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn).pdf
- 金融IC卡密鑰管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn).pdf
- 非接觸式IC卡系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn).pdf
- 用ZigBee實(shí)現(xiàn)無線IC卡考勤機(jī)設(shè)計(jì)論文.doc
- 非接觸IC卡接口電路的實(shí)現(xiàn)與設(shè)計(jì).pdf
- 基于SOA架構(gòu)的金融IC卡系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn).pdf
- 石化IC卡運(yùn)維管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn).pdf
- 金融IC卡——數(shù)據(jù)準(zhǔn)備子系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn).pdf
- 金融IC卡-數(shù)據(jù)安全子系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn).pdf
- IC卡多應(yīng)用服務(wù)平臺的設(shè)計(jì)與實(shí)現(xiàn).pdf
- 加油IC卡運(yùn)維管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn).pdf
- 特種作業(yè)人員IC卡管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn).pdf
評論
0/150
提交評論