Você está na página 1de 4

Proceeding of the 2009 International Conference on Space Science and Communication

26-27 October 2009, Port Dickson, Negeri Sembilan, Malaysia

An Automated Remote Messaging System using


GSM Communications
Ahmad Zaki bin Hj Shukor Muhammad Herman bin Jamaluddin
Department of Mechatronics, Department of Mechatronics,
Faculty of Electrical Engineering, Faculty of Electrical Engineering,
Universiti Teknikal Malaysia Melaka (UTeM), Universiti Teknikal Malaysia Melaka (UTeM),
Karung Berkunci No. 1752, Pejabat Pos Durian Tunggal, Karung Berkunci No. 1752, Pejabat Pos Durian Tunggal,
76109 Durian Tunggal, Melaka, Malaysia 76109 Durian Tunggal, Melaka, Malaysia
Email: zaki@utem.edu.my Email: herman@utem.edu.my

Abstract—This paper discusses a method for implementing For advertising, the brightness of the LEDs and the way it is
Global System for Mobile communications (GSM) control of a displayed or appears, attracts motorists and pedestrians when
Light Emitting Diode (LED) Messaging Display for advertising they are crossing the road or stopping at the traffic lights.
purposes. The existing LED display will be used and integrated Where big screen LED Televisions might capture the views of
with the custom-built GSM controller board, inclusive of
the people, simple alphabetical electronic moving display has
microcontroller for control and data transmission to the GSM
modem just enough attraction to relay information to the viewers.
Outdoor LEDs serves the purpose of public and indoor LEDs
Keywords-component; Wireless Communication, GSM are placed inside buildings.
Communication, LED electronic display,

I. INTRODUCTION (HEADING 1)
Light Emitting Diodes (LED) Dot-Matrix digital display has
made its way to the digital world, enhancing advertising,
traffic lights and other display systems. Due to its clear and
bright lights emitted from the LED’s and the way it can be
displayed, such as rolling left, right or other fancy
appearances, it has and is gaining popularity around the world.
Even shopkeepers are using LED displays to attract customers
to have a look at their bargains. It is commercially available in
different sizes, colors, features and lines. Some can even
display graphics alongside alphanumeric.

In some applications, LED displays can even save lives and


avoid accidents, especially road fatalities. When outdoor Fig. 2.An outdoor LED electronic display showing the speed limit
LED’s are placed at the right spots, motorists can view their
speed of their vehicles and compare it with the speed limit, Global System for Mobile Communications (GSM) on the
thus alerting the driver to adhere to the speed limits of the road other hand, is world’s most famous mobile platform. Mobile
they are using. Any occurrences of road construction or phones with SIM cards use GSM technology to help
repairs, motorists can be alert and change lanes because of the communicate with family, friends and business associates [1].
brightness of the LEDs that can be seen from afar. Motorists It has the added value of mobility, easy availability and high
can also avoid traffic jams or at least be ready to face one uptime.
when using the mentioned roads. Traffic lights are also using
LED technology, which is brighter than the conventional Other applications of GSM include access control devices,
lamp. transaction terminals and supply chain management. For
access control devices, it enables communication with servers
and security staff through SMS messaging. Complete log of
transaction is available at the head-office server instantly
without any wiring involved and device can instantly alert
security personnel on their mobile phones in case of any
problem. Transactions for purchasing items can also be made
Fig. 1.An indoor LED electronic display
via GSM communication, and the item will arrive at our

978-1-4244-4956-9/09/$25.00 ©2009 IEEE 11


doorstep. In industrial applications, GSM has been used for
remote robot training, traffic forecasting and monitoring
systems of various applications such as water quality, pressure
sensor and wireless health monitoring [5,6,7,8,9].

The significant advantages of GSM include multiple


remote data collection points, high uptime compared to Fig. 2. Internal Connections between GSM controller and LED Display
landline, internet, large transaction volume in a very short time
and quick installations. Since the introduction and commercial As shown in Figure 2, the connections between the GSM
use of GSM technology, it continues to grow in usage and controller (microcontroller and GSM modem), and the
applications throughout the world. communication pins of the LED display has to be cross
connected. In other words, the Receive pin from GSM
II. COMBINATION OF SYSTEMS controller should be connected to the Transmit pin from the
LED display. The Transmit pin from the GSM controller
should be connected to the Receive pin from the LED display.
Due to the advantages of LED displays and GSM
The Ground pin between these two devices must also be
technology, a merge between these two would give birth to an
connected together.
advanced and novel application. As a whole, GSM technology
would enhance the feature of the LED display by allowing
wireless remote control of the LED display, thus saving a huge III. ASSEMBLY AND INTEGRATION
amount of cost on cabling. This is because the existing LED Once connections have been established, familiarization
display depends on PC connection and requires the operator to with the communication language of the GSM modem has to
update the advertisement manually by coming to the place be done. This is a must, because the microcontroller
where the advertisements are. programming is based on the GSM modem’s language.
Correct commands have to be sent from the microcontroller to
the GSM modem because only then can the microcontroller
process the messages read by the GSM modem. For GSM
enthusiasts, the most common language is the AT command,
and this command set, can be done in two ways, TEXT mode
or PDU mode.

For example, to read a message received by the GSM


modem, the command “AT+CMGR=1” in TEXT mode, can
be sent from the microcontroller to read the message at
location 1 [2]. Via RS232, the message will be sent in ASCII
code to the microcontroller, bit by bit. It is then up to the
Fig. 1. Diagram of the merged system microcontroller to process the data. In this research, the data
or message received will be stored in some locations at the
Existing cabled connections for LED displays use RS232, internal Electrically Erasable Programmable Read Only
RS485, TCP/IP or modem communication. These Memory (EEPROM) of the microcontroller. For recovering
communications methods require multiple connections for the message, the microcontroller has to read from these
receiving and transmitting data. Some are suitable for short locations and send the data in the language understood by the
distance and some can even be used for long and in long LED display. Every LED display has different ways of
distances, this will inquire more cabling costs. interacting with the Personal Computer; hence to
communicate with the microcontroller, one has to understand
The challenge for this research is to find the correct protocol first the language of the LED display, even though it uses the
that can be used for communication between the LED display same RS232 communication as the GSM modem. The hardest
and the GSM modem. Some researchers use RS485 or TCP/IP part of the project is this stage, and consumes most of the
or modem communications. Because of the short distance research hour allocation.
between the added GSM controller circuit and the LED
display, this research chooses the RS232 communication The medium of interface between the GSM modem and
protocol. The GSM controller circuit is stacked inside the LED display is the microcontroller. This is the core
LED display to reduce the mounting accessories and optimize component between the two. Once both languages are
space. understood, programming can be done on the microcontroller
to test the functionality of both the GSM modem and the LED
display interacting with each other.

12
microcontroller.

The microcontroller will wait for any new messages to be


sent to the LED display, and this is realized by waiting for an
alert response from the modem. If there are no new messages,
only the existing message in read only memory (ROM) will be
Fig. 3. Location of microcontroller in the system sent to the LED display.
As seen in Figure 3, the microcontroller stands between the
LED display and the GSM modem. Thus, two RS232
communications must be enabled by the microcontroller. Due
to the limitations of the microcontroller, one communication
uses hardware USART module while the other uses software
UART module. The compiler for the microcontroller allows
the usage of both modules simultaneously in the program, and
solves the problem of communication.

Fig. 4. The GSM modem (right) and the microcontroller board (left) [3].

IV. ALGORITHM OF THE SYSTEM


Since this system only displays messages once an input
from either the Personal Computer or the GSM controller is
detected, the function of the microcontroller is to be at standby
or wait for the occurrence of an input. During the wait, the
LED display will relay the current message, either from the Fig. 5. The main algorithm of the messaging system
internal memory of the controller or the input signals from the
PC, if the user uses the PC to update the message. The internal As shown in Figure 5, the system will always refer to the
memory is a read-only memory, thus the user need not fear of internal memory of the controller for the message display.
data loss to the previous messages received and stored. This step helps in the case of wanted or unwanted reset of the
microcontroller, as long as the internal memory of the
If a new message is detected, the new message must be read microcontroller is not damaged. If the controller detects a new
from the modem and stored into the microcontroller’s internal message, only then will the LED display be updated. This
memory. The new message will be appended to the memory, algorithm proved to be a success when implemented with C
and all messages will be displayed, the latest displayed first. A programming for an 8-bit PIC microcontroller. The internal
simple flowchart of the algorithm can be seen in Figure 5. memory proved to be sufficient for the amount of characters
allowed by the LED display, as it limits only to 200 characters
When the system is started, initialization codes have to be per display [4].
sent from the microcontroller to the GSM modem. This is to
standardize the format of the messages and settings of the The GSM modem sends out information to the
GSM modem, i.e. baud rate, message alert. Without microcontroller, for example the date and time the message is
initialization, the modem would not be able to communicate received, the location of the message in the GSM memory, the
with the microcontroller correctly. This initialization would sender’s mobile number and finally the message that is sent by
enquire some time, thus the microcontroller has to know that the sender. All these information need not be displayed on the
the modem is ready for receiving messages and alerting the LED display, as what is important is just the message itself.

13
The information from the modem is filtered, so as to only electronic display. However, this paper presents the concept
allow the SMS message to be displayed. Prior to this, the and processes involved in the implementation of the project. It
identification of the sender has to be monitored, only allowing shows the overall block diagram of the merged GSM and LED
the known number or administrator to access the system. This display system and how it is realized in hardware, i.e. physical
is called Caller Line Identification Presentation (CLIP) and it connections During assembly, this paper also presented the
serves as a security measure. If any unknown or unauthorized location of the microcontroller in the merged system. It also
number accesses the system, the controller will prevent the discusses briefly the overall algorithm of the controller and the
message from being displayed. The flowchart is shown in Caller Line Identification Presentation (CLIP) security system.
The LED display used was the Multimedia LED, which has a
Figure 6.
limit of 200 characters per display.

ACKNOWLEDGMENT
Gratitude is expressed for Universiti Teknikal Malaysia
Melaka (UTeM), particularly the Deputy Vice Chancellor
(Research, Development and Commercialization) and Centre
for Research and Innovation Management, for providing the
platform in terms of facilities and equipments and short-term
research grant dedicated to this project. Thanks to the
university for allowing participation in exhibition competitions,
and resulted in numerous medals, national and international.
Thanks to the Faculty of Electrical Engineering for allowing
success to this project. Thanks also to the researchers and
industrial collaborators, Melaka ICT Holdings (MICTH) who
spend their valuable resources, time and money, in completing
this project.

REFERENCES
[1] Applications of GSM/GPRS Modems, Accessed 12 June 2008,
www.ravirajtech.com/Applications_of_GSM_Modem.html

[2] Wavecom modem datasheet, Accessed 6 June 2008,


http://www.goldsunny.com.my/spec/GS35i_GSM_Modem.pdf

Fig. 6. The CLIP system algorithm [3] A.Z. Shukor, M.H. Jamaluddin, “PJP/2008/FKE/S00456 – Automated
Remote Messaging System (ARMS) Short Term Research Grant”,
After filtering the message, the message is stored in the Universiti Teknikal Malaysia Melaka (UTeM), 2008
Read Only Memory (ROM) of the microcontroller. In the case
[4] Multimedia LED BRG7X80TC - Multi-color Indoor Display
of reset, as mentioned earlier, the message is still maintained documentation and CD, www.brgsigns.com
in memory. The next stage is to send the message to the LED
display. This cannot be done by simply writing the ASCII [5] A. Drumea, C. Popescu, P. Svasta, “GSM solutions for low cost
codes of the message through the communication port, and embedded systems for industrial control”, 28th International Spring
Seminar on Electronics Technology: Meeting the Challenges of
some initialization codes to the LED display has to be written Electronics Technology Progress, pp 240-244, 2005
to the receiving pin of the LED display.
[6] G.V. Ramu, R. Hariprakash, K. Visalakshi, S. Ananthi, K. Padmanabhan,
After the initialization codes has been sent to the display, “Remote Robot Training of Its Artificial Neural Network Through GSM
Communication”, 3rd International Conference on Systems and
then only the message (in ASCII) be sent byte-by-byte, or Networks Communication, pp 355-358, Oct 2008
character-by-character. In the LED display used, the
termination character for line feed (or end of message) is [7] H. Xianhua, W. Jie, “Traffic Forecasting Based on Chaos Analysis in
0x7F. After success in sending the message, the GSM Communication Network”, International Conference on
microcontroller waits for the next message to be received from Computational Intelligence and Security Workshops, pp 829-833, Dec
2007
the GSM modem. While waiting, the LED display will
continuously display the message that it has received, only up [8] H. Xianhua, W. Jie, “An Internet and microcontroller-based remote
to a limit of 200 characters (including spaces). operation multi-sensor system for water quality monitoring”,
Proceedings of IEEE Sensors 2002, pp 1532-1536, June 2002
V. CONCLUSION [9] A. Kumar, F. Rahman, “System for Wireless Health Monitoring”,
The Automated Remote Messaging System is a novel Proceedings of the ISA/IEEE Sensors for Industry Conference 2004, pp
207-210, 2004
innovation as it researches on the communication languages
between the devices, namely the GSM modem and the LED

14

Você também pode gostar