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.

Is it possible to connect a SIM900 to a remote computer by GPRS?

Status
Not open for further replies.

abdi110

Member level 3
Joined
Mar 5, 2015
Messages
60
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,728
Hello everyone,
Is it possible to connect a SIM900 to a remote computer by GPRS and send a text to that computer?
How?
Is it possible through TCP/IP?
 

Yes you can, but the computer must have either a fixed IP address or a DNS referer.

Cheers.
 
Yes you can, but the computer must have either a fixed IP address or a DNS referer.

Cheers.

Thank you! And how the computer can read this text? I mean under what software?
 

You will need to write a program that can read data from either a TCP or UDP connection to the computer.

If you are using DotNet this is rather simple to do.

Also keep in mind that the computer firewall will need the port you are using opened and if the computer is behind a router then you will need to port forward as well.

Cheers.
 
To receive and send data, you can HW Hercules Software also, just make sure that you are using Static IP address for your PC and it must be public IP, normally we don't have public IP as there are several routers connected in between, but if someone has data card with them, they can make there PC as public server.

To Receive Data Open Hercules and Click on TCP Server Tab (assuming you sending data on TCP Server), then write the port number on which you are sending data, click on listen.
Whatever you send, you will receive on Hercules window.

Hercules.PNG
 
Also keep in mind that the computer firewall will need the port you are using opened and if the computer is behind a router then you will need to port forward as well.

Cheers.

Thank you! What do you mean by the port? The port should be opened in SIM900 side or PC?
What is port forwarding if the computer is behind a router?

- - - Updated - - -

To receive and send data, you can HW Hercules Software also, just make sure that you are using Static IP address for your PC and it must be public IP, normally we don't have public IP as there are several routers connected in between, but if someone has data card with them, they can make there PC as public server.

To Receive Data Open Hercules and Click on TCP Server Tab (assuming you sending data on TCP Server), then write the port number on which you are sending data, click on listen.
Whatever you send, you will receive on Hercules window.

View attachment 115402
Thank you! How can I provide this software? Is it free?
 

Thank you! What do you mean by the port? The port should be opened in SIM900 side or PC?
What is port forwarding if the computer is behind a router?

To Start a communication, you will use this command in GPRS/GSM Modem
AT+CIPSTART="TCP","116.228.221.51","5000" (this is for SIM900)

The 116.225.221.51 is the server ip and 5000 is port number.
You are sending data over this port and to receive data, it must be opened in PC, if it is not opened then you will receive CONNECT FAIL error from modem.

Port Forwarding implementation is beyond my knowledge, hope someone else will help you or i think google search can help in this.
 
To Start a communication, you will use this command in GPRS/GSM Modem
AT+CIPSTART="TCP","116.228.221.51","5000" (this is for SIM900)

The 116.225.221.51 is the server ip and 5000 is port number.
You are sending data over this port and to receive data, it must be opened in PC, if it is not opened then you will receive CONNECT FAIL error from modem.

Port Forwarding implementation is beyond my knowledge, hope someone else will help you or i think google search can help in this.
Thanks dear friend!
So the port No. (5000) should be set at the PC? or SIM900? or port is in both side?
 

i think it is on both sides as when you use at+cipstart command then you automatically open 5000 port or any other port, in your modem while you have to open this port in your pc, so that you can receive data.You have to open ports on both sides.
 
@xpress_embedo
So thanks dear friend! I will try it!
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top