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.

communication between GPRS modem and microcontroler

Status
Not open for further replies.

cllunlu

Member level 4
Joined
Nov 21, 2006
Messages
76
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,900
Hi friends.How can I do communication between GPRS modem and microcontroller.And I wont use PC.[/code]
 

your can communicate your modem using serial transmission...study your manual GPRS modem... it will tell you how to connect with host like microcontroller or pc...
i sugest you to use c for programming the microcontroller because it easy to send command to modem...
 

most of the gprs modems support a sort of subset of AT commands, you should study docs about your modem and use AT commands that your modem supports
 

@cllunlu: What kind of project that you want to make using uC and GPRS Modem. May I know what brand is your GPRS modem?

Tq
 

    cllunlu

    Points: 2
    Helpful Answer Positive Rating
There are many post on the subject in this forum. Search for them. TO summarize, use a module with TCP/IP built-in the module. IT will make matters much simple. Sure you will need the know 2 things. Serial communications and using AT commands.
 

reflectarray said:
@cllunlu: What kind of project that you want to make using uC and GPRS Modem. May I know what brand is your GPRS modem?

Tq
I havent decided which brand gsm module yet.can u help me to use which brand
 

BenQ M32 is easy to use. It is cheap and has an easy connector for prototyping.
 

cllunlu said:
reflectarray said:
@cllunlu: What kind of project that you want to make using uC and GPRS Modem. May I know what brand is your GPRS modem?

Tq
I havent decided which brand gsm module yet.can u help me to use which brand
Yes u can use Benq module, but i think its hard to obtain. Another choice Sony Ericsson GR64 GSM/GPRS Module. It's powerful module with built in ARM9 processor.
 

I thought that gprs modem is very expensive.So I am thinking that I edit cellphone's keyboard and then drive them with another MCU.Is it possible?
 

You can do that except that in order to access GPRS, you have to use PPP and TCP/IP in the microcontroller.
 

thnks techie.
but I dont know so much.So I need your help how to do that
 

Use a modem which has internal TCP/IP stack. There are many of these and there has been a lot of discussion about these on this forum. Search "GPRS" and you will get all the links. For all these modems, it is quite easy to connect to the internet using only a handfull of commands. But keep in mind that you need to have the basic interfacing knowledge and basic programming knowledge.
 

techie I know basic programing but I dont know how to connection.So can you give me shematic circuits ets...thnks.
 

When you purchase the module, also purchase an evaluation kit. This way you will save a lot of time. But still if you want to built the first circuit, it is not that difficult. Lots of application notes and schematics around. Which module are you using.
 

cllunlu wrote:
I thought that gprs modem is very expensive.
1. What do you need is a GPRS Modem equiped with TCP/IP stack (full set of TCP/IP software include PPP)
2. Normally cell phone with GPRS modem is not equiped with TCP/IP stack, as the TCP/IP stack is installed on PC when your install the interface program.
3. GSM-GPRS module (ie Sony Ericsson GR64 GSM/GPRS Module) is a machine which already equiped with TCP/IP stack and it is not really expensive, the retail price is about 80 US$.

So I am thinking that I edit cellphone's keyboard and then drive them with another MCU.Is it possible?
It is not the way to control a cell phone!
Cellphone is controlled with AT Command, thru a serial line with UART format.

but I don't know so much.So I need your help how to do that
I dont know how to connection.So can you give me shematic circuits ets.
Please read the following Sony Ericson GR64 GSM/GPRS Module documentations, after that we discuss again how to do that.
 

cllunlu said:
I thought that gprs modem is very expensive.So I am thinking that I edit cellphone's keyboard and then drive them with another MCU.Is it possible?

Actually, that can be done, and you don't have to drive the keyboard directly, there's AT commands that simulate keys clicks. Again, depends on the cellphone's brand. But may or may not be less expensive than a gprs modem.
 

Does anybody tried to send data via standard gsm - siemens M45 or something ?
 

sim300 gprs modem interface with 8051 c driver check following the link

#include<string.h>
#include<reg51.h>
unsigned char x=0,i,g[20];
unsigned char s1[9]="AT\r\n"; //send "AT" command modem will response
unsigned char s2[18]="AT+CIPMODE=0\r\n";//Select TCPIP Application mode
unsigned char s3[30]="AT+CLPORT=\"UDP\",\"3500\"\r\n"; //set Local Port
unsigned char s4[45]="AT+CIPCSGP=1,\"airtelgprs.com\"\r\n";//set csd or GPRS for Connection mode "ur GPRS provide address"
unsigned char s5[15]="AT+CSTT\r";//Start Task and set apn
unsigned char s6[15]="AT+CIICR\r";//Bring up wireless connection with GPRS or CSD
unsigned char s7[15]="AT+CIFSR\r"; // Get Local Ip Address "is assign for GPRS Modem"
code unsigned char s8[50]="AT+CIPSTART=\"UDP\",\"219.64.118.125\",\"3500\"\r\n"; // Start Up TCP or Udp Connection
unsigned char s9[15]="AT+CIPSEND\r\n"; //Send Datat Through TCP or UDP Connection
unsigned char sd[46]="193308950\r\n"; // This is the Example Data Send through GPRS Modem

Embed4u » Code Library
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top