Synopsis SMS Controlled Device Switching: University Institute of Engineering & Technology
Synopsis SMS Controlled Device Switching: University Institute of Engineering & Technology
SYNOPSIS
On
Foreword……………………………………………. 3
Itroduction…………………………………………... 4
Block Diagram………………………………………. 5
Connecting Micro-controller to Cell Phone…………. 6
AT Commands……………………………………….. 7
Practical Uses………………………………………… 8
Market Research……………………………………… 8
Bibliography………………………………………….. 9
Foreword
The rapidly advancing mobile communication technology and the decrease in costs have
made it possible to incorporate mobile technology into home automation systems. SMS
Controlled Device Switching is increasingly being used in view of it’s ease of use and security.
Under this system the home appliances are controlled by the home server, which operates
according to the commands received from the user mobile phone via the cellular modem. In our
proposed system the home server is built upon an SMS (short message service) mobile cell
module and a micro-controller, allowing a user to control and monitor any variables related to
the home by using any cell phone.
Introduction
The project mainly focuses on the controlling of home appliances remotely and providing security when
the user is away from the place. The system is SMS based and uses wireless technology to revolutionize
the standards of living. This system provides ideal solution to the problems faced by home owners in
daily life. The system is wireless therefore more adaptable and cost-effective. The system uses GSM
technology thus providing ubiquitous access to the system for security and automated appliance control.
This project presents the design and implementation of AT modem driver, text based command
processing software, and power failure resilient output for a micro-controller to facilitate in sending and
receiving data via the cell module.
1. Send SMS from a remote location to switch on/off devices (example to turn on light bulb
from any remote location).
2. Cell phone located at position of interest receives this SMS.
3. This Cell phone is interfaced with a micro-controller which is used to switch on/off
devices connected to it.
4. The SMS received by cell phone is treated as command to micro-controller.
5. According to command (i.e. to turn on light bulb) micro-controller simulates the process.
Block Diagram
Connecting Micro-controller to Cell Phone
We need a cell phone which supports the AT commands to Connect a cell phone with a
microcontroller .The AT commands are used to communicate with cell phone and can be used to
alter mobile phone data including sending and recieving SMS . We also need to have a mobile phone
that have a Txd (transmission) pin and Rxd (recieving) pin-outs.
One option is to have a old Siemen mobile phones like c-25 etc. But these cell phones being old
are not easily available. Second option is to buy a GSM modem which is a specialized type of
modem which accepts a SIM card, and operates over a subscription to a mobile operator, just like a
mobile phone. From the mobile operator perspective, a GSM modem looks just like a mobile phone
but they are available with serial port connection. Third option is to use F- bus system available in
old NOKIA mobile phones. Nokia phones have F-Bus and M-Bus connections that can be used to
connect a phone to a PC or in our case a micro-controller. The connection can be used for controlling
just about all functions of the phone, as well as uploading new firmware etc. This bus will allow us
to send and receive SMS messages.
M-Bus is a one pin bi-directional bus for both transmitting and receiving data from the phone. It
is slow (9600bps) and only half-duplex. Only two pins on the phone are used. One ground and one
data. M-Bus runs at 9600bps, 8 data bits, odd parity, one stop bit. The data terminal ready (DTR) pin
must be cleared with the request to send (RTS). This powers the electronics in the cable and it sets it
for M-Bus operation.
F-Bus is the later high-speed full-duplex bus. It uses one pin for transmitting data and one pin for
receiving data plus the ground pin. Very much like a standard serial port. It is fast 115,200bps, 8 data
bits, no parity, one stop bit. For F-Bus the data terminal ready (DTR) pin must be set and the request
to send (RTS) pin cleared.
AT Commands
AT commands are also known as Hayes AT commands. There are different views to understand the
meanings of "AT". Some call it "Attention Telephone", whereas others interpret it as "Attention
Terminal" commands. AT commands can be used for operations that are usually done from the
keypad, for instance calling a number, sending, reading, or deleting an SMS, setting the SMSC
number, looking for a GPRS access point, reading and deleting phonebook data, reading the battery
status, reading the signal strength, and so on. When you want to make a PC-based application to
interface a mobile phone using USB, IR, or Bluetooth, these commands are needed to communicate
with mobile phones. Basically such commands are the application layer of MBUS or FBUS
commands.
Description
Command
Practical Uses
SMS appliance control has a huge market in domestic uses.It can be used for home
security (i.e. HACS Home appliance security Systems), remote infant monitoring,
intrusion detection and remote control of appliances.
The technology can be implemented in door locks and car locks to open or lock them just
by messaging.
It can be used to monitor energy meters remotely without requiring a person visiting each
and every home.
It can also be used as an remote with an extended range for eg. in RC planes.
It can be used in a factory to monitor different processes taking place at remote locations
, which would require no wires or manual operation.
It can be used in agriculture to control water supply to farms.
Market Research
SMS controlled device monitoring and control technology has been launched in the market a
while back but is still in it's nascent stage. Since this technology is specific and application
based, it’s general product hasn’t been launched as yet. It holds great potential in view of it’s
ease of remote access and security applications. So there is a lot of scope of this technology in
the commercial market which hasn’t been exploited yet.
Bibliography
http://www.embedtronics.com/nokia/fbus.html
http://discussion.forum.nokia.com/forum/
http://en.wikibooks.org/wiki/Serial_Programming/Modems_and_AT_Commands