Top-Rated Free Essay
Preview

8051 Gsm Interfacing

Good Essays
756 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
8051 Gsm Interfacing
8051 HOW-TO GUIDE

Interfacing GSM with 8051

Contents at a Glance
8051 Primer Board ...........................................................3 GSM (Global System for Mobile Communication) .............3 Interfacing GSM ...............................................................4 Interfacing GSM with 8051...............................................6 Pin Assignment with 8051 ................................................6 Circuit Diagram to Interface GSM with 8051 .....................7 Source Code ....................................................................7 C Program to send a message from 8051 ..........................8 Testing the GSM with 8051 ............................................ 10 General Information ...................................................... 12

Join the Technical Community Today! http://www.pantechsolutions.net

8051 Primer Board The 8051 Primer board is specifically designed to help students to master the required skills in the area of embedded systems. The kit is designed in such way that all the possible features of the microcontroller will be easily used by the students. The kit supports in system programming (ISP) which is done through serial port. NXP’s 8051 (89V51RD2), 8051 Primer Kit is proposed to smooth the progress of developing and debugging of various designs encompassing of High speed 8-bit Microcontrollers. GSM (Global System for Mobile Communication) GSM is a digital mobile telephony system. GSM digitizes and compresses data, then sends it down a channel with two other streams of user data, each in its own time slot. It operates at either the 900 MHz or 1800 MHz frequency band. Join the Technical Community Today! http://www.pantechsolutions.net

Interfacing GSM Fig. 1 shows how to interface the GSM with microcontroller. The GSM module is communicate the microcontroller with mobile phones through UART. To communicate over UART or USART, we just need three basic signals which are namely, RXD (receive), TXD (transmit), GND (common ground). GSM modem interfacing with microcontroller for SMS control of industrial equipments. The sending SMS through GSM modem when interfaced with microcontroller or PC is much simpler as compared with sending SMS through UART. Text message may be sent through the modem by interfacing only three signals of the serial interface of modem with microcontroller i.e., TxD, RxD and GND. In this scheme RTS and CTS signals of serial port interface of GSM Modem are connected with each other.

Join the Technical Community Today! http://www.pantechsolutions.net

The transmit signal of serial port of microcontroller is connected with transmit signal (TxD) of the serial interface of GSM Modem while receive signal of microcontroller serial port is connected with receive signal (RxD) of serial interface of GSM Modem. The SMS message in text mode can contain only 140 characters at the most. It depends upon the amount of information collected from GPS Engine that you need at the base station for tracking vehicle or person.

Fig. 1 Interfacing UART to Microcontroller

Join the Technical Community Today! http://www.pantechsolutions.net

Interfacing GSM with 8051 We now want to display a text in mobile from 8051 Primer Board by using GSM module through UART. In 8051 Primer Board contains two serial interfaces that are UART0 & UART1. Here we are using UART0. The GSM modem is being interfaced with the microcontroller 8051 Primer Board for SMS communication. The SMS can be sending and receiving for the data sharing and situation information and control. Pin Assignment with 8051
UART DB-9 Connector
UART0(P1)

8051 Lines P3.0 P3.1

Serial Port Section

ISP PGM

TXD-0 RXD-0 TXD-1 RXD-1

8051

MAX 3232

UART1

(P2)

P1.2 P1.3

Join the Technical Community Today! http://www.pantechsolutions.net

Circuit Diagram to Interface GSM with 8051

Source Code The Interfacing GSM module with 8051 program is very simple and straight forward, which send a message to mobiles from 8051 Primer Board through GSM module by using UART0. Some delay is occurring when a single data is sent to mobile through UART. C programs are written in Keil software. The baud rate of microcontroller is 9600.

Join the Technical Community Today! http://www.pantechsolutions.net

C Program to send a message from 8051
*************************************************************************************** Title : Program to send a message from 8051 to mobile through GSM *************************************************************************************** #include #include #define LED P0 void serial_init(void); unsigned int j; //Setup the serial port for 9600 baud at 11.0592MHz. //------------------------------------------------void serial_init(void) { SCON = 0x50; /* SCON: mode 1, 8-bit UART, enable rcvr */ TMOD |= 0x20; /* TMOD: timer 1, mode 2, 8-bit reload */ TH1 = 0xFD; /* TH1: reload value for 9600 baud @ 11.0592MHz*/ TR1 = 1; /* TR1: timer 1 run */ TI = 1; /* TI: set TI to send first char of UART */ } /* special function register declarations */ /* prototype declarations for I/O functions */ //define prot P0 for LED

//Delay Routine start here void delay1(int n) { int i; for(i=0;i

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Now in the 21st century, phones play a big role in everyone’s life, recently some top IT companies have began to put forward new products that connect mobile phone together with the internet.…

    • 559 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Qty Part Number 4010-DKKF_434 2 1 1 1 1 1 1 1 1 1 2 1 2 1 5 1 1 1 1 1 1 1 2 1 4010-UBPB_434 MSC-DKPE1 Si4010-C2-GS 4010-DKPB434-BM 4313-DAPB_LB MSC-PLPB_1 MSC-BA5 MSC-BA4 EC3 MSC-DKCS5 CRD2032 MSC-DKSW1 4010-DKKF_868 4010-UBPB_868 MSC-DKPE1 Si4010-C2-GS 4010-DKPB868-BM 4313-DAPB_HB MSC-PLPB_2 MSC-BA5 MSC-BA4 EC3 MSC-DKCS5 CRD2032 MSC-DKSW1 Description Si4010 Key Fob Development Kit 434 MHz Si4010 key fob demo board 434 MHz w/o IC SOIC/MSOP socketed development board Si4010-C2-GS transmitter IC, SOIC Package Si4010 MSOP key fob development board 434 MHz, SMA Si4313 LED receiver board low band pcb ant Key Fob Plastic Case (translucent grey) Programming interface board Burning adapter board USB Debug Adapter USB Cable CR2032 3 V coin battery Wireless Development Suite disc Si4010 Key Fob Development Kit 868 MHz Si4010 key fob demo board 868 MHz w/o IC SOIC/MSOP socketed development board Si4010-C2-GS transmitter IC, SOIC Package Si4010 MSOP key fob development board 868 MHz, SMA Si4313 LED receiver board high band pcb ant Key Fob Plastic Case (translucent red) Programming interface board Burning adapter board USB Debug Adapter USB Cable CR2032 3 V coin battery Wireless Development Suite disc…

    • 5214 Words
    • 21 Pages
    Satisfactory Essays
  • Powerful Essays

    OVERVIEW OF CCS7 SIGNALLING

    • 2516 Words
    • 11 Pages

    As telecommunication systems increased in complexity such as Intelligent Network (IN), GPRs, in near future UMTS or any other third party services. The new services required more complex functions such as, bi-directional signalling capabilities, and flexible call set-up and third party series database access.…

    • 2516 Words
    • 11 Pages
    Powerful Essays
  • Powerful Essays

    8052 to Serial Interfacing

    • 1717 Words
    • 7 Pages

    b) Where projects are submitted electronically, students are required to type their name under signature.…

    • 1717 Words
    • 7 Pages
    Powerful Essays
  • Good Essays

    The simulation described consists a baseband parts only. The parts included are illustrated in figure 1.1, where a conceptual block diagram of a GSM transmitter and receiver system is sketched. Only the highlighted blocks are implemented.…

    • 1154 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    programming circuit. The project also required code to be written to the 8051 microcontroller to…

    • 1487 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    8051 Microcontroller

    • 728 Words
    • 3 Pages

    8 bit ALU. 16 bit PC and DPTR. 8 bit stack pointer and 8 bit PSW. 4K internal ROM 128 bytes of Internal RAM. 32 bits arranged as four,8 bit ports P0-P3. Two 16 bit timer/counters, T0 & T1. Full duplex serial Port.…

    • 728 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Data Link Layer

    • 479 Words
    • 2 Pages

    Now a day's communication is vital for the entire world, nothing happens without communication. The cell radio communication and wireless computer networks of GSM (Global System Mobile), CDMA (Code Division Multiple Access) type are worldwide communication systems. All these communication systems are based on the reference model OSI-RM (Open System Interconnection-Reference Model)…

    • 479 Words
    • 2 Pages
    Good Essays
  • Better Essays

    Quiz Buzzer Project

    • 647 Words
    • 3 Pages

    The Atmel AT89 series is an Intel 8051-compatible family of 8 bit microcontrollers (µCs) manufactured by the Atmel Corporation. Based on the Intel 8051 core, the AT89 series remains very popular as general purpose microcontrollers, due to their industry standard instruction set, and low unit cost. This allows a great amount of legacy code to be reused without modification in new applications.…

    • 647 Words
    • 3 Pages
    Better Essays
  • Satisfactory Essays

    The vehicle anti-theft tracking system based on Internet of things is designed in this article,…

    • 308 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    The main intention of this project is to find the accident spot at any place and intimating it to…

    • 2947 Words
    • 12 Pages
    Powerful Essays
  • Better Essays

    Gsm 5101 Misterm Answers

    • 2836 Words
    • 12 Pages

    One of your outlets has had below average sales over the past few years. As head of franchise operations, you are concerned with the continued low sales volume. The store manager has requested you to diagnose the problem and recommend possible causes. Use the MARS model of individual behavior and performance to provide four different types of reason why employees at that particular outlet might be performing below average. Provide one example for each type of explanation.…

    • 2836 Words
    • 12 Pages
    Better Essays
  • Good Essays

    Elderly Phone V328

    • 8655 Words
    • 35 Pages

    1. SAFETY INFORMATION..........................................................................................................4 2. GETTING STARTED..................................................................................................................4 2.1 Inserting the SIM Card and the Battery............................................................................4 2.2 Charging The Battery........................................................................................................4 2.3 Switching On The Phone...................................................................................................4 2.4 Switching Off The Phone..................................................................................................5 2.5 Keypad Functions..............................................................................................................5 3.0 MAKING AND RECEIVING CALLS........................................................................................6 3.1 To Make A Phone Call From The Phone Book.................................................................6 3.2 To Make A Call Directly Using Keypad...........................................................................6 3.3 To Make Emergency Calls................................................................................................6 Important Note for Making Emergency Call...............................................................7 3.4 To Activate the Hearing-Aid Mode .................................................................................7 3.5 To Preset the Hearing-Aid Mode Volume..........................................................................7 3.6 To View A Missed Call....................................................................................................7 3.8 To Redial A…

    • 8655 Words
    • 35 Pages
    Good Essays
  • Powerful Essays

    Figure 1 shows the layout of a generic GSM network. The GSM network can be divided into three broad parts. The Mobile Station is carried by the subscriber, the Base Station Subsystem controls the radio link with the Mobile Station. The Network Subsystem, the main part of which is the Mobile services Switching Center, performs the switching of calls between the mobile and other fixed or mobile network users, as well as management of mobile services, such as authentication. Not shown is the Operations and Maintenance center, which oversees the proper operation and setup of the network. The Mobile Station and the Base Station Subsystem communicate across the Um interface, also known as the air interface or radio link. The Base Station Subsystem communicates with the Mobile service Switching Center across the A interface.…

    • 1707 Words
    • 7 Pages
    Powerful Essays
  • Satisfactory Essays

    Marketing Assignment

    • 760 Words
    • 4 Pages

    GSM website. It is essential that the complete instructions be studied prior to commencing your…

    • 760 Words
    • 4 Pages
    Satisfactory Essays