Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

SIM300 to receive sms using 8051

Status
Not open for further replies.

anitha.rajakani

Newbie level 3
Joined
Jul 13, 2009
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,321
Hi all,
I tried to receive SMS from sim300 using 8051 microcontroller with C programming.Iused the AT command,AT+CMGL="REC UNREAD". I did get the output and could display the message in LCD.But i failed to view the received sms in hyperterminal through the microcontroller.

could you please help me in TXD,RXD,GND pin connection between GSM,MIcrocontroller and PC serial port?
sample code to receive sms through microcontroller and view the data in hyperterminal window?

thanks in advance
 

hanif

Full Member level 4
Joined
Feb 14, 2007
Messages
203
Helped
44
Reputation
88
Reaction score
30
Trophy points
1,308
Location
Pakistan
Activity points
2,441
view this topic

GSM/GPRS with micro controller (schematic + code)
 

anitha.rajakani

Newbie level 3
Joined
Jul 13, 2009
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,321
I've attached my code to receive sms and display it to LCD.
this code has given me the output of parsing the following string and extracted only the message
+CMGL: "REC UNREAD","+61xxxxxx",,"04/08/28,22:26:29+40"

But i want the sms collected in the buffer to be sent to PC through hyperterminal from microcontroller.so help me with the code.I've sent the same buffer array to SBUFand couldn't receive it in hyperterminal.

what i've to change in hardware connection as well as in my code?
Please help
 

binojkumar

Full Member level 3
Joined
Jul 19, 2004
Messages
151
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,298
Location
Bangalore
Activity points
983
anitha.rajakani said:
I've attached my code to receive sms and display it to LCD.
this code has given me the output of parsing the following string and extracted only the message
+CMGL: "REC UNREAD","+61xxxxxx",,"04/08/28,22:26:29+40"

But i want the sms collected in the buffer to be sent to PC through hyperterminal from microcontroller.so help me with the code.I've sent the same buffer array to SBUFand couldn't receive it in hyperterminal.

what i've to change in hardware connection as well as in my code?
Please help

Hi Use these commands
AT
ATE0
AT&W
AT+CMGF=1
AT+CNMI=2,2,0,0,0
AT+CMGS=\"phonenumber\" // for sending sms
 

kunal123

Advanced Member level 4
Joined
Jan 24, 2011
Messages
105
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Location
mumbai
Activity points
1,961
hi anitha.rajakani
i also have same to task to display received sms by sim300 gsm modem on lcd using arduino uno

thanks
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top