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.

GSM Coding and interface with AT89C51

Status
Not open for further replies.

imtisal

Junior Member level 1
Junior Member level 1
Joined
Nov 12, 2012
Messages
18
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Visit site
Activity points
1,418
Hello,
I am using GSM modem and I am facing looot of confusions,
The first one is that
AT+CMGS and AT+CMGR are the commands for sending and receiving to GSM modem,
How can I receive the msg from AT89C51 through GSM modem. I want to receive the message and want to store in array. I dont know how to do it?
for example, a certain number send me the text 'Hello', How I can able to read the message from MCU (in coding) using AT+CMGR?

Kindly help me, I am doing my final year project. Stucked in it badly,

imtisal
 

You have to configure the MODEM to use SIM memory to receive message, then all incoming messages are stored on SIM memory index, each index will have one message. There are two ways to read message from SIM.1)continuously poll SIM memory index 0 if you found new message read it and then delete it for next use.2)Configure the MODEM to send interrupt signal to AT89C51 after receiving new message. By sending AT+CMGR.MODEM will return message from SIM memory to your AT89C51 through serial port. On serial port ISR, you have to decode message according to your requirement.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top