You are on page 1of 7

CONTROLLING MACHINES USING GSM MOBILE SMS SERVICES

Abstract: This project has a can be used to control Switch ON or OFF any machines at far off places using a gsm modem by sending sms, which is the latest technology used for communication between the mobile and the embedded devices. Operation: The devices are connected to the 8051 processor using relays. These relay are controlled through software to switch On or OFF the device as required. For every message received from the sms, the controller will check for the password and the owners number and if the password is correct the controller will perform the operation.

The Main Applications: The owner is at a far off place & wants to switch On or Off a particular device which is connected to the GSM, can just send an sms to switch On that particular device. The owner should know the password to operate that module. If a wrong person tries to access the device it sends a message to the owner about it. Embedded system requirements: Hardware Requirements: Development board: Micro controller: In circuit debugger: Host: Gsm Modem: Ext Memory : Sim Card: MCB2100 (keil corporation) LPC2129 (Philips) with arm7tdmi-s core ULINK-KEIL-ARM debugger-with usb-jtag support PENTIUM P-4 with standard configurations standard wavecom gsm modem. Atmel 24c04, 4k Eeprom standard 16k gsm sim

Software requirements : Platform: Ide : Tool chains: programming language: protocols : WINDOWS-2XXX series KEIL MICRO-VISION-3 STANDARD- ARM COMPILER/DEBUGGER/ICD tool chains EMBEDDED C UART,I2C,AT CMDS

BLOCK DIAGRAM:

DEVICE 1 RELAY DEVICE 2

LCD

GSM MODEM

MICROCONTROLLE R RS232

EEPROM

POWER SUPPLY

Power supply: The microcontroller and other devices get power supply from AC to Dc adapter through 7805, 5 volts regulator. The adapter output voltage will be 12V DC non-regulated. The 7805/7812 voltage regulators are used to convert 12 V to 5V/12V DC.
AC/DC Adapter Regulator (7805)

AC Power

Filter

DC Output

Vital role of power supply in CONTROLLING MACHINES USING GSM MOBILE SMS SERVICES The adapter output voltage will be 12V DC non-regulated. The 7805/7812 voltage regulators are used to convert 12 V to 5V/12V DC.

MICRO CONTROLLER-AT89C51: The AT89c51 is a widely available in market, cost effective, low-power, highpermanence CMOS 8-bit microcontroller with 4K bytes of in-system programmable Flash memory. The device is manufactured using ATMELs high density nonvolatile memory technology and is compatible with the industry standard 8051 instruction set and pin out.

FEATURES:

4K Bytes of Flash Memory Endurance: 1000 write/erase cycles 4.0V to 5.5V Operating Range 128 x 8-bit Internal RAM 32 Programmable I/O Lines Full Duplex UART Serial Channel

Fully Static Operation: 0Hz to 33 MHz

LCD (LIQUID CRYSTAL DISPLAY) LCDs can add a lot to your application in terms of providing a useful interface for the user, debugging an application or just giving it a professional look. The most common type of LCD controller is the Hitachi 44780 which provides a relatively simple interface between a processor and an LCD. Using this interface is often not attempted by inexperienced designers and programmers because it is difficult to find good documentation on the interface can be a problem and the displays themselves are expensive.
RS 232 CONVERTER (MAX 232N) This is the device, which is used to convert TTL/RS232 vice versa. RS-232Protocol RS-232 was created for one purpose, to interface between Data Terminal Equipment (DTE) and Data Communications Equipment (DCE) employing serial binary data interchange. So as stated the DTE is the terminal or computer and the DCE is the modem or other communications device. RS-232 pinouts for IBM compatible computers are shown below. There are two configurations that are typically used: one for a 9-pin connector and the other for a 25-pin connector.

Voltage range The standard voltage range on RS-232 pins is _15V to +15V. This voltage range applies to all RS232 signal pins. The total voltage swing during signal transmission can be as large as 30V. In many cases, RS-232 ports will operate with voltages as low as _5V to +5V. This wide range of voltages

allows for better compatibility between different types of equipment and allows greater noise margin to avoid interference. Because the voltage swing on RS-232 lines is so large, the RS-232 signal lines generate a significant amount of electrical noise. It is important that this signal does not run close to high impedance microphone lines or audio lines in a system. In cases where you must run these types of signals nearby one another, it is important to make sure that all audio wires are properly shielded. The main role of the RS232 chip is to convert the data coming for the 12-volt logic to 5 volt logic and from 5 volt logic to 12 volt logic Vital role of RS232 Converter (Max 232n) in CONTROLLING MACHINES USING GSM MOBILE SMS SERVICES RS 232 CONVERTER is a chip to convert the TTL voltage levels into RS 232 level and vice versa, Maxim Corporation develops this chip. In this project MODEM is communication with the microcontroller through serial port, the microcontroller will send the commands to the modem through RS 232.and the data is read through serial port therefore to make compatible computer serial port with microcontroller serial port we are using the RS 232 converter.

External EEPROM memory (2Kbytes) These memory devices are used to store the data for off line process. The AT24C02A provides 2048bits of serial electrically erasable and programmable read only memory (EEPROM) organized as 256words of 8 bits each. The device is optimized for use in many industrial and commercial applications where low power and low voltage operation are essential. The AT24C02Ais available in space saving 8-pin PDIP. Features Internally Organized 256 x 8 (2K), 2-Wire Serial Interface (I2C protocol) High Reliability Endurance: 1 Million Write Cycles Data Retention: 100 Years ESD Protection: >3000V

Vital role of memory in CONTROLLING MACHINES USING GSM MOBILE SMS SERVICES

EEPROM memory is electrically erasable programmable memory, it is communicating with the microcontroller using 12C communication.ie it contains one data pin and clock pin, these device is connected as slave to the microcontroller. The main application of memory in these project is to store the telephone numbers of user /police, in case if somebody had entered into the home microcontroller will send the commands to the modem with the user phone number, the number is read from the memory by the microcontroller. Architecture of the GSM network: A GSM network is composed of several functional entities, whose functions and interfaces are specified. 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 (MSC), performs the switching of calls between the mobile users, and between mobile and fixed network users. The MSC also handles the mobility management operations. 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 services Switching Center across the A interface.

Mobile Station: The mobile station (MS) consists of the mobile equipment (the terminal) and a smart card called the Subscriber Identity Module (SIM). The SIM provides personal mobility, so that the user can have access to subscribed services irrespective of a specific terminal. By inserting the SIM card into another GSM terminal, the user is able to receive calls at that terminal, make calls from that terminal, and receive other subscribed services. The mobile equipment is uniquely identified by the International Mobile Equipment Identity (IMEI). The SIM card contains the International Mobile Subscriber Identity (IMSI) used to identify the subscriber to the system, a secret key for authentication, and other information. The IMEI and the IMSI are independent, thereby allowing personal mobility. The SIM card may be protected against unauthorized use by a password or personal identity number.

Base Station Subsystem The Base Station Subsystem is composed of two parts, the Base Transceiver Station (BTS) and the Base Station Controller (BSC). These communicate across the standardized Abis interface, allowing (as in the rest of the system) operation between components made by different suppliers. The Base Transceiver Station houses the radio tranceivers that define a cell and handles the radio-link protocols with the Mobile Station. In a large urban area, there will potentially be a large number of BTSs deployed, thus the requirements for a BTS are ruggedness, reliability, portability, and minimum cost. The Base Station Controller manages the radio resources for one or more BTSs. It handles radio-channel setup, frequency hopping, and handovers, as described below. The BSC is the connection between the mobile station and the Mobile service Switching Center (MSC). Network Subsystem: The central component of the Network Subsystem is the Mobile services Switching Center (MSC). It acts like a normal switching node of the PSTN or ISDN, and additionally provides all the functionality needed to handle a mobile subscriber, such as registration, authentication, location updating, handovers, and call routing to a roaming subscriber. These services are provided in conjuction with several functional entities, which together form the Network Subsystem. The MSC provides the connection to the fixed networks (such as the PSTN or ISDN). Signalling between functional entities in the Network Subsystem uses Signalling System Number 7 (SS7), used for trunk signaling in ISDN and widely used in current public networks.

You might also like