SlideShare uma empresa Scribd logo
1 de 22
Baixar para ler offline
CHAPTER -1

Introduction
The project mainly focuses on transmission of textual data through air interface by
the use of GSM through asynchronous serial communication .The data will be
processed by the microcontroller on both ends. The data will be displayed on Lcd
only after entering unique pass key. In addition to that address matching is done
and data can be received only by the dedicated receiver.
Actually what happens is, sending sms through phone has become very popular
and if we can use this sms to control devices and in displaying data. It is possible
to receive or decode the sms globally by using gsm, by the any part of world we
can control and display data on Lcd board.
In this project we not only send the data but send the data with pass code also.
Which enables us to prevent the unauthorized use of Lcd display board and only
the person who have pass code can have access to Lcd board . Important feature of
thesis is we are using gsm network by which we can control Lcd display board by
the any part of globe. If we must have the respected pass code. And the pass code
is ok then the correct data is to be displayed on LCD.
The system required for the purpose is nothing but a Microcontroller based SMS
box. The main components of the kit include microcontroller, GSM modem. These
components are integrated with the display board and thus incorporate the wireless
features. The GSM modem receives the SMS. The AT commands are serially
transferred to the modem through MAX232. In return the modem transmits the
stored message through the COM port. The microcontroller validates the SMS and
then displays the message in the LCD display board. Various time division
multiplexing techniques have been suggested to make the display boards
functionally efficient. The microcontroller used in this case is AT89s52. Motorola
C168 is used as the GSM modem. In the prototype model, LCD display is used for
1
simulation purpose. While implementation this can be replaced by actually display
boards.
The data will be displayed only after entering unique pass key .In addition to that
address matching is done and data can be receive only by the dedicated receiver ,
and this data is displayed on LCD.
The main focus of the thesis is on displaying information to a dedicated Lcd by the
any part of world using GSM network, which facilitate to control any message
board globally from any location.

HARDWARE USED

1.

LIST OF COMPONENTS

Table 1.1: List of components
2
SOFTWARE USED

1. Keil u-Vision 3.0 :Keil Software is used to provide you with software
development tools for 8051 based microcontrollers. With the Keil tools,
you can generate embedded applications for virtually every 8051
derivative. The supported microcontrollers are listed in the µ-vision.
2. PRO51 Programmer Software :Proteus software is used simulate the circuit by drawing the
Complete circuit diagram and burning the programme hex file into
microcontroller in software.

Figure 1.1: Block Diagram of GSM based digital Notice Board

3
CHAPTER-2
THEORY OF OPERATION
In this project we interfaced 8051 microcontroller with Motorola’s C168 GSM
mobile phone to decode the received message and do the required action. The
protocol used for the communication between the two is AT command.
The microcontroller pulls the SMS received by phone, decode it, recognizes the
Mobile no. and then switches on the relays attached to its port to control the
appliances.

After

successful

operation,

controller

sends

back

acknowledgement to the user’s mobile through SMS.

Figure 2.1: Data flow diagram of operation
4

the
AT-Command set

The following section describes the AT-Command set. The commands can be
tried out by connecting a GSM modem to one of the PC’s COM ports. Type in
the test-command, adding CR + LF (Carriage return + Line feed = rn) before
executing. Table gives an overview of the implemented AT-Commands in this
application. The use of the commands is described in the later sections.

Command

Description
Check if serial interface and GSM modem is

AT

working.

ATE0

Turn echo off, less traffic on serial line.

AT+CNMI

Display of new incoming SMS.

AT+CPMS

Selection of SMS memory.

AT+CMGF

SMS string format, how they are compressed.
Read new message from a given memory

AT+CMGR

location.

AT+CMGS

Send message to a given recipient.

AT+CMGD

Delete message.

Table 2.1: AT-Command set overview

Status (AT)
The “AT” command is a status request used for testing if a compatible modem is
connected and that the serial interface is working properly.

5
Command

Response

Comment
Connected and

“AT”

“OK”

working
Serial line OK,

“ERROR”

modem error

Table 2.2: AT command and possible responses
Echo off (ATE0)
The “ATE0” command is used to configure the communication. By default, GSM
modems are set to echo any received command back with an acknowledgement.
An example of this is shown below.
ATrn

//Command sent to modem

ATrnOKrn

//Response from modem with echo enabled

After sending “AT”, the modem replies with “ATrrOKrn”. With echo off,
“ATE0”, the modem would have answered “rnOKrn” when executing “AT”.
The echo off command will reduce traffic on the serial line. The “ATE1” command
will enable echo again.

Response
Command

(echo off)
“OK”

“ATE0”

Comment
Echo off
Could not turn echo

“ERROR”

off

Table 2.3: ATE0 command and possible responses

6
New Message Indication (AT+CNMI)
“AT+CNMI” configures how the modem signals arrival of new messages to the
connected terminal device and how they are stored in the modem. This feature is
useful when it comes to reading new messages. Instead of polling the modem
periodically for arrival of new messages, “AT+CNMI” can tell when a new
message has arrived. The AVR will catch such indication, and set a flag. This
ensures that the modem only takes up CPU resources when necessary.

Command

Response
1

2

3

“AT+CNMI=[mode] ,[mt] ,[bm] ,[
4

Comment

”OK”

Mode set

5

ds] ,[bfr] ”

”ERROR”

Error, could not set such mode.

Table 2.4: AT+CNMI command and possible responses

NOTE:

1. [Mode] integer type: how messages are buffered.

2. [mt] integer type: indication of new SMS, set to 1.

3. [bm] integer type: Not in use.

4. [ds] Integer type: Not in use.

5. [bfr] integer type: Not in use.
7
What values “[mode]”, “[mf]”, “[bm]”, “[ds]” and “[bfr]” could take will be
different from modem to modem. This should be tested off line with modem
connected to the PC. An example is given below:

AT+CNMI=?rn

//Possible value request

+CNMI: (0,1),(0,1),(0,2),(0,2),(1)

//Possible parameter values

OK //Command executed OK

Preferred Message Storage (AT+CPMS)
The “AT+CPMS” command sets the target memory location for storing sent, read,
deleted and received SMS messages. Most modems have multiple storage types:
• “SM”: SIM card memory.
• “ME”: Mobile Equipment storage. Dedicated storage within the modem for text
messages only.
• “MT”: Collection of all storage connected to the modem: SM, ME or others. The
phone will chose one appropriate if this option is enabled.

8
Command

Response
“+CPMS:[used1],[tota
1

Comment
Memory configured OK

l1],[used2],

“AT+CPMS=[M1] ,[M2] ,[M3] ”
2

3

[total2],[used3],[total
3]
rrOKrn”
“+CMS
ERROR”

Error

Table 2.5: AT+CPMS command and possible responses
Notes:
1. [M1] string type: Memory from which messages are read and deleted.

2. [M2] string type: Memory to which messages are written and sent.

3. [M3] string type: Memory in which received messages are stored, if forwarding
to pc is not set.

4. [Used] integer type: is number of messages currently in x.

5. [Total] integer type: is total number of message locations in x.

Message format (AT+CMGF)
The “AT+CMGF” command is used to set input and output format of SMS
messages. Two modes are available:
9
• PDU mode: reading and sending SMS is done in a special encoded format.

• Text mode: reading and sending SMS is done in plain text.

PDU mode is described later in section 2.2. This compressed format saves message
payload and is default on most modems. PDU mode is implemented in the source
code for this application note, it is possible to use text mode to reduce code
footprint if the connected modem supports this.
In text mode header fields as sender address, message length, validation period etc.
can be read out in plain text together with the sent message. Please consult GSM

Command

Response
1

“AT+CPMS=[M1] ,[M2]2,[M3]3
”

Comment

“+CPMS:[used1],[total1],[us

Memory

ed2],

configured OK

[total2],[used3],[total3]
rrOKrn”
“+CMS
ERROR”

Error

Table 2.6: AT+CPMS command and possible responses
Notes:
1. [M1] string type: Memory from which messages are read and deleted.

2. [M2] string type: Memory to which messages are written and sent.

10
3. [M3] string type: Memory in which received messages are stored, if forwarding
to pc is not set.

4. [Used] integer type: is number of messages currently in x.

5. [Total] integer type: is total number of message locations in x.

Message format (AT+CMGF)
The “AT+CMGF” command is used to set input and output format of SMS
messages. Two modes are available:

• PDU mode: reading and sending SMS is done in a special encoded format.
• Text mode: reading and sending SMS is done in plain text.

PDU mode is described later. This compressed format saves message payload and
is default on- most modems. PDU mode is implemented in the source code for this
application note, it is possible to use text mode to reduce code footprint if the
connected modem supports this.

In text mode header fields as sender address, message length, validation period etc.
can be read out in plain text together with the sent message.
For more about reading messages in text mode. This is not the main target for this
application.

11
Command

Response
”OK”

1

Comment
Mode selected

“AT+CMGF=[mode] ”
“ERROR”

Error

Table 2.7: AT+CMGF command and possible responses

Notes:
1. [Mode] integer type: 0 is PDU mode, 1 is text mode.

Read Message (AT+CMGR)
The “AT+CMGR” command is used to read a message from a given memory
location. Execution of “AT+CMGR” returns a message at [index] from selected
memory [M1] (See section 2.1.4 for memory setup). The status of the message and
the entire compressed message (PDU) is returned. To get any useful information
out of the compressed message it should be decompressed. The PDU format and
the compression and decompression is described in section 2.2.2.

Command

Response
1

“AT+CMGR=[index] ”

Comment

“+CMGR:[stat] ,[alpha]3, [length]4 rn 2 Message read OK
pdu]5 “
Error, No such
“+CMS ERROR”

index

Table 2.8: AT+CMGR command and possible responses

12
Notes:

1. [Index] integer type: Read message from location [index].

2. [Stat]: integer type: Status of message in memory: READ, UNREAD, SENT
and UNSENT.

3. [Alpha] integer type: Manufacturer specific field. Not used.

4. [Length] integer type: Length of compressed message.

5. [pdu] string type: Compressed message.

Send Message (AT+CMGS)

This command enables the user to send SMS messages. Section 2.2.3 describes
how to build such messages. How to include user defined text and recipient
telephone number. After the user defined fields are set, the message can be
compressed and sent using the “AT+CMGS” command. An example usage of
“AT+CMGS” is given in section 2.2.3.

Command

Response
1

“AT+CMGS=[length] CR2
[pdu] 3 ctrl-Z4”

Comment

“OK”

Message sent

“+CMS
ERROR”

Command error

Table 2.9: AT+CMGS command and possible responses

13
Notes:

1. [Length] integer type: Length of message.

2. CR = Carriage return

3. [pdu] string type: Compressed message

4. Ctrl-Z: Command terminator. ASCII character 26 (dec).

Delete Message (AT+CMGD)

This command is used to delete a received stored message from [M1] (See Table
2-5).
This concludes the presentation of the implemented AT-Command set. More
commands are discussed in ETSI standard GSM 07.05, and proposed as a reference
when working with applications interfacing GSM compatible modems together
with manufacturer’s datasheet.

Command

Response
1

Comment

“OK”

Message deleted

“AT+CMGD=[index] ”
“ERROR”

Command error

Table 2.10: AT+CMGD command and possible responses

14
Notes:

1. [Index] integer type: Index of message to delete.

PDU format explained

There are two ways of sending and receiving SMS messages: by text mode and by
PDU (Protocol Description Unit) mode. By default most phones and modems are
setup to send SMS messages using a special compression format (PDU-mode).
Some modems supports text-mode, in which any information and the message
itself can be read as plain text. Note however that not all phones and modems
support text-mode.

15
CHAPTER-3

DESCRIPTION OF PROJECT
Interfacing of mobile phone with 8051:
We used a hands-free to take out the signal from mobile phone to transmit it to
microcontroller. The operating voltage of mobile is 3.3 V and provides 3.7 volt at
logic 1 And 0 v at logic0. To take it to the level equal of microcontroller we used
Max 232 IC. It can sense input voltage lower than 2V.

Figure 3.1: Compal (“calypso+” Based)
16
MAX 232:

The MAX232 is a dual driver/receiver that includes a capacitive voltage generator
to supply EIA-232 voltage levels from a single 5-V supply. Each receiver converts
EIA-232 inputs to 5-V TTL/CMOS levels. These receivers have a typical threshold
of 1.3 V and a typical hysteresis of 0.5 V, and can accept ±30-V inputs. Each driver
converts TTL/CMOS input levels into EIA-232 levels.

Pin Diagram:-

Figure 3.2: Pin diagram of MAX 232

17
Logic diagram (positive logic)

Figure 3.3: Logic diagram (positive logic)

1. POWER SUPPLY:

Power supply is a reference to a source of electrical power. A device or
system that supplies electrical or other types of energy to an output load or
group of loads is called a power supply unit or PSU. The term is most
commonly applied to electrical energy supplies, less often to mechanical
ones, and rarely to others.

Here in our application we need a 5v DC power supply for all electronics
involved in the project. This requires step down transformer, rectifier, voltage
regulator, and filter circuit for generation of 5v DC power.

18
Chapter-4
CONCLUSION

GSM systems is the collbaration of software & hardware through which most of
the complicity reduces, even systems size & coast also reduced. Such human
creation put us spell bound that why a topic of invention is taken Robotics design.

The GSM based digital notice board system that we have created has been in
practical use in various companies like in constuction companies and reasearch
areas, railways.
Collegs.
This system can avoid paper work , reduces human effort usage in definite purpose
areas.
-

19
Future of Project
•

The use of microcontroller in place of a general purpose computer allows
us to theorize on many further improvements on this project prototype.

•

Temperature display during periods wherein no message buffers are empty
is one such theoretical improvement that is very possible.

•

The ideal state of the microcontroller is when the indices or storage space
in the SIM memory are empty and no new message is there to display.

•

With proper use of interrupt routines the incoming message acts as an
interrupt, the temperature display is halted and the control flow jumps over
to the specific interrupt service routine which first validates the sender’s
number and then displays the information field.

•

Another very interesting and significant improvement would be to
accommodate multiple receiver MODEMS at the different positions in a
geographical area carrying duplicate SIM cards.

•

With the help of principles of TDMA technique, we can choose to
simulcast and broadcast important notifications.

•

After a display board receives the valid message through the MODEM and
displays it, it withdraws its identification from the network &
synchronously another nearby MODEM signs itself into the network and
starts to receive the message.

•

The message is broadcast by the mobile switching center for a continuous

•

Time period during which as many possible display board MODEMS
“catch” the message and display it as per the constraint of validation.

•

Multilingual display can be another added variation of the project.

•

The display boards are one of the single most important media for
information transfer to the maximum number of end users.
20
•

This feature can be added by programming the microcontroller to use
different encoding decoding schemes in different areas as per the local
language.

•

This will ensure the increase in the number of informed users.

•

Graphical display can also be considered as a long term but achievable and
target able output.

•

MMS technology along with relatively high end microcontrollers to carry
on the tasks of graphics encoding and decoding along with a more
expansive bank of usable memory can make this task a walk in the park.

21
REFERENCES

[1] Ronald K Jurgen “Automotive Electronic Handbook”: New York: McGrawHill, 2nd

ed., 1999, Part 7 Chapter 29.

[2] Peter Seiler, Bong sob Song, J. Karl Hedrick “Development of a Collision
Avoidance System”: 1998 Society of Automotive Engineers.
[3] General Motors: “The Ultimate Crash Safety is Avoiding Crashes” [online],
http://www.gm.com/company/careers/career_paths/rnd/nws_071800.html
[4] Daimler-Chrysler: “Safety on the Interstate” [online], available:
http://www.daimlerchrysler.com/dccomDatasheet of NE555
[5] Datasheet of TSOP1738
[6] Datasheet of TIP122 and TIP127 [13] www.alldatasheets.com

22

Mais conteúdo relacionado

Mais procurados

Digital Notice Board
Digital Notice BoardDigital Notice Board
Digital Notice BoardRaaki Gadde
 
Wireless Electronic Notice Board
Wireless Electronic Notice BoardWireless Electronic Notice Board
Wireless Electronic Notice BoardSajan CK
 
Gsm based home security system
Gsm based home security systemGsm based home security system
Gsm based home security systemNarayan Gour
 
Parameters of multipath channel
Parameters of multipath channelParameters of multipath channel
Parameters of multipath channelNaveen Kumar
 
Smart LED Notice Board
Smart LED Notice BoardSmart LED Notice Board
Smart LED Notice Boardswarnimmaurya
 
PROJECT REPORT ON Home automation using by Bluetooth
 PROJECT REPORT ON Home automation using by Bluetooth PROJECT REPORT ON Home automation using by Bluetooth
PROJECT REPORT ON Home automation using by BluetoothAakashkumar276
 
Training Report on Embedded System
Training Report on Embedded SystemTraining Report on Embedded System
Training Report on Embedded SystemRoshan Mani
 
Wireless E-Notice Board Using Bluetooth Report.docx
Wireless E-Notice Board Using Bluetooth Report.docxWireless E-Notice Board Using Bluetooth Report.docx
Wireless E-Notice Board Using Bluetooth Report.docxAbhishekGM10
 
gsm based Notice board
gsm based Notice boardgsm based Notice board
gsm based Notice boardASHIRVAD KUMAR
 
Computer network switching
Computer network switchingComputer network switching
Computer network switchingShivani Godha
 
wireless notice board
 wireless notice board wireless notice board
wireless notice boardAnmol Purohit
 
Home automation using bluetooth - Aurdino BASED
Home automation using bluetooth - Aurdino BASEDHome automation using bluetooth - Aurdino BASED
Home automation using bluetooth - Aurdino BASEDAshish Kumar Thakur
 
Mobile communication intro
Mobile communication introMobile communication intro
Mobile communication introTHANDAIAH PRABU
 
Global System for Mobile (GSM)
Global System for Mobile (GSM)Global System for Mobile (GSM)
Global System for Mobile (GSM)AakankshaR
 
Home automation using android phones-Project 2nd phase ppt
Home automation using android phones-Project 2nd phase pptHome automation using android phones-Project 2nd phase ppt
Home automation using android phones-Project 2nd phase pptthrishma reddy
 

Mais procurados (20)

Digital Notice Board
Digital Notice BoardDigital Notice Board
Digital Notice Board
 
Internship ppt on bsnl
Internship ppt on bsnlInternship ppt on bsnl
Internship ppt on bsnl
 
Wireless Electronic Notice Board
Wireless Electronic Notice BoardWireless Electronic Notice Board
Wireless Electronic Notice Board
 
Mobile network structure
Mobile network structure Mobile network structure
Mobile network structure
 
Gsm based home security system
Gsm based home security systemGsm based home security system
Gsm based home security system
 
Parameters of multipath channel
Parameters of multipath channelParameters of multipath channel
Parameters of multipath channel
 
Smart LED Notice Board
Smart LED Notice BoardSmart LED Notice Board
Smart LED Notice Board
 
3G System
3G System3G System
3G System
 
PROJECT REPORT ON Home automation using by Bluetooth
 PROJECT REPORT ON Home automation using by Bluetooth PROJECT REPORT ON Home automation using by Bluetooth
PROJECT REPORT ON Home automation using by Bluetooth
 
Training Report on Embedded System
Training Report on Embedded SystemTraining Report on Embedded System
Training Report on Embedded System
 
Wireless E-Notice Board Using Bluetooth Report.docx
Wireless E-Notice Board Using Bluetooth Report.docxWireless E-Notice Board Using Bluetooth Report.docx
Wireless E-Notice Board Using Bluetooth Report.docx
 
gsm based Notice board
gsm based Notice boardgsm based Notice board
gsm based Notice board
 
Computer network switching
Computer network switchingComputer network switching
Computer network switching
 
Seminar on BSNL
Seminar on BSNLSeminar on BSNL
Seminar on BSNL
 
wireless notice board
 wireless notice board wireless notice board
wireless notice board
 
Home automation using bluetooth - Aurdino BASED
Home automation using bluetooth - Aurdino BASEDHome automation using bluetooth - Aurdino BASED
Home automation using bluetooth - Aurdino BASED
 
Mobile communication intro
Mobile communication introMobile communication intro
Mobile communication intro
 
Gsm architecture
Gsm architecture Gsm architecture
Gsm architecture
 
Global System for Mobile (GSM)
Global System for Mobile (GSM)Global System for Mobile (GSM)
Global System for Mobile (GSM)
 
Home automation using android phones-Project 2nd phase ppt
Home automation using android phones-Project 2nd phase pptHome automation using android phones-Project 2nd phase ppt
Home automation using android phones-Project 2nd phase ppt
 

Semelhante a Project report on gsm based digital notice board

GSM Based Campus Display system
GSM Based Campus Display systemGSM Based Campus Display system
GSM Based Campus Display systemKashyap Shah
 
Gsm based wireless notice board Rajneesh
Gsm based wireless notice board RajneeshGsm based wireless notice board Rajneesh
Gsm based wireless notice board RajneeshRAJNEESH KUMAR SALGOTRA
 
Iaetsd wireless electronic notice board using gsm
Iaetsd wireless electronic notice board using gsmIaetsd wireless electronic notice board using gsm
Iaetsd wireless electronic notice board using gsmIaetsd Iaetsd
 
Gsm based sms controller
Gsm based sms controllerGsm based sms controller
Gsm based sms controllerVinayak Shinde
 
H0412249053
H0412249053H0412249053
H0412249053IOSR-JEN
 
Project ppt
Project pptProject ppt
Project pptAshu0711
 
Anti theftsystemforvechicles1 final
Anti theftsystemforvechicles1 finalAnti theftsystemforvechicles1 final
Anti theftsystemforvechicles1 finalAshu0711
 
Home automation and securty using wireless networks
Home automation and securty using wireless networksHome automation and securty using wireless networks
Home automation and securty using wireless networksArun Kumar
 
Home Automation Using Mobile Communication
Home Automation Using Mobile CommunicationHome Automation Using Mobile Communication
Home Automation Using Mobile Communicationiosrjce
 
Design and Implementation of A GSM-Based Scrolling Message Display Board
Design and Implementation of A GSM-Based Scrolling Message Display Board Design and Implementation of A GSM-Based Scrolling Message Display Board
Design and Implementation of A GSM-Based Scrolling Message Display Board rinzindorjej
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD Editor
 
gsmbasedwirelessnoticeboard-160830052032.pdf
gsmbasedwirelessnoticeboard-160830052032.pdfgsmbasedwirelessnoticeboard-160830052032.pdf
gsmbasedwirelessnoticeboard-160830052032.pdfSwamyNallabelli1
 
Hack.lu 2012 - Fuzzing the GSM protocol stack (paper)
Hack.lu 2012 - Fuzzing the GSM protocol stack (paper)Hack.lu 2012 - Fuzzing the GSM protocol stack (paper)
Hack.lu 2012 - Fuzzing the GSM protocol stack (paper)📡 Sebastien Dudek
 
Mini p gsm based display
Mini p gsm based displayMini p gsm based display
Mini p gsm based displayAshu0711
 
Design and Implementation of Vehicle Gaseous Fuel Leakage Detection System us...
Design and Implementation of Vehicle Gaseous Fuel Leakage Detection System us...Design and Implementation of Vehicle Gaseous Fuel Leakage Detection System us...
Design and Implementation of Vehicle Gaseous Fuel Leakage Detection System us...ijsrd.com
 

Semelhante a Project report on gsm based digital notice board (20)

GSM Based Campus Display system
GSM Based Campus Display systemGSM Based Campus Display system
GSM Based Campus Display system
 
Gsm based wireless notice board Rajneesh
Gsm based wireless notice board RajneeshGsm based wireless notice board Rajneesh
Gsm based wireless notice board Rajneesh
 
GSM BASED e-NOTICE BOARD SRS
GSM BASED e-NOTICE BOARD SRSGSM BASED e-NOTICE BOARD SRS
GSM BASED e-NOTICE BOARD SRS
 
ABHAY PPT
ABHAY PPTABHAY PPT
ABHAY PPT
 
Iaetsd wireless electronic notice board using gsm
Iaetsd wireless electronic notice board using gsmIaetsd wireless electronic notice board using gsm
Iaetsd wireless electronic notice board using gsm
 
Gsm based sms controller
Gsm based sms controllerGsm based sms controller
Gsm based sms controller
 
H0412249053
H0412249053H0412249053
H0412249053
 
Project ppt
Project pptProject ppt
Project ppt
 
01362503
0136250301362503
01362503
 
M05078996
M05078996M05078996
M05078996
 
Anti theftsystemforvechicles1 final
Anti theftsystemforvechicles1 finalAnti theftsystemforvechicles1 final
Anti theftsystemforvechicles1 final
 
Home automation and securty using wireless networks
Home automation and securty using wireless networksHome automation and securty using wireless networks
Home automation and securty using wireless networks
 
D017651519
D017651519D017651519
D017651519
 
Home Automation Using Mobile Communication
Home Automation Using Mobile CommunicationHome Automation Using Mobile Communication
Home Automation Using Mobile Communication
 
Design and Implementation of A GSM-Based Scrolling Message Display Board
Design and Implementation of A GSM-Based Scrolling Message Display Board Design and Implementation of A GSM-Based Scrolling Message Display Board
Design and Implementation of A GSM-Based Scrolling Message Display Board
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
 
gsmbasedwirelessnoticeboard-160830052032.pdf
gsmbasedwirelessnoticeboard-160830052032.pdfgsmbasedwirelessnoticeboard-160830052032.pdf
gsmbasedwirelessnoticeboard-160830052032.pdf
 
Hack.lu 2012 - Fuzzing the GSM protocol stack (paper)
Hack.lu 2012 - Fuzzing the GSM protocol stack (paper)Hack.lu 2012 - Fuzzing the GSM protocol stack (paper)
Hack.lu 2012 - Fuzzing the GSM protocol stack (paper)
 
Mini p gsm based display
Mini p gsm based displayMini p gsm based display
Mini p gsm based display
 
Design and Implementation of Vehicle Gaseous Fuel Leakage Detection System us...
Design and Implementation of Vehicle Gaseous Fuel Leakage Detection System us...Design and Implementation of Vehicle Gaseous Fuel Leakage Detection System us...
Design and Implementation of Vehicle Gaseous Fuel Leakage Detection System us...
 

Mais de manish katara

Seminar report on paper battery
Seminar report on paper batterySeminar report on paper battery
Seminar report on paper batterymanish katara
 
Presentation on Paper battery
Presentation on Paper battery Presentation on Paper battery
Presentation on Paper battery manish katara
 
Industrial visit report all india radio and toshniwal industries
Industrial visit report all india radio and toshniwal industriesIndustrial visit report all india radio and toshniwal industries
Industrial visit report all india radio and toshniwal industriesmanish katara
 
Test solutions of computer languages
Test solutions of computer languagesTest solutions of computer languages
Test solutions of computer languagesmanish katara
 
Some important tips for control systems
Some important tips for control systemsSome important tips for control systems
Some important tips for control systemsmanish katara
 
Electronics ckts symbols
Electronics ckts symbolsElectronics ckts symbols
Electronics ckts symbolsmanish katara
 
Ece interview questions with answers
Ece interview questions with answersEce interview questions with answers
Ece interview questions with answersmanish katara
 
ppt on embedded system
ppt on embedded systemppt on embedded system
ppt on embedded systemmanish katara
 
embedded system report
embedded system reportembedded system report
embedded system reportmanish katara
 
Syllabuswise analyse of gate
Syllabuswise analyse of gate Syllabuswise analyse of gate
Syllabuswise analyse of gate manish katara
 
Gate ece question paper with answers 2011
Gate ece question paper with answers 2011Gate ece question paper with answers 2011
Gate ece question paper with answers 2011manish katara
 
Gate 2013 complete solutions of ec electronics and communication engineering
Gate 2013 complete solutions of ec  electronics and communication engineeringGate 2013 complete solutions of ec  electronics and communication engineering
Gate 2013 complete solutions of ec electronics and communication engineeringmanish katara
 
Final ppt w o optical fiber
Final ppt w o optical fiberFinal ppt w o optical fiber
Final ppt w o optical fibermanish katara
 
3 broadband servies-250611
3 broadband servies-2506113 broadband servies-250611
3 broadband servies-250611manish katara
 

Mais de manish katara (20)

Seminar report on paper battery
Seminar report on paper batterySeminar report on paper battery
Seminar report on paper battery
 
Presentation on Paper battery
Presentation on Paper battery Presentation on Paper battery
Presentation on Paper battery
 
Industrial visit report all india radio and toshniwal industries
Industrial visit report all india radio and toshniwal industriesIndustrial visit report all india radio and toshniwal industries
Industrial visit report all india radio and toshniwal industries
 
Test solutions of computer languages
Test solutions of computer languagesTest solutions of computer languages
Test solutions of computer languages
 
Some important tips for control systems
Some important tips for control systemsSome important tips for control systems
Some important tips for control systems
 
Electronics ckts symbols
Electronics ckts symbolsElectronics ckts symbols
Electronics ckts symbols
 
Ece interview questions with answers
Ece interview questions with answersEce interview questions with answers
Ece interview questions with answers
 
ppt on embedded system
ppt on embedded systemppt on embedded system
ppt on embedded system
 
all india radio
 all india radio all india radio
all india radio
 
embedded system report
embedded system reportembedded system report
embedded system report
 
1 6
1 61 6
1 6
 
Ch05
Ch05Ch05
Ch05
 
Syllabuswise analyse of gate
Syllabuswise analyse of gate Syllabuswise analyse of gate
Syllabuswise analyse of gate
 
Os
OsOs
Os
 
Gate ece question paper with answers 2011
Gate ece question paper with answers 2011Gate ece question paper with answers 2011
Gate ece question paper with answers 2011
 
Gate 2013 complete solutions of ec electronics and communication engineering
Gate 2013 complete solutions of ec  electronics and communication engineeringGate 2013 complete solutions of ec  electronics and communication engineering
Gate 2013 complete solutions of ec electronics and communication engineering
 
Pcm
PcmPcm
Pcm
 
Final ppt w o optical fiber
Final ppt w o optical fiberFinal ppt w o optical fiber
Final ppt w o optical fiber
 
3 broadband servies-250611
3 broadband servies-2506113 broadband servies-250611
3 broadband servies-250611
 
Final ppt
Final pptFinal ppt
Final ppt
 

Último

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 

Último (20)

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 

Project report on gsm based digital notice board

  • 1. CHAPTER -1 Introduction The project mainly focuses on transmission of textual data through air interface by the use of GSM through asynchronous serial communication .The data will be processed by the microcontroller on both ends. The data will be displayed on Lcd only after entering unique pass key. In addition to that address matching is done and data can be received only by the dedicated receiver. Actually what happens is, sending sms through phone has become very popular and if we can use this sms to control devices and in displaying data. It is possible to receive or decode the sms globally by using gsm, by the any part of world we can control and display data on Lcd board. In this project we not only send the data but send the data with pass code also. Which enables us to prevent the unauthorized use of Lcd display board and only the person who have pass code can have access to Lcd board . Important feature of thesis is we are using gsm network by which we can control Lcd display board by the any part of globe. If we must have the respected pass code. And the pass code is ok then the correct data is to be displayed on LCD. The system required for the purpose is nothing but a Microcontroller based SMS box. The main components of the kit include microcontroller, GSM modem. These components are integrated with the display board and thus incorporate the wireless features. The GSM modem receives the SMS. The AT commands are serially transferred to the modem through MAX232. In return the modem transmits the stored message through the COM port. The microcontroller validates the SMS and then displays the message in the LCD display board. Various time division multiplexing techniques have been suggested to make the display boards functionally efficient. The microcontroller used in this case is AT89s52. Motorola C168 is used as the GSM modem. In the prototype model, LCD display is used for 1
  • 2. simulation purpose. While implementation this can be replaced by actually display boards. The data will be displayed only after entering unique pass key .In addition to that address matching is done and data can be receive only by the dedicated receiver , and this data is displayed on LCD. The main focus of the thesis is on displaying information to a dedicated Lcd by the any part of world using GSM network, which facilitate to control any message board globally from any location. HARDWARE USED 1. LIST OF COMPONENTS Table 1.1: List of components 2
  • 3. SOFTWARE USED 1. Keil u-Vision 3.0 :Keil Software is used to provide you with software development tools for 8051 based microcontrollers. With the Keil tools, you can generate embedded applications for virtually every 8051 derivative. The supported microcontrollers are listed in the µ-vision. 2. PRO51 Programmer Software :Proteus software is used simulate the circuit by drawing the Complete circuit diagram and burning the programme hex file into microcontroller in software. Figure 1.1: Block Diagram of GSM based digital Notice Board 3
  • 4. CHAPTER-2 THEORY OF OPERATION In this project we interfaced 8051 microcontroller with Motorola’s C168 GSM mobile phone to decode the received message and do the required action. The protocol used for the communication between the two is AT command. The microcontroller pulls the SMS received by phone, decode it, recognizes the Mobile no. and then switches on the relays attached to its port to control the appliances. After successful operation, controller sends back acknowledgement to the user’s mobile through SMS. Figure 2.1: Data flow diagram of operation 4 the
  • 5. AT-Command set The following section describes the AT-Command set. The commands can be tried out by connecting a GSM modem to one of the PC’s COM ports. Type in the test-command, adding CR + LF (Carriage return + Line feed = rn) before executing. Table gives an overview of the implemented AT-Commands in this application. The use of the commands is described in the later sections. Command Description Check if serial interface and GSM modem is AT working. ATE0 Turn echo off, less traffic on serial line. AT+CNMI Display of new incoming SMS. AT+CPMS Selection of SMS memory. AT+CMGF SMS string format, how they are compressed. Read new message from a given memory AT+CMGR location. AT+CMGS Send message to a given recipient. AT+CMGD Delete message. Table 2.1: AT-Command set overview Status (AT) The “AT” command is a status request used for testing if a compatible modem is connected and that the serial interface is working properly. 5
  • 6. Command Response Comment Connected and “AT” “OK” working Serial line OK, “ERROR” modem error Table 2.2: AT command and possible responses Echo off (ATE0) The “ATE0” command is used to configure the communication. By default, GSM modems are set to echo any received command back with an acknowledgement. An example of this is shown below. ATrn //Command sent to modem ATrnOKrn //Response from modem with echo enabled After sending “AT”, the modem replies with “ATrrOKrn”. With echo off, “ATE0”, the modem would have answered “rnOKrn” when executing “AT”. The echo off command will reduce traffic on the serial line. The “ATE1” command will enable echo again. Response Command (echo off) “OK” “ATE0” Comment Echo off Could not turn echo “ERROR” off Table 2.3: ATE0 command and possible responses 6
  • 7. New Message Indication (AT+CNMI) “AT+CNMI” configures how the modem signals arrival of new messages to the connected terminal device and how they are stored in the modem. This feature is useful when it comes to reading new messages. Instead of polling the modem periodically for arrival of new messages, “AT+CNMI” can tell when a new message has arrived. The AVR will catch such indication, and set a flag. This ensures that the modem only takes up CPU resources when necessary. Command Response 1 2 3 “AT+CNMI=[mode] ,[mt] ,[bm] ,[ 4 Comment ”OK” Mode set 5 ds] ,[bfr] ” ”ERROR” Error, could not set such mode. Table 2.4: AT+CNMI command and possible responses NOTE: 1. [Mode] integer type: how messages are buffered. 2. [mt] integer type: indication of new SMS, set to 1. 3. [bm] integer type: Not in use. 4. [ds] Integer type: Not in use. 5. [bfr] integer type: Not in use. 7
  • 8. What values “[mode]”, “[mf]”, “[bm]”, “[ds]” and “[bfr]” could take will be different from modem to modem. This should be tested off line with modem connected to the PC. An example is given below: AT+CNMI=?rn //Possible value request +CNMI: (0,1),(0,1),(0,2),(0,2),(1) //Possible parameter values OK //Command executed OK Preferred Message Storage (AT+CPMS) The “AT+CPMS” command sets the target memory location for storing sent, read, deleted and received SMS messages. Most modems have multiple storage types: • “SM”: SIM card memory. • “ME”: Mobile Equipment storage. Dedicated storage within the modem for text messages only. • “MT”: Collection of all storage connected to the modem: SM, ME or others. The phone will chose one appropriate if this option is enabled. 8
  • 9. Command Response “+CPMS:[used1],[tota 1 Comment Memory configured OK l1],[used2], “AT+CPMS=[M1] ,[M2] ,[M3] ” 2 3 [total2],[used3],[total 3] rrOKrn” “+CMS ERROR” Error Table 2.5: AT+CPMS command and possible responses Notes: 1. [M1] string type: Memory from which messages are read and deleted. 2. [M2] string type: Memory to which messages are written and sent. 3. [M3] string type: Memory in which received messages are stored, if forwarding to pc is not set. 4. [Used] integer type: is number of messages currently in x. 5. [Total] integer type: is total number of message locations in x. Message format (AT+CMGF) The “AT+CMGF” command is used to set input and output format of SMS messages. Two modes are available: 9
  • 10. • PDU mode: reading and sending SMS is done in a special encoded format. • Text mode: reading and sending SMS is done in plain text. PDU mode is described later in section 2.2. This compressed format saves message payload and is default on most modems. PDU mode is implemented in the source code for this application note, it is possible to use text mode to reduce code footprint if the connected modem supports this. In text mode header fields as sender address, message length, validation period etc. can be read out in plain text together with the sent message. Please consult GSM Command Response 1 “AT+CPMS=[M1] ,[M2]2,[M3]3 ” Comment “+CPMS:[used1],[total1],[us Memory ed2], configured OK [total2],[used3],[total3] rrOKrn” “+CMS ERROR” Error Table 2.6: AT+CPMS command and possible responses Notes: 1. [M1] string type: Memory from which messages are read and deleted. 2. [M2] string type: Memory to which messages are written and sent. 10
  • 11. 3. [M3] string type: Memory in which received messages are stored, if forwarding to pc is not set. 4. [Used] integer type: is number of messages currently in x. 5. [Total] integer type: is total number of message locations in x. Message format (AT+CMGF) The “AT+CMGF” command is used to set input and output format of SMS messages. Two modes are available: • PDU mode: reading and sending SMS is done in a special encoded format. • Text mode: reading and sending SMS is done in plain text. PDU mode is described later. This compressed format saves message payload and is default on- most modems. PDU mode is implemented in the source code for this application note, it is possible to use text mode to reduce code footprint if the connected modem supports this. In text mode header fields as sender address, message length, validation period etc. can be read out in plain text together with the sent message. For more about reading messages in text mode. This is not the main target for this application. 11
  • 12. Command Response ”OK” 1 Comment Mode selected “AT+CMGF=[mode] ” “ERROR” Error Table 2.7: AT+CMGF command and possible responses Notes: 1. [Mode] integer type: 0 is PDU mode, 1 is text mode. Read Message (AT+CMGR) The “AT+CMGR” command is used to read a message from a given memory location. Execution of “AT+CMGR” returns a message at [index] from selected memory [M1] (See section 2.1.4 for memory setup). The status of the message and the entire compressed message (PDU) is returned. To get any useful information out of the compressed message it should be decompressed. The PDU format and the compression and decompression is described in section 2.2.2. Command Response 1 “AT+CMGR=[index] ” Comment “+CMGR:[stat] ,[alpha]3, [length]4 rn 2 Message read OK pdu]5 “ Error, No such “+CMS ERROR” index Table 2.8: AT+CMGR command and possible responses 12
  • 13. Notes: 1. [Index] integer type: Read message from location [index]. 2. [Stat]: integer type: Status of message in memory: READ, UNREAD, SENT and UNSENT. 3. [Alpha] integer type: Manufacturer specific field. Not used. 4. [Length] integer type: Length of compressed message. 5. [pdu] string type: Compressed message. Send Message (AT+CMGS) This command enables the user to send SMS messages. Section 2.2.3 describes how to build such messages. How to include user defined text and recipient telephone number. After the user defined fields are set, the message can be compressed and sent using the “AT+CMGS” command. An example usage of “AT+CMGS” is given in section 2.2.3. Command Response 1 “AT+CMGS=[length] CR2 [pdu] 3 ctrl-Z4” Comment “OK” Message sent “+CMS ERROR” Command error Table 2.9: AT+CMGS command and possible responses 13
  • 14. Notes: 1. [Length] integer type: Length of message. 2. CR = Carriage return 3. [pdu] string type: Compressed message 4. Ctrl-Z: Command terminator. ASCII character 26 (dec). Delete Message (AT+CMGD) This command is used to delete a received stored message from [M1] (See Table 2-5). This concludes the presentation of the implemented AT-Command set. More commands are discussed in ETSI standard GSM 07.05, and proposed as a reference when working with applications interfacing GSM compatible modems together with manufacturer’s datasheet. Command Response 1 Comment “OK” Message deleted “AT+CMGD=[index] ” “ERROR” Command error Table 2.10: AT+CMGD command and possible responses 14
  • 15. Notes: 1. [Index] integer type: Index of message to delete. PDU format explained There are two ways of sending and receiving SMS messages: by text mode and by PDU (Protocol Description Unit) mode. By default most phones and modems are setup to send SMS messages using a special compression format (PDU-mode). Some modems supports text-mode, in which any information and the message itself can be read as plain text. Note however that not all phones and modems support text-mode. 15
  • 16. CHAPTER-3 DESCRIPTION OF PROJECT Interfacing of mobile phone with 8051: We used a hands-free to take out the signal from mobile phone to transmit it to microcontroller. The operating voltage of mobile is 3.3 V and provides 3.7 volt at logic 1 And 0 v at logic0. To take it to the level equal of microcontroller we used Max 232 IC. It can sense input voltage lower than 2V. Figure 3.1: Compal (“calypso+” Based) 16
  • 17. MAX 232: The MAX232 is a dual driver/receiver that includes a capacitive voltage generator to supply EIA-232 voltage levels from a single 5-V supply. Each receiver converts EIA-232 inputs to 5-V TTL/CMOS levels. These receivers have a typical threshold of 1.3 V and a typical hysteresis of 0.5 V, and can accept ±30-V inputs. Each driver converts TTL/CMOS input levels into EIA-232 levels. Pin Diagram:- Figure 3.2: Pin diagram of MAX 232 17
  • 18. Logic diagram (positive logic) Figure 3.3: Logic diagram (positive logic) 1. POWER SUPPLY: Power supply is a reference to a source of electrical power. A device or system that supplies electrical or other types of energy to an output load or group of loads is called a power supply unit or PSU. The term is most commonly applied to electrical energy supplies, less often to mechanical ones, and rarely to others. Here in our application we need a 5v DC power supply for all electronics involved in the project. This requires step down transformer, rectifier, voltage regulator, and filter circuit for generation of 5v DC power. 18
  • 19. Chapter-4 CONCLUSION GSM systems is the collbaration of software & hardware through which most of the complicity reduces, even systems size & coast also reduced. Such human creation put us spell bound that why a topic of invention is taken Robotics design. The GSM based digital notice board system that we have created has been in practical use in various companies like in constuction companies and reasearch areas, railways. Collegs. This system can avoid paper work , reduces human effort usage in definite purpose areas. - 19
  • 20. Future of Project • The use of microcontroller in place of a general purpose computer allows us to theorize on many further improvements on this project prototype. • Temperature display during periods wherein no message buffers are empty is one such theoretical improvement that is very possible. • The ideal state of the microcontroller is when the indices or storage space in the SIM memory are empty and no new message is there to display. • With proper use of interrupt routines the incoming message acts as an interrupt, the temperature display is halted and the control flow jumps over to the specific interrupt service routine which first validates the sender’s number and then displays the information field. • Another very interesting and significant improvement would be to accommodate multiple receiver MODEMS at the different positions in a geographical area carrying duplicate SIM cards. • With the help of principles of TDMA technique, we can choose to simulcast and broadcast important notifications. • After a display board receives the valid message through the MODEM and displays it, it withdraws its identification from the network & synchronously another nearby MODEM signs itself into the network and starts to receive the message. • The message is broadcast by the mobile switching center for a continuous • Time period during which as many possible display board MODEMS “catch” the message and display it as per the constraint of validation. • Multilingual display can be another added variation of the project. • The display boards are one of the single most important media for information transfer to the maximum number of end users. 20
  • 21. • This feature can be added by programming the microcontroller to use different encoding decoding schemes in different areas as per the local language. • This will ensure the increase in the number of informed users. • Graphical display can also be considered as a long term but achievable and target able output. • MMS technology along with relatively high end microcontrollers to carry on the tasks of graphics encoding and decoding along with a more expansive bank of usable memory can make this task a walk in the park. 21
  • 22. REFERENCES [1] Ronald K Jurgen “Automotive Electronic Handbook”: New York: McGrawHill, 2nd ed., 1999, Part 7 Chapter 29. [2] Peter Seiler, Bong sob Song, J. Karl Hedrick “Development of a Collision Avoidance System”: 1998 Society of Automotive Engineers. [3] General Motors: “The Ultimate Crash Safety is Avoiding Crashes” [online], http://www.gm.com/company/careers/career_paths/rnd/nws_071800.html [4] Daimler-Chrysler: “Safety on the Interstate” [online], available: http://www.daimlerchrysler.com/dccomDatasheet of NE555 [5] Datasheet of TSOP1738 [6] Datasheet of TIP122 and TIP127 [13] www.alldatasheets.com 22