07-08-2012, 02:32 PM
SMS REMOTE CONTROLLER
GSMproject.pdf (Size: 1.82 MB / Downloads: 64)
Abstract
The goal of this project is to design an embedded device which can control up to 8
devices by sending a specific SMS message from a cell-phone. This controller is extremely
handy at places where we have to control the ON and OFF switching of the devices but no
wired connection to that place is available.
To implement this, a GSM modem is connected to a programmed microcontroller
which would receive the SMS from a reference cell phone. The control signal part of the
received SMS is extracted and is changed to microcontroller-preferred format. In regular
intervals, the modem would also send the local temperature We have selected GSM because
the ubiquity of its standard makes international roaming very common between mobile phone
operators, enabling subscribers to use their phones in many parts of the world. A PC which is
connected to the micro-controller using a serial communication through RS232 can be used for
monitoring and transmission of the control signals to the modem. The monitoring is also done
by interfacing a LCD to the microcontroller. AT commands were used for controlling the
functionality of modem.
Project Description
Initially the SMS is received from the person authorized to use this setup (destination)
by the GSM modem (GM28) & is transferred to the Renesas SKP16C62P SKP with the help of
a MAX 232 chip. As per the AT commands given by the microcontroller to the modem, the
control signal from the SMS is extracted and is used to control the devices connected to it. We
have to convert the 'septets' of the phone to 'octets' because the micro-controller need bytes
with 8 bits length ( The 'septet' is 1 byte with 7 bits length and 'octet' is 1 byte with 8 bits
length). All this process is necessary to decode the message from SMS.
A program (for extracting the control signal part from received SMS) is loaded into
Renesas SKP16C62P SKP, and then the circuit is connected to the modem. The microcontroller
now tries to read the SMS from the 1st memory location of the modem and it keeps
trying again until the modem receives any (programmed for every one second). Before
implementing the control signal part of the SMS, the modem extracts the number from the
SMS and verifies if this number has the access to control the device or not.
For controlling the devices, the message will be sent in hexa decimal format. The hex
data is converted to the equivalent binary and the particular output is enabled. For example if
the message is “AB” the equivalent binary is “10101011” this implies that the output 1, 3, 5, 7,
8 are enabled and the remaining ports are disabled. We have connected LEDs to the ports of
microcontroller to show the output and their status indicates whether the ports are set to ‘ON’
or ‘OFF’. The microcontroller is also programmed to read the temperature from the thermistor
every 15 minutes and to send a SMS to the destination number.
Device Description
Renesas SKP16C62P Starter Kit Plus
The SKP16C62P StarterKit Plus (SKP) is a low-cost environment for evaluating
M16C/62P group of microcontrollers (MCU) and Renesas Technology America, Inc. software
development tools. The SKP board provides an evaluation and development environment for
the M16C/62P group of MCU. It has pushbutton switches, LED’s and LCD for user interface.
Standard connector ports are available to expand the range of applications through the use of
expansion boards, etc. The kit comes with an integrated software development environment,
HEW (IDE, C-compiler, assembler, and linker), KD30 Debugger, and FoUSB (Flash-over-
USB™) Programmer. A real-time, source-level debug environment is implemented using the
KD30 debugging software with the RTA-FoUSB-MON Flash Programmer/In-Circuit
Debugger (ICD). The Flash-over-USBTM (FoUSB) Programmer software, with the ICD,
allows in-system programming of the M16C/62P flash MCU. The ICD and firmware provide a
convenient USB (Universal Serial Bus) interface between the SKP16C62P board and the host
PC. This interface reduces resource requirements on the M16C/62P MCU, allows faster code
downloads and, can also be used with many other Renesas Flash MCU’s, SKP’s, and user’s
target board.
Figure
GSMproject.pdf (Size: 1.82 MB / Downloads: 64)
Abstract
The goal of this project is to design an embedded device which can control up to 8
devices by sending a specific SMS message from a cell-phone. This controller is extremely
handy at places where we have to control the ON and OFF switching of the devices but no
wired connection to that place is available.
To implement this, a GSM modem is connected to a programmed microcontroller
which would receive the SMS from a reference cell phone. The control signal part of the
received SMS is extracted and is changed to microcontroller-preferred format. In regular
intervals, the modem would also send the local temperature We have selected GSM because
the ubiquity of its standard makes international roaming very common between mobile phone
operators, enabling subscribers to use their phones in many parts of the world. A PC which is
connected to the micro-controller using a serial communication through RS232 can be used for
monitoring and transmission of the control signals to the modem. The monitoring is also done
by interfacing a LCD to the microcontroller. AT commands were used for controlling the
functionality of modem.
Project Description
Initially the SMS is received from the person authorized to use this setup (destination)
by the GSM modem (GM28) & is transferred to the Renesas SKP16C62P SKP with the help of
a MAX 232 chip. As per the AT commands given by the microcontroller to the modem, the
control signal from the SMS is extracted and is used to control the devices connected to it. We
have to convert the 'septets' of the phone to 'octets' because the micro-controller need bytes
with 8 bits length ( The 'septet' is 1 byte with 7 bits length and 'octet' is 1 byte with 8 bits
length). All this process is necessary to decode the message from SMS.
A program (for extracting the control signal part from received SMS) is loaded into
Renesas SKP16C62P SKP, and then the circuit is connected to the modem. The microcontroller
now tries to read the SMS from the 1st memory location of the modem and it keeps
trying again until the modem receives any (programmed for every one second). Before
implementing the control signal part of the SMS, the modem extracts the number from the
SMS and verifies if this number has the access to control the device or not.
For controlling the devices, the message will be sent in hexa decimal format. The hex
data is converted to the equivalent binary and the particular output is enabled. For example if
the message is “AB” the equivalent binary is “10101011” this implies that the output 1, 3, 5, 7,
8 are enabled and the remaining ports are disabled. We have connected LEDs to the ports of
microcontroller to show the output and their status indicates whether the ports are set to ‘ON’
or ‘OFF’. The microcontroller is also programmed to read the temperature from the thermistor
every 15 minutes and to send a SMS to the destination number.
Device Description
Renesas SKP16C62P Starter Kit Plus
The SKP16C62P StarterKit Plus (SKP) is a low-cost environment for evaluating
M16C/62P group of microcontrollers (MCU) and Renesas Technology America, Inc. software
development tools. The SKP board provides an evaluation and development environment for
the M16C/62P group of MCU. It has pushbutton switches, LED’s and LCD for user interface.
Standard connector ports are available to expand the range of applications through the use of
expansion boards, etc. The kit comes with an integrated software development environment,
HEW (IDE, C-compiler, assembler, and linker), KD30 Debugger, and FoUSB (Flash-over-
USB™) Programmer. A real-time, source-level debug environment is implemented using the
KD30 debugging software with the RTA-FoUSB-MON Flash Programmer/In-Circuit
Debugger (ICD). The Flash-over-USBTM (FoUSB) Programmer software, with the ICD,
allows in-system programming of the M16C/62P flash MCU. The ICD and firmware provide a
convenient USB (Universal Serial Bus) interface between the SKP16C62P board and the host
PC. This interface reduces resource requirements on the M16C/62P MCU, allows faster code
downloads and, can also be used with many other Renesas Flash MCU’s, SKP’s, and user’s
target board.
Figure