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.

Help me send digital data to GSM mobile and then to the Internet via GPRS

Status
Not open for further replies.

NUMAIR

Newbie level 5
Joined
Sep 10, 2011
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,346
hi,
my project is:
i have digital data of a patient like heart rate and ecg etc which i have monitored with some device,
now i want to send this digital data to GSM mobile and then to the internet via GPRS.
suggest me what to do, which are the components that will be included etc...
love u all:)
 

Re: gsm and gprs project

i guess all you need is a GSM/GPRS based remote datalogger.
Basically you need microcontroller with GSM/GPRS module like SIM340DZ(from simcom) or Telit module etc. You have not mentioned the format/protocol of your digital data, chose your microcontroller and rest or the components accordingly.

Telit
SIMCom Wireless Solutions Co.,Ltd
 
Last edited:

Re: gsm and gprs project

Thanks guria rani..
 

Re: gsm and gprs project

can you please help me
I am using sim900d to send data through gprs to a cell or any other pc.
How can I do this.
 

Re: gsm and gprs project

HI

For GPRS connection you need to to send the data by using following at commands

use this following commands for creating the SMS
1) AT+CSQ (for signal strength)
0,250
2) AT+CREG? (For sim registration)
0,1 = Local network
0,5 = Roaming Network
3) AT+CMGF =1 (For entering the text mode)
OK
4) AT+CMGS="phone number" (if its local no need of 0 and + initiation before the no)
> hello
>(CTL+Z)
ok

For GPRS Connection
1) at+cipshut
error
2) at+cstt="airtelgprs.com","",""

for AIRTEL = airtelgprs.com
VODAFONE = www

ok

3) at+ciicr ( For Enabeling the GPRS Connection)
ok

4) at+cifsr (It will show your modem dynamic ip address)
xxx.xxx.xxx.xxx

5) at+clport="tcp","yyyy" (For Protocol and Port Number)
ok

6) at+cipstart="tcp","zzz.zzz.zzz.zzz","yyyy" (For Start the TCP Connection)
ok
connect ok

7) at+cipsend
>(your data has been added hear)
>ctl+z

send ok

8) at+cipcloce (For Closing the TCP connection)
close ok

9) at+cipshut
shut ok



This will send the sms to the particular mobile no, and the Data you are sending is sent to your server also you can open the ip address and
check the data is came or not............ or else try to check the gsm modem....
 

you could use TCP or UDP to send the patient data to a TCP/UDP server which could then be viewed via a secure web page
 

Re: gsm and gprs project

Thanks for your priceless time.
But can you please tell me where can I get

5) at+clport="tcp","yyyy" (For Protocol and Port Number)
ok

6) at+cipstart="tcp","zzz.zzz.zzz.zzz","yyyy" (For Start the TCP Connection)
ok
connect ok

these TCP port address and ip address details. And can test whether this gprs data transfer is working or not.
If I want to send data from this module to my personal laptop.
What is the application I need to install in my laptop and then I can do transfer.
I have also installed Filezila ftp server and tried. but connection is not established.
And how can I open this Ip address.
 

You need to run a TCP server on laptop, e.g. C++
http://www.codeproject.com/Articles/1415/Introduction-to-TCP-client-server-in-C
http://msdn.microsoft.com/en-us/library/system.net.sockets.tcplistener.aspx
http://msdn.microsoft.com/en-us/library/system.net.sockets.tcpclient.aspx

or VB.NET
http://vb.net-informations.com/communications/vb.net_socket_programming.htm

try running a server and client on you laptop to check it works
to enable the client on the GPRS modem to communicate with the server on your laptop depends on how your laptop connects to the internet
e.g. if you have a ADSL router you require the IP address provided by your ISP then you configure the router to forward packets that arrive at a specified socket to your laptop.

e.g. at+cipstart="tcp","zzz.zzz.zzz.zzz","yyyy"
where zzz.zzz.zzz.zzz is your IP address and yyyy is port the server is listening on
 

Sir horace1,

I am using filezila ftp server. In sim900d connected hyperlink, I have typed the command
AT+CIPSEND="tcp","MY LAPTOP WAN IP","PORT NO 21"
OK
CONNECT OK
AT+CIPSEND
>HI

SEND OK
But at server side in filezila I am not able to see any thing.
 

FTP will expect data formatted in FTP protocol

looks as though you GPRS client connected to the FTP server OK but I assume the server ignores HI

I always run my own servers when using GPRS TCP/IP unless the application specifies FTP and then one requires a FTP client on the modem
 

Re: gsm and gprs project

Sir how and where can I open my IP address and check the recieved data.

- - - Updated - - -

can you please tell me exactly how can I make my own tcp/ip server and check data?
 

Re: gsm and gprs project

what language do you want to work in on the laptop? e.g. C++, VB, C#
assuming you are using windows do you have visual studio or some other compiler?
How are you connected to the internet? e.g. thru an ADSL modem/router
 

Sir,
I need a socket program to run on my laptop for making a tcp server and to complete data transfer with sim900d.
Please help me with that.
 

the following page has server code in C++, VB and C#
https://msdn.microsoft.com/en-us/library/system.net.sockets.tcplistener.aspx

if you don't have Visual Studio you can download a copy of Visual Express from
https://www.microsoft.com/visualstudio/en-us/products/2010-editions/express

e.g. in C++ create a CLR Console Application and replace the code in main.cpp with sample sever code - hit CTRL/F5 to build and run the server.

to test it you can download a client from
https://msdn.microsoft.com/en-us/library/system.net.sockets.tcpclient.aspx

if you are running on a network with local IP addresses and a NAT box to connect to the internet you will have to use port forwarding to route the packets to your laptop
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top