




版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、Based on GSM module and AT89C51 connection design and application-From GSM principle and its network optimizationchapter one-From New single chip microcomputer interface device and technologychapter sixAbstractThis article through analyzed the GSM module and the monolithic integrated circuit connect
2、ion design simply introduced the TC35i module commonly used instruction and the coding rule, introduced emphatically the TC35i module and the AT89C51 principle of work, the periphery connection electric circuit, the software control technology, at the same time has produced some TC35i module and the
3、 AT89C51 connection application procedure, proposed AT89C51 when receive data should pay attention question, thus designed has the GSM module the data transmission terminal. Key words: GSM network1 Summarize:Along with correspondence technique of development, according to the service function of the
4、 NTT DoCoMo net, just to industry control and control from a distance the realm have continuously extension of trend.Is orientation this kind of demand, Siemens company released a new generation wireless correspondence GSM mold piece-TC35i, according to should the short news function of the mold pie
5、ce, can fast safety credibility realization customer information processing etc. function, special be applicable to control centre and terminal equipments distance very far, or inconvenience adoption wired correspondence lie quality etc. situation, for example the oil well information collect behind
6、 of deliver, the long range copy form system, city transportation direction etc. all according to the TC35i mold piece to realization.2 The application of GSM network:GSM is Global System for Mobile Communications acronym, which means Global System for Mobile Communications is the world's leadin
7、g cellular systems in the world. GSM is based on narrowband TDMA standard that allows radio frequency in a group call at the same time 8. GSM80 during the rise in Europe, put into use in 1991. The end of 1997, has operations in more than 100 countries, Europe and Asia has become the standard in fact
8、, that by 2001, the world's 162 countries have already built a 400 GSM communications network. But the GSM system capacity is limited, users in the network overload, it had to construct additional network facilities. What is gratifying is that GSM performance in other areas, which in addition to
9、 providing a standardized list and signaling systems, but also opened up some of the more intelligent of the business such as international roaming and so on. The convenience of GSM mobile phone is that it provides a smart card, known as SIM cards, and card could be separated, so that the replacemen
10、t of mobile phone users and custom personal information in this area are facilitated.GSM network to improve after years of development, is now very mature, less blind spots, signal stability, automatic roaming, and the communication distance from the impact of the surrounding environment. GSM short
11、message in particular, flexible and convenient, you can cross-market, inter-provincial and even cross-border transmission, and each send a short message as long as one dime, very reliable and affordable. In addition, the mobile phone SIM card in recent years can apply for 0, some packages use lower
12、cost than fixed. Therefore the use of mobile phone message to achieve alarm, ultra long-range remote control for industrial equipment, transmission of data is a very good choice. GSM module, is a similar mobile communication module, integrates a number of mobile phone functions on a single smal
13、l circuit board, it can send SMS messages, calls and so on, the module is small, but it has a lot of mobile phone functionality, with its have equal is the core of the mobile phone, and it is in a lot of applications have a wide range of applications, GSM module through the use of AT commands to con
14、trol it, modules can be connected to computer RS232 serial port, can also be used to carry out single-chip control . Below we cite some typical applications:2.1 mobile phone access control system: GSM Access Control System used to control the electric lock control, if you need to enter, as long as t
15、he cell phone call using GSM modules mobile number, will automatically open the door, and only you can set up cell phone numbers to open the door, and no costs.2.2 three billboard over the weather disaster emergency turn off: Over three billboards are constantly flip through the motor t
16、o achieve a number of ads displayed, because installed in the outdoors, when there is wind, hail and other weather disasters, billboards could easily be blown bad or damaged card die, when in need of emergency shut down, You can normally closed relay contact to control the power of advertising, when
17、 you need to do is send "turn off" control message, the billboard will automatically turn off, and automatically after a certain time delay automatically return to normal job (generally disastrous weather will not continue for a long time) in advance if you want to open a billboard, you ca
18、n send "Open" control message.2.3 engineering system balance reminders: Some works are safe after the completion of the normal operation after a period of time to settle the balance, if the encounter malicious clients the outstanding purchase price, often installed side very hea
19、dache, because equipment has been installed, if the loss of a great come back down, particularly in the field customer very costly when the client system can be installed in the GSM module, use it all the way to control system or the way some of the key points, when the customer paid in arrears when
20、 the malicious message can turn off some features, forcing customers to pay the purchase price then immediately open message, if you have a smooth recovery of the purchase price can also be the name of system maintenance by the GSM module removed from the client system. 2.4 monitoring systems or Web
21、 servers and reset the alarm:Monitoring system or web server running after a long period after death may be wrong, this time to power on reset is the only solution at this time through the GSM module can control system power, and set to open automatically after 3 seconds turn off mode, can achieve p
22、ower reduction, in addition, GSM module in some special application areas also played a very large role, such as: the disappearance of the main power supply, memory errors, fan shutdown, fuel depletion, it was the invasion and other information, are not people the ideal choice for monitoring the eng
23、ine room. 2.5 the remote control of home appliances: Through the message can easily achieve the remote control to open rice cookers, water heaters and other appliances by remote control or switch to repair mode can also control the air-conditioning GSM global wireless mobile communication netwo
24、rk control alarm host, using the global GSM short message data transmission mode and voice-enabled platform for the completion of intelligent data transmission and remote control alarm, set the host family, shops, office safety, electrical control, remote monitoring, such as Intelligent home functio
25、ns, because of the global GSM wireless mobile communication network signal coverage area of Canton, and truly realize the low-cost high-quality ultra-long-distance convenient and flexible intelligent wireless control and alarm, to solve the fixed-line telephone or cable broadband network wired alarm
26、 limitations. GSM global wireless mobile communications network in popularity all over the world, the GSM global wireless mobile communication network control alarm can be widely used in a single host family, community property, electricity, transportation, petroleum, coal, railway, municipal and pu
27、blic security departments of the security industry prevention devices, data monitoring and remote monitoring system. Wireless Road, with 11 defense areas, 2-way Cable Standoff, different defense area alarm, alarm and message control, separate from a defended position, remote control, home appliance
28、control, linkage to take photographs with the latest alarm center network characteristics. Features: 1. Wireless suspects under strict surveillance, no wiring, and ease of installation. 2. Cable suspects under strict surveillance, safe and reliable. 3. Wireless remote control security / from a defen
29、ded position, easy to operate. 4. Adaptability widely used global-band wireless mobile networks. 5. Password settings, confidentiality stronger. 6. Alarm, the high-decibel alarm sound to deter thieves. 7. Host automatically to six groups of mobile numbers to send SMS alerts. Alarm message and a tele
30、phone can be set up 8. Host automatically dial the six groups of mobile or fixed telephone warning, start-site monitoring. 9. Preset scene alarm and alarm message 10. With emergency alarm function, can prevent thieves burglary, detection of gas leaks and smoke fire. 11. Communicate electric missing
31、Detect and alarm, to prevent the intentional destruction of the power system and power failure monitoring. 12. Communicate after the loss of electricity automatically switch to a back-up battery. 13. Available through GSM network platform and networking alarm center. 14. Supported message in Chinese
32、 or English instructions. 15. Handset intercom mode: Matching intercom calls, and alarm can be two-way intercom, real-time clear police intelligence to prevent unnecessary alarm.3 The TC35i mold piece introduction Currently, domestic already beginning usage of the GSM mold piece have a lot, and thes
33、e of function, method of using difference not big.What this design adoption is a Siemens TC35 the TC35i of the series.On this kind of wireless mold piece function and TC35 and permit, design tightly packed, consumedly contracted the physical volume of customer's product.The TC35i and GSM2/2 and
34、permit,dual-band(GSM900/GSM1800), RS232 the data connect, should mold piece and radio frequency electric circuit and Ji take and integral whole, provide toward the customer standard of AT order connect, is data, speech, short news and fax provide fast, credibility, safety of deliver, convenience cus
35、tomer of application development and design. 3.1 The GSM AT instruction introduction that the mold has something to do with SMS in the piece: The order for provide of the GSM- powered mold piece match GSM07.05 and GSM07.07 norm.In the GSM07.07 definition of the AT Command connect and provided a kind
36、 of which GSM AT Instruction TC35i AT89C51move terrace and data terminal equipments of in general use connect;The GSM07.05 made to the short news detailed of provision.At short news mold piece receive network hair of short news, can send out a designation information through a string of, the data te
37、rminal equipments can send out toward the GSM mold piece various order.The instruction of GSM AT having something to do with SMS such as List1 to show.The instruction of GSM AT gather, is signed letter, Motorola and HP etc. factory house by Nokia, love to together develop for the GSM system of, amon
38、g them include control SMS(Short Message Service). 3.2 The PDU code rule:Send out short news in common use Text and PDU(Protocol Data Unit, agreement data unit) mode currently.The usage Text mode receive and dispatch a message code simple, realization get up very easy, but the biggest weakness be to
39、 can't receive and dispatch Chinese message;But PDU mode not only support Chinese message, also the ability send out English message.The PDU mode receive and dispatch a message can the usage be 3 kinds of to code:7-bit, 8-bit and UCS2code.7-the bit code to used for send out common of ASCII chara
40、cter list, 8-bit code Be usually used for sending out data news, UCS2 code used for sending out Unicode character list.General PDU's code is constitute by ABCDEFGHIJKLM 13. A:The address length of the message center, 216 enter to make number(one word stanza) B:The number type of the message cent
41、er, 216 enter to make number. C:Message center number, B+C length will from the data decision D:Document head word stanza, 216 enter to make number. E:Information type, 216 enter to make number. F:Drive call number length, 216 enter to make number. G:Drive call number type, 216 enter to make number,
42、 take value together H:Drive call number, length from data within F decision. I:Agreement marking, 216 enter to make number. J:The data code a project, 216 enter to make number. K:Term of validity, 216 enter to make number. L:Customer data length, 216 enter to make number. M:Customer's data, its
43、 length from the data decision in the L.Enactment in J adoption UCS2 code, here is the Unicode character list of Chinese-English. 4 the hardware of the TC35i and list slice machine connect a people's electric circuitThe TC35i mold piece is main to save according to the processor, GSM radio frequ
44、ency mold piece, power supply mold piece, Shan from the GSM, the ZIF conjunction machine, antenna connect six part constitute.Connect machine with a list slice machine realization electric circuit to connect through a ZIF, should connect read or send out the TC35i mold piece in of data. 5 list slice
45、 the software of the machine and TC35i connect and control principle8051 one-chip computer have four 8 walk abreast I/O port, call P0, P1, P2 and P3. Each port is 8 accurate two-way mouths, accounts for 32 pins altogether. Every one I/O line can be used as introduction and exported independently. Ea
46、ch port includes a latch (namely special function register ), one exports the driver and a introduction buffer . Make data can latch when outputting, data can buffer when making introduction , but four function of passway these self-same. Expand among the system of memory outside having slice, four
47、port these may serve as accurate two-way mouth of I/O in common use. Expand among the system of memory outside having slice, P2 mouth see high 8 address off; P0 mouth is a two-way bus, send the introduction of 8 low addresses and data / export in timesharingList slice the software of the machine and
48、 TC35i connect in fact be list slice the machine pass AT instruction control cellular phone of control technique, first constitution the TC35i mold piece of work mode:AT+CMGF=n, n=0 is a PDU mode;N=1 write an article this mode;Usually the constitution is a PDU mode, under this kind of mode, ability
49、transmission or accept a transparent data.(customer from definition data)AT+CMGR=n in order to read the short news data of the TC35i mold piece, the n is a short news number.AT+CMGL=n in order to list the short news in the TC35i mold piece, n=0 is the short news which read, n=a the short news which
50、have been already read, n=2 short news which sent out, n=3 for have already send out of short news n=4 is all short news.AT+CMGD=the n is the short news which delete the TC35i mold piece and the n is a short news serial number. 6 Master routineThe software plait distance pass to write in toward the
51、TC35i dissimilarity of AT instruction ability completion variety function, such as network debarkation, read SIM card top telephone number, send out SMS news and receive SMS news etc. The instruction sign, constant, PDU data.etc. of AT instruction all code form transmission by ASCII;The transmission
52、 transparent data have to pair of the TC35i mold piece of work mode constitution is PDU mode;List slice machine toward the TC35i mold piece after send out each instruction have to with return to car sign conduct and actions should instruction of be over, for example list slice the machine send out i
53、nstruction in"AT+ CMGF=0" toward the cellular phone, its ASCII code sequence is"41 H, 54 H, 2 BH, 42 H, 4 DH, 47 H, 46 H, 3 DH, 30 H, 0 DH", the last word stanza 0 DH is to return to car sign, mean that instruction be over, if have no this to return to car sign, the cellular phon
54、e won't identify this instruction.When the AT instruction which receive to an integrity of the TC35i mold piece after, the TC35i mold piece not summary execution should instruction, but first just receive of the ASCII of the AT instruction code sequence all anti- send out;(contain 0 DH)Secondly
55、send out a the ASCII which return to car sign with a carriage return sign to code, namely 0 DH with 0 AH;Then performance should instruction. The list slice machine read the PDU data of the TC35i mold piece, originality data should is 16 enter make number, but read back of data still is an ASCII mea
56、n of 16 enter make number.So a word stanza of 16 entered to make number and then became 2 word stanza of ASMII code.But the PDU data data word stanza length within pack part still is actual character list length.But isn't the word stanza which become ASCII code length, this at plait distance sho
57、uld special attention, otherwise receive of data not integrity.The list slice machine is after receiving a PDU data pack data have to its instauration become 16 enter make a data, its calculate way as follows:Establish a for the ASCII code receive, b for the conversion is behind of 16 enter make num
58、ber.So if a<39 H,b=a-30 H;If a>39 H, b=h-07 H a-30.End pair of in front and back two pieces merger is a word stanza.Concluding remark The usage cellular phone mold piece benefit is at the system integration, the cost be lower.Install correspondence circuit in secluded region etc. difficulty or
59、 uneconomical place, engineering service facilities can freedom vivid of constitution, no longer be subjected to geography condition of restriction.In fine, GSM mold piece the price be cheap, application extensive, application the foreground be captivating, pass with cellular phone mold the piece connect can very convenience of design customer demand of the data receive terminal.14基于 GSM 模塊與 AT89C51 的接口設(shè)計(jì)及應(yīng)用 的接口設(shè)計(jì)及應(yīng)用-摘自GSM 原理及其網(wǎng)絡(luò)優(yōu)化第一章 -摘自新型單片機(jī)接口器件與技術(shù)第六章摘 要本文通過(guò)分析 GS
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 工程勞務(wù)居間合同書
- 《資質(zhì)申請(qǐng)操作指南》課件
- 《安全風(fēng)險(xiǎn)防控教學(xué)》課件
- 《決策者還是引導(dǎo)者:探究現(xiàn)代領(lǐng)導(dǎo)力》課件
- 科學(xué)研究之路
- 計(jì)算機(jī)引領(lǐng)教育新篇章
- 教學(xué)效果與展望
- 鹵味店加盟合同范本
- 《納米保溫施工技術(shù)》課件
- 廠房生產(chǎn)合同范本
- 污水處理廠防水防腐工程施工方案
- 幕墻作業(yè)安全技術(shù)交底
- TCOSOCC 016-2024 信息技術(shù)應(yīng)用創(chuàng)新 軟件測(cè)試要求
- 食堂晨午檢制度
- 23J916-1 住宅排氣道(一)
- 《邊緣計(jì)算與人工智能應(yīng)用開發(fā)技術(shù)》全套教學(xué)課件
- 三級(jí)安全教育試題及答案(自編完整版)
- 幼兒園大班社會(huì)《服裝的由來(lái)》課件
- 《2024年 《法學(xué)引注手冊(cè)》示例》范文
- DB43-T 2142-2021學(xué)校食堂建設(shè)與食品安全管理規(guī)范
- 2024年四川成都農(nóng)業(yè)科技中心管理人員招聘1人歷年(高頻重點(diǎn)復(fù)習(xí)提升訓(xùn)練)共500題附帶答案詳解
評(píng)論
0/150
提交評(píng)論