Establishing GSM 900 A Communication through Arduino Program

Status
Not open for further replies.

Madhuborn2win

Newbie level 4
Joined
Jul 28, 2013
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
52
Hi all..
I am trying to establish communication between 2 GSM modems.. and i am done with it using Hyperterminal and labview support.. now i am trying to make the same communication using arduino coding by giving AT commands through serial input (instead of Hyperterminal).. but the problem is to send a data we need to give CTRL+Z at the end of data.. i struck here and dont know how to ! please can somebody enlighten me !!
thanks in advance
Madhu..
 

yes,, u need to us ctrl+z,, for that use ascii value of ctrl+z.. its 1A.
 

you mean at the end of my data (which is to be sent serially) i need to enter 1A also ?
 

you can use \r\n in the end of each command sent..Example:
to send a message
1° step
\r\nAT+CMGF=1\r\n
2° step
AT+CMGS="02114996292379"\r
3°step
write your message

Hope this helps
 
But i am using GPRS for communication ! not sms.. i mean the data need to be transmited i will give it as serial input..! in this case how can i ? please help me..
 

I think I get what you're trying to do. You're already experienced in programming for arduino? I used arduino once, you probably need to use some function of development library to establish the TX and RX ports necessary for asynchronous serial communication. Search the web for "asynchronous serial communication arduino" and you'll find tons of information.
Please let me know if this was useful and come back here to post the results.
if you have more questions, feel free to ask.;-)
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…