Controlling Machines Using GSM Mobile Sms Services

Published on June 2021 | Categories: Documents | Downloads: 0 | Comments: 0 | Views: 213
of x
Download PDF   Embed   Report

Comments

Content

 

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:

MCB2100 (keil corporation)

Micro controller:

LPC2129 (Philips) with arm7tdmi-s core

In circuit debugger:

ULINK-KEIL-ARM debugger-with usb-jtag support

Host:

PENTIUM P-4 with standard configurations

Gsm Modem:

standard wavecom gsm modem.

Ext Memory : Sim Card:

Atmel 24c04, 4k Eeprom standard 16k gsm sim

 

Software requirements :

Platform:

WINDOWS-2XXX series

Ide :

KEIL MICRO-VISION-3

Tool chains:

STANDAR STANDARDD- ARM COMPILER/DEBUGGER/ICD COMPILER/DEBUGGER/ICD tool chains

  programming language:   protocols :

EMBEDDED –C UART,I2C,AT CMDS

BLOCK DIAGRAM:

DEVICE 1 LCD RELAY DEVICE 2   MICROCONTROLLE R 

GSM MODEM

RS232

POWER  SUPPLY

 

EEPROM

 

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 

AC Power 

Regulator  (7805)

Filter  DC Output

Vi Vita tall ro role le of po pow wer su supp pply ly in ‘CO CONTR NTROLL OLLING ING MACHIN MACHINES ES USI USING NG GSM GSM MOBIL MOBILE E 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, high permanence CMOS 8-bit microcontroller with 4K bytes of in-system programmable Flash memory. The device is manufactured using ATMEL’s 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   bet betwe ween en a pr proc oces esso sorr an and d an LCD LCD. Usin Using g th this is in inte terf rfac acee is of ofte ten n no nott atte attemp mpte ted d 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 compatible computers are shown below. There are two configurations 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 ESD Pr Prot otec ecti tion on:: >3000 3000V V

Vital role of memory in ‘CONTROLLIN CONTROLLING G 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 main part part of which which is the Mobile services services Switch Switching ing Center Center (MSC), (MSC), performs 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 radio-lin k protocols with the Mobile Station. In a large urban area, there will potentially 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 all the the func functi tion onal alit ity y ne need eded ed to ha hand ndle le a mobi mobile le su subs bscr crib iber er,, su such ch as re regi gist stra rati tion on,, authentication, location updating, handovers, and call routing to a roaming subscriber. These services are provided in conjuction conjuction with several functional functional entities, which together together form the  Network Subsystem. The MSC provides the connection to the fixed networks (such as the PSTN PST N or ISDN). ISDN). Signall Signalling ing betwee between n functio functional nal entities entities in the Networ Network k Subsys Subsystem tem uses uses Signalling System Number 7 (SS7), used for trunk signaling in ISDN and widely used in current public networks.

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close