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.

SIM900, SMS to email question

Status
Not open for further replies.

nickatnite

Newbie level 3
Joined
Dec 20, 2012
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,302
Hello. If someone could help I would appreciate it. As you know an sms message can be sent from a mobile phone to an email address by just typing in the address re: "nick@avproecm.com" instead of a destination phone #. How do I configure the SIM900 to be able to accept the email address. I only get an "error" message.

The sms messaging service then normally sends via through a gateway to the email address. My application is in an area where I have no internet service. Thank you . Regards. Nickatnite
 

To send to an Email address you add put the address in front of your message, followed by a line feed, and send the message to your service providers SMS Gateway Number. For example to send a message to "John@google.com" on the AT&T network you would do the following:
Code:
Send the following commands to the module - Each line must be terminated with a 'Carriage Return':
AT+CMGF=1        - Set the module into Text mode
AT+CMGS='111'   - Start sending SMS, 111 = AT&T SMS Gateway Number
                - The module will return'>'to indicate it is ready for the text
                - Send the text...
John@Google.com\nHello John, this is a text message from the SIM900 
Ctrl-Z          - follow message with ctrl-Z and Carriage Return
 

To send to an Email address you add put the address in front of your message, followed by a line feed, and send the message to your service providers SMS Gateway Number. For example to send a message to "John@google.com" on the AT&T network you would do the following:
Code:
Send the following commands to the module - Each line must be terminated with a 'Carriage Return':
AT+CMGF=1        - Set the module into Text mode
AT+CMGS='111'   - Start sending SMS, 111 = AT&T SMS Gateway Number
                - The module will return'>'to indicate it is ready for the text
                - Send the text...
John@Google.com\nHello John, this is a text message from the SIM900 
Ctrl-Z          - follow message with ctrl-Z and Carriage Return

You Da Man! Sorry, you da GSM man! Your response was faster than the one I got back from SimCom in Hong Kong, more helpful too. It works great.
 

You Da Man! Sorry, you da GSM man! Your response was faster than the one I got back from SimCom in Hong Kong, more helpful too. It works great.

Well it seems I got giddy too soon. The crtl z issue is giving me problems in the Arduino serial monitor. Cannot get the Sim900 to send a message. I press contol and z simultaneously after typing in a message and nothing happens. I do not press carriage return first. I can press return and type in "26" or 0x1A with return. Nothing. Have been reading online for four hours and cannot find a solution. The sim900 will receive messages but will only print out the first character of the message in the monitor. Any help?

- - - Updated - - -

Hello again. On the ctrl z issue. By using Hyperterminal, my problem goes away. Thanks anyway. nickatnite
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top