LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SMS Application - Hardware:GSM Modem & Software:LabView

Hi All,
 
I need an explanation/sketch of what i need (Hardware & Software) to build a SMS Application.
i need to send SMS message to the application, the aapplication listen to the incoming SMS,
and do something after parsing the SMS message.
the application also need to send SMS to a given MobilePhone#.
I'm using LabView 7.1.
 
I think on this configuration :
 
 I need to buy Cellular Modem (GSM) & SIM Card from my mobile company , which i connect to the PC.
 My questions :
 1) How i connect the Cellular Modem to the PC, is the Cellular Modem have RS232, USB cable ?
 2)  which modem i need to buy ? any GSM  modem  from any company is good ? is NI recommend on specific Cellular Modem?
 3)  i google a litle and found this WaveCom modem, is it good ?
 
assume i have Cellular mode, and i connect it to my PC using RS232.
i assume that i need the protocol to "talk" with the modem.
is there a "GSM Standard" that i can implement using LabView Vi's ?
if so, is there a set of Vi's that someone already build ?
 
Please let me know if you have a good tutorial or you can post here a good explantion
on "how to build SMS application - for beginners" , cause all the posts i found assumes that you know how things works,
and they just want to solve a bug or something.
 
Thanks
 
Mor.
 
 
 
 
 
 
 
 
 
  
Message 1 of 82
(20,738 Views)
I think this is a very interesting subject too. I happen to know CIT engineering has an SMS toolkit. I am interested to know if you find more resources.
Message 2 of 82
(20,711 Views)
Hi all,
 
I wonder why nodody response to this message...
is it because nobody know the answers ? i dont think so.....
 
So, who want to be the first ?
is there somebody that can come and save the day ??????????
 
c'ya  later..
 
Mor.
 
 
 
 
 
 
0 Kudos
Message 3 of 82
(20,686 Views)

Mor,

I am not familiar with any of the GSM modems, but it does seem that getting one that will allow you to connect to a Serial port and communicate using RS-232 would be the way to go.  You will have to know the command set that the modem would use to communicate to be able to send and receive SMS message, but once you know this you could use the VISA commands to communicate with the serial port and to the modem.  So if you are looking for some general steps to follow...

  1. Research the modems.  Find one that will allow you to connect to the PC (maybe by RS-232, or even TCP/IP, both of which allow you to connect with VISA commands).  Someone more familiar with GSM modems might be able to suggest one that would work for this application.
  2. The modem will need to have the ability to be controlled using RS-232 (or TCP/IP) commands.  This may be specific to the modem, or conform to a standard (AT, I think), either way this is something that you will have to know before you start programming.
  3. Once you have everything connected, you should be able to communicate using VISA commands, which would require you to have the NI-VISA drivers installed. 
  4. I would recommend trying initially to communicate using Measurement & Automation Explorer first.  Once you have that working, try to run an example program such as Basic Serial Write and Read.vi, or an equivalent.  Check out the block diagram to get an idea of how to program using VISA..
  5. Program the commands required to send and receive SMS messages. 

This is just a general outline of what you could do to get something like the application you described working.  I hope this helps!

Andy F.

-----------------------------------------------------------------
National Instruments
Message 4 of 82
(20,668 Views)

Dear Andy,

Its great. you realy help me here.

i didnt thought that i need to use VISA.

i'm going to have GSM modem with RS232 cable.

i will write here again after i finish building my application.

Thanks again

Mor

0 Kudos
Message 5 of 82
(20,646 Views)

Hello

Sorry I am so late . I just saw the thread today.

I worked with Wavecom gsm modem ( oldet than the one you  refer and no in Labview) and they are really good and robust.

They use standard modem drivers and standard AT commands ( and some special )

But you can use most GSM/GPRS telephones. I know siemens and nokia have drivers and cabling for sending sms data fax, etc.

Just a point: wavecom modem supply in fron AC. Mos tels can not have data cable and AC supply at the same time, so if you plan to live it unnatended, make sure all data an Power supply cables can be plugged at the same time.

Hope it helps.

Alipio
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
Message 6 of 82
(20,640 Views)
Me and my assumptions.. I always kind of figured SMS would not be possible with simple AT commands, but it seems to be so. I have spent a few hours digging for a good tutorial for ETSI or Hayes compliant ways to actually send an SMS, but so far I failed. I did figure out how to read and write my address book on my GSM. Smiley Happy
Although I found some examples on how to send the SMS, I have only been getting errors. It could be simple typos or the Siemens C60 I am using has custom AT commands for SMS. Kind of frustrating.. If anyone has a good tutorial on this, I would like to get it.
Message 7 of 82
(20,629 Views)

Hello
Sorry  for my explanatio. When I said "standard AT coomands .." I meant commands in format "AT...".The character 3 and next can be different in some modems. This is true even in AT commands for smartlink modems and conceptronic modems.

Besides that, there are some kind of standards in AT commands for gsm telephones.
At least, documentation refers to publications that are suposed to be kind of standards. ( see references in attached zip)

Attached zip is made up of 3 documents:  AT commands for some Siemens mobiles, AT commands for a wavecom modem and an ETSI document about AT commands for GSM telephones.  Thera are more ETSI documents about this commands.
You will see that  some SMS commands for Siemens and Wavecom are the ones recommended by ETSI.

Hope this helps you to send SMS whit your siemens.

Cheers
Alipio

---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
Message 8 of 82
(20,622 Views)

Hello,

thank you all for your messages.

the option to use GSM mobile-phone  connected to my PC directly with data cable
is not good because i need also power supply for the GSM modem.

1. next week i get my GSM modem :  Sony - Ericsson GM29
http://www.cepag.de/Fotos/STD29/GM29%20offener%20Schacht.jpg

2. yesterday i got in my email a set of VI's for my  LabView 7.1 that handles all i need to send SMS using GSM modem.

3. i already have all the documents on "AT Commands" for this Modem and for GSM 900/1800

to be continue....

Thanks again

Regards

Mor

 

 

 

0 Kudos
Message 9 of 82
(20,613 Views)
You got a complete working set of vi's by E-mail? Geez, that never happens to me! Is there a possibilty of sharing the code? You could attach it to your next message..
I would greatly appreciate it!
0 Kudos
Message 10 of 82
(20,605 Views)