You are on page 1of 7

A. C.

Patil College of Engineering

Communication

Mobile

EXPERIMENT NO- 4
AIM:

MODEM INTERFACING WITH CONTROL UNIT


A. Dialing a call or receiving a call to/from modem.
B. SMS read / forward / delete from SIM.
C. Relay and LED ON/OFF by incoming SMS.
D. Information of status of switch and reading of ADC sending to desired no. through SMS.

PROCEDURE
1) Connect given serial cable between MODEM UART to CPU UART.
2) Connect GSM antenna to SMA connector.
3) Insert recommended SIM card in SIM card SECTION.
4) Connect MIC and Speaker in AUDIO interface section.
5) Connect power supply to WL-MHT kit and switch on the power supply, at power on state LCD display shows following
screen.
W E LC O M E T O AK AD E M I K A LAB
After few seconds following screen will come
PLZ PR ES S POWE R K EY U PTO 1 s e c TO POWER ON M O D E M
So we have to press PWR KEY for 1sec, so GSM modem will power on and VDD EXT led will glow and NETWORK led will
start blinking for searching network. When it get network then NETWORK led blinks 64ms On/ 3000ms Off. If no network
available then it blinks 64ms On/ 800ms Off. After few second following screen will come
WAI T FO R N E TW O R K LE D T O B LI N K E VE R Y3 s e c PR E S S S E LE C T K E Y
Make sure that the NETWORK LED indicates that, inserted SIM is connected to network and press SELECT key from key
board.
PLE AS E WAI T FO R I N I T I ALZ I N G M O D E M
After completion of modem initialization commands following screen is appear.
M O B I LE H AN D S E T T RAI N E R
After that if network present then following screen will appear.
AK AD E M I K A LAB
B PLMOB ILE
MENU
If no network then following screen will appear.
AK AD E M I K A LAB N O N E TW O R K M E N U S C AN
In no network case we can press key below SCAN then it will search network, if it get proper network then it displays network
name as follows.
AK AD E M I K ALAB
B PLMOB ILE
MENU
After pressing key below the MENU it will displays the main menu screen as follows.
1 ) CALL
2)SMS
3 ) AU T O M AT I O N
S E LE C T B AC K
In above case curser in blinking on 1) CALL
Note : if system not response to user commands then reset the system by pressing RESET.

A. Dialing a call and receiving a call


1) Now if we want to make a call then make sure that curser is blinking on 1) CALL , press select key to select dialing call
menu, after pressing select key following screen will appear.
ENTER
PHONENO
C LE AR
B AC K
2) Now we can enter phone no from keypad like normal mobile phone. If we want to add country code i.e. +91 then we can
press + sign, this is allowed at 1st digit only and then we can type next no as follows

Asst. Prof. Yasmeen Attar

Page 1

A. C. Patil College of Engineering

Communication

Mobile

EXPERIMENT NO- 4
+919021000000 or 09021000000 or 9021000000.
While typing that phone number it will appear one by one on LCD display, if we want to make correction in phone no then
press key bellow CLEAR () then single digit will clear.
ENTER
PHONE NO
+919021000000
C LE AR
B AC K
3) If we press BACK key then main menu screen will appear.
4) After entering the phone no, press green call key from keypad so ATD+919021000000; command will pass to modem and
following screen will appear.
C ALLI N G
TO +919021000000
5) To disconnect the call either press red call disconnect key from keypad or disconnect call from caller party. Call disconnect
message will appear on screen and system returns to main menu.
6) If caller party receives call then connected to message will appear. C O N N E C T E D T O + 9 1 9 0 2 1 0 0 0 0 0 0
7) After completion of voice communication, to disconnect the call either press red call disconnect key from keypad or
disconnect call from caller party. Call disconnect message will appear on screen and system returns to main menu.C A L L
DISCONNECTED
After few seconds
1 ) CALL
2)SMS
3 ) AU T O M AT I O N
S E LE C T B AC K
8) If we in any state and incoming call will come then following screen will appear with caller party phone no.
INCOMMING
C ALL
FROM
+919021000000
9) If we press green call key then connect to message will appear as follows.
CONNECTED
TO
+919021000000
10) If call is disconnect by caller party or we disconnect call by pressing red call disconnect key then call disconnect message
will come on screen as follows.
C ALL
DISCONNECTED
After that it will come to following window.
AK AD E M I K ALAB
B PLMOB ILE
MENU

B. SMS read / forward / delete from SIM.


11) Move curser to 2) SMS by using up/down key. Press SELECT key, following SMS sub-menu will appear.
MS
S E LECT
B AC K

1 ) R EAD S

12) Curser is blinking on 1) READ SMS, Press select key then if no any SMS present in SIM then NO any SMS message will
be display on screen.
INBOX
N O AN YS M S
B AC K

Asst. Prof. Yasmeen Attar

Page 2

A. C. Patil College of Engineering

Communication

Mobile

EXPERIMENT NO- 4
13) If SMS present in SIM memory LCD will displays only 2 SMS (only phone numbers) per page and curser is blinking on
1st SMS. Scroll the page using up/down key to view next SMS. If we press BACK then system returns to SMS sub-menu
screen.
INBOX
+919021000000
+919021111111
V I E W B AC K
14) If we press SELECT key the selected SMS will be viewed with phone no and message. Scroll the page using up/down key
to read the message.
PHNO:+919021000000
HI....THIS IS DEMO SMS
O PT I O N BAC K
15) If we press SELECT key in above screen it will shows FORWARD and DELETE option and curser is blinking on
FORWARD, as follows.
F O R WAR D
D ELETE
S E LE C T B AC K
16) If we press SETECT key in above screen when curser is on FORWARD , following screen will appear.
ENTER
PHONE NO
SEND
C LE AR
B AC K
17) Enter destination phone no and press SELECT key in above screen to send the SMS. While sending following window will
appear.
PLE AS E
WAI T . . . . . .
SENDIN
GSMS
After completion of sending, following screen will appear.
SMS
SEND
S U C C E S S FU LLY
After few second, system will return to SMS sub-menu screen.
1 ) R E AD
SMS
S E LECT
B AC K
18) If we select to DELETE option at step 15 and press SELECT key, the selected SMS will be deleted.
PLE AS E
WAI T . . . . . . . . .
D ELETING
SMS
After few second, system will return to SMS sub-menu screen.
1 ) R E AD
SMS
S E LECT
B AC K
19) If we press BACK key from any screen, system will return to previous screen.

C. Relay and LED ON/OFF by incoming SMS.


20) Scroll curser to 3) AUTOMATION by using up/down key. Press SELECT key then following automation sub-menu will
appear. While doing experiment on ON/OFF LEDs and relays make sure that, SIM contains enough SMS memory to store new
SMS or you just delete some SMS from SMS menu. (keep space for minimum 3 SMS).
1 ) R E LAY O N / O F F
2) LED ON /OFF
3 ) AD C I N D I C AT O R
S E LE C T B AC K

Asst. Prof. Yasmeen Attar

Page 3

A. C. Patil College of Engineering

Communication

Mobile

EXPERIMENT NO- 4
21) Curser is blinking on 1) RELAY ON/OFF and we press SELECT key then it will ask for authorize phone no. Authorize
phone no is used to change the status of the relay through SMS.
PLZ
E N T E R AU T H O R I Z E PH O N E N O
S AV E C LE AR
B AC K
Note: We must have to enter phone no with country code.
e.g. +919021000000.
22) Then press key SELECT key in above screen to save phone no, initially both relay will in normally close condition for
reference.
PLE AS E S E N D
SMS
TO
ON/OFF
R E LAY
After few second following screen will appear to indicate the current status of relay.
R E LAY1 O F F
R E LAY2 O F F
B AC K
23) For updating relay authorize person have to send SMS from authorize phone no which is register previously. Following are
the SMS formats to update relay.
To relay 1 OFF and relay 2 OFF : R 1 = 0 R 2 = 0
To relay 1 OFF and relay 2 ON : R 1 = 0 R 2 = 1
To relay 1 ON and relay 2 OFF : R 1 = 1 R 2 = 0
To relay 1 ON and relay 2 ON : R 1 = 1 R 2 = 1
We must have to send same SMS format compulsory, if any wrong format is send, then WRONG SMS FORMAT will
display on LCD for few second, or ifSMS sent by unauthorized phone no then UNAUTHORISE PHONE NO will display on
LCD for few second and no any action will be taken on relay.
R E LAY1 O F F
R E LAY2 O F F
WORNG SMS
F O R M AT
B AC K
Or
R E LAY1 O F F
R E LAY2 O F F
U N -AU T H O R I Z E
PH N O
B AC K
If R1=1 R2=1 SMS will send by authorize phone no, after receiving the SMS relay will change its state and message will
display on LCD.
R E LAY1 O N
R E LAY2 O N
B AC K
If we press BACK key any screen, system will return to previous menu.
24) If we want to on/off LEDs then move curser on 2) LED ON/OFF using down key. Press SELECT key the following screen
will appear.
PLZ
ENTER
AU T H O R I Z E
PHONE NO
S AV E
C LE AR
B AC K
Note: We must have to enter phone no with country code.
e.g. +919021000000.
25) Then press key SELECT key in above screen to save phone no, initially both LEDs will in off condition for reference.
PLE AS E
SEND
SMS
TO ON/OFF
LE Ds
After few second following screen will appear.
LE D1OFF
LE D2OFF

Asst. Prof. Yasmeen Attar

Page 4

A. C. Patil College of Engineering

Communication

Mobile

EXPERIMENT NO- 4
B AC K
26) For updating LEDs, authorize person have to send SMS from authorize phone no which is register previously. Following
are the SMS formats to update LEDS
To LED 1 OFF and LED 2 OFF : L 1 = 0 L 2 = 0
To LED 1 OFF and LED 2 ON : L 1 = 0 L 2 = 1
To LED 1 ON and LED 2 OFF : L 1 = 1 L 2 = 0
To LED 1 ON and LED 2 ON : L 1 = 1 L 2 = 1
We must have to send same SMS format compulsory, if any wrong format is send, then WRONG SMS FORMAT will display
on LCD for few second, or if SMS sent by un-uthorized phone no then UN-AUTHORISE PHONE NO will display on LCD
for few second and no action will be taken on LEDs.
LE D1OFF
LE D2OFF
WORNG
SMS
F O R M AT
B AC K
Or
LE D1OFF
LE D2OFF
U N -AU T H O R I Z E PH N O
B AC K
If L1=1 L2=1 SMS will send by authorize phone no, after receiving the SMS LEDs will change its state and message will
display on LCD.
LE D1ON
LE D2ON
B AC K
If we press BACK key any screen, system will return to previous menu. D. Information of status of switch and value of
ADC sending to desired no through SMS.
27) Scroll the curser to 3) ADC INDICATOR from automation menu and press the SELECT key in below screen.
1 ) R E LAY O N / O F F
2) LED ON /OFF
3 ) AD C I N D I C AT O R
S E LE C T B AC K
28) After pressing select key following screen will appear.
ADC
VO LTAG E = 1 . 0 2 V
SEND
B AC K
As we vary ADC POT (ADC) according to variation, current voltage value will displayed on LCD screen.
29) Now if we want to send this ADC value to desired phone no then press SELECT key in above screen, following screen will
appear.
ENTER
PHONE
NO
SEND
C LE AR
B AC K
30) Enter desired phone no and press SELECT key in above screen, SMS will
SEND to given no as follows.
PLE AS E
WAI T . . . . .
SENDING
SMS
After few second
M E S S AG E
SEND
After few second, system will return to following screen.
AD C VO LTAG E = 1 . 0 2 V
S E N D B AC K

Asst. Prof. Yasmeen Attar

Page 5

Mobile

A. C. Patil College of Engineering

Communication
EXPERIMENT NO- 4
The format of the SMS received is ADC VOLTAGE = 1.02V.
31) If we press BACK key any screen, system will return to previous menu.
32) Scroll curser to 4) SWITCH INDICATOR using DOWN key.
4)SWITCH
I N D I C AT O R
S E LECT
B AC K
33) Press SELECT key then following screen will appear.
PRESS
S W I T C H AN D
SEE
S TAT U S
ATU S
BY
SMS
After few second following screen will appear.
SWITCH 1 OFF
SWITCH 2 OFF
SEND
B AC K

OF

SWITCH

AN D

GET

ST

34) According to status of the input switches (SW1and SW2) message will be displayed on screen, as follows, switch SW1 and
SW2 for input switch section corresponds to SWITCH 1 and SWITCH 2 on screen respectively.
If SWITCH 1 OFF and SWITCH 2 OFF then
SWITCH 1 OFF
SWITCH 2 OFF
S E N D B AC K
If SWITCH 1 OFF and SWITCH 2 ON then
SWITCH 1OFF
SWITCH 2ON
S E N D B AC K
If SWITCH 1 ON and SWITCH 2 OFF then
SWITCH 1ON
SWITCH 2OFF
S E N D B AC K
If SWITCH 1 ON and SWITCH 2 ON then
SWITCH 1ON
SWITCH 2ON
S E N D B AC K
35) If we press SELECT key any one of the above screen, following screen will appear. It will ask for phone no to send
message.
ENTER
PHONE NO
SEND
C LE AR
B AC K
36) Enter desired phone no and press SELECT key in above screen, SMS will SEND to given no as follows.
PLE AS E
WAI T . . . . .
SENDING
SMS
After few second, MESSAGE SEND will display on LCD screen.
M E S S AG E
SEND
After few second, system will return to following screen.
SWITCH
1ON
SWITCH
2ON
SEND
B AC K
Received sms is in following format
SWITCH 1 ON
SWITCH 2 ON
37) If we press BACK key then system will return to previous menu.

Asst. Prof. Yasmeen Attar

Page 6

A. C. Patil College of Engineering

Communication

Mobile

EXPERIMENT NO- 4
CONCLUSION:

Asst. Prof. Yasmeen Attar

Page 7

You might also like