【正文】
哈爾濱遠(yuǎn)東理工學(xué)院學(xué)士學(xué)位論文 哈爾濱遠(yuǎn)東理工學(xué)院 學(xué)士學(xué)位論文 題 目: 姓 名: 分 院: 專 業(yè): 學(xué) 號(hào): 指導(dǎo)教師: 二 0 年 月 日 哈爾濱遠(yuǎn)東理工學(xué)院學(xué)士學(xué)位論文 畢業(yè)設(shè)計(jì)(論文)評(píng)語(yǔ)及成績(jī) 一、指導(dǎo)教師評(píng)語(yǔ): 是否同意參加答辯: 指導(dǎo)教師簽字: 20 年 月 日 二、評(píng)閱人評(píng)語(yǔ): 是否同意參加答辯: 評(píng)閱教師簽字: 20 年 月 日 哈爾濱遠(yuǎn)東理工學(xué)院學(xué)士學(xué)位論文 三、答辯委員會(huì)評(píng)語(yǔ): 是否建議授予學(xué)士學(xué)位: 答辯委員會(huì)成員簽字: 20 年 月 日 四、答辯委員會(huì)主任單位 答辯委員會(huì)主任職稱 答辯委員會(huì)主任簽字 20 年 月 日 五、畢業(yè)設(shè)計(jì)(論文)成績(jī): 學(xué)生所在分院蓋章: 20 年 月 日 哈爾濱遠(yuǎn)東理工學(xué)院學(xué)士學(xué)位論文 哈爾濱遠(yuǎn)東理工學(xué)院 畢業(yè)設(shè)計(jì)(論文)任務(wù)書 學(xué)生姓名 學(xué) 號(hào) 分 院 專 業(yè) 任務(wù)起止時(shí)間: 年 月 日 至 年 月 日 畢業(yè)設(shè)計(jì)(論文)題目:基于單片機(jī)與 SIM300 的手機(jī)模塊軟件設(shè)計(jì) 畢業(yè)設(shè)計(jì)(論文)工作內(nèi)容: 本次畢業(yè)設(shè)計(jì)的題目為 ——基于 STC89C52RC 單片機(jī)與 SIM300 的手機(jī)模塊的軟件設(shè)計(jì) .具體內(nèi)容為:基于現(xiàn)成的單片機(jī)最小系統(tǒng)及其擴(kuò)展設(shè)備以及 SIM300 模塊 .通過(guò)由單片機(jī)發(fā)送 AT 指令 .控制 SIM300 模塊 .實(shí) 現(xiàn)基本的手機(jī)功能 ——收發(fā)短信、接打電話等 .同時(shí)通過(guò)外擴(kuò)設(shè)備 ——12864 液晶顯示器實(shí)時(shí)顯示相關(guān)信息 .4*4 矩陣鍵盤實(shí)現(xiàn)不同的功能控制等 .整個(gè)設(shè)計(jì)的完成 .相當(dāng)于一個(gè)具有簡(jiǎn)單功能的通信手機(jī)的設(shè)計(jì) . 本次畢業(yè)設(shè)計(jì)中所采用的硬件設(shè)備 .基本上為已經(jīng)完善的模塊 .諸如 HJ3G 單片機(jī)實(shí)驗(yàn)板、 SIM300 模塊都是已經(jīng)焊接完成的成型板子 .因此 .在硬件連接成功后 .本次課題的主要任務(wù)就是完成軟件設(shè)計(jì) .通過(guò) C 語(yǔ)言編程來(lái)達(dá)到控制目的 . 畢業(yè)設(shè)計(jì)(論文)進(jìn)度安排: 查閱中外文文獻(xiàn)資料 .寫出文獻(xiàn)綜述階段: 2020 年 12 月 10 日 —— 2020 年 1 月 10 日 調(diào)查、設(shè)計(jì)、實(shí)驗(yàn)、研究階段: 2020 月 1 月 11 日 —— 2020 年 3 月 31 日 設(shè)計(jì)(論文)撰寫與整理階段: 2020 年 4 月 1 日 —— 2020 年 5 月 31 日 指導(dǎo)教師意見與要求: 簽字: 年 月 日 主任意見: 簽字: 年 月 日 哈爾濱遠(yuǎn)東理工學(xué)院學(xué)士學(xué)位論文 摘 要 通信的迅速發(fā)展 .在手機(jī)應(yīng)用上得到了充分體現(xiàn) .現(xiàn)代生活離不開手機(jī)通訊 .人與人之間的互聯(lián)因手機(jī)而變得更加方便、容易、及時(shí) .手機(jī) .已經(jīng)成為我們生活中 必不可少的一部分 . 本設(shè)計(jì)基于兩個(gè)不同的模塊 .即單片機(jī)系統(tǒng)與 SIM300 模塊 .通過(guò)串口通信技術(shù) .實(shí)現(xiàn)手機(jī)收發(fā)短信、接打電話的基本功能 .整個(gè)設(shè)計(jì)的基礎(chǔ)在于硬件之間的連接、實(shí)時(shí)信息通訊及快速、準(zhǔn)確的數(shù)據(jù)傳送 .其核心則在于通過(guò)編程來(lái)控制整個(gè)系統(tǒng) .實(shí)現(xiàn)不同功能 .以達(dá)到預(yù)期效果 .即通過(guò)單片機(jī)系統(tǒng)的控制功能 .利用串口通信技術(shù) .向 SIM300 模塊發(fā)送AT 指令 .來(lái)達(dá)到控制目的 . 本文從硬件方面 .詳細(xì)闡述了不同系統(tǒng)的工作原理并對(duì)重要元器件做出說(shuō)明 .同時(shí)通過(guò)調(diào)試與測(cè)試確保硬件正常工作 .對(duì)于設(shè)計(jì)主體 —— 軟件程序 .既給出了核心程序 的源代碼以及其部分編寫、調(diào)試過(guò)程 .并做了詳實(shí)的說(shuō)明 .同時(shí)對(duì)于各個(gè)模塊的測(cè)試與調(diào)試程序 .亦詳加描述 . STC89C52RC單片機(jī)系統(tǒng)與 SIM300模塊彼此通過(guò)三個(gè)引腳 TXD/RXD/GND相互連接 .實(shí)現(xiàn)通信 .本文亦對(duì)過(guò)程中的 AT 指令做出說(shuō)明 .整個(gè)設(shè)計(jì)過(guò)程亦有體現(xiàn) .并且做出了本次設(shè)計(jì)的深刻總結(jié) . 關(guān)鍵詞 : 單片機(jī); SIM300;收發(fā)短信;接打電話 哈爾濱遠(yuǎn)東理工學(xué)院學(xué)士學(xué)位論文 Abstract The farranging use of mobile phone has proved the rapid development of munication. Modern life can’t be without mobile phone,as everyone knows,it makes the munication between you and me more expedient easy and timely. The mobile bee a very necessary part of our life. This design is based on two different modules, MCU system and SIM300 module, through the technology of serial port munication, achieve these basic functions of messaging and call. The basis of the whole design lies in the contact among hardwares. timely munication and fast and accurate data transmission. And the heart of the design rests with achieving the purpose of getting different functions through programme which is used for controlling the whole system. That is making use of the controlling function of the MCU system and the technology of serial port munication to transmit AT orders to the SIM300 module, so that the purpose of controlling es true. In the way of hardware, the paper elaborates detailedly principles of different systems, introduces some important devices, and guarantees the normal work of the hardware through debugging and testing. As for the mainstay of the design—program, the paper shows some main codes and process of programming and debugging, most of these are detailed. Meanwhile, the programs of debugging and testing of every module are minutely explained. STC89C52RC MCU system contacts and municates with SIM300 module through 3 pins TXD/RXD/GND. And this paper also account for AT orders, at las, the summary of the whole design is shown. Keywords: MCU; SIM300; Messaging; Call 哈爾濱遠(yuǎn)東理工學(xué)院學(xué)士學(xué)位論文 目 錄 摘 要 ............................................................................................................................................ V Abstract ......................................................................................................................................... VI 目 錄 .......................................................................................................................................... VII 第 1 章 緒 論 ............................................................................................................................... 1 課題背景 ........................................................................................................................... 1 課題研究 ........................................................................................................................... 1 解決問(wèn)題 ........................................................................................................................... 2 設(shè)計(jì)方案 ........................................................................................................................... 2 第 2 章 硬件介紹 ........................................................................................................................... 4 單片機(jī)及外圍設(shè)備介紹 ................................................................................................... 4 STC89C52RC 芯片介紹 ...................