Connecting to GSM/GPRS Module

plusboy
Attachment: TERMINAL.jpg (40.26 KB)
hi  all
I wana to write a program to connect with a RS232 GSM/GPRS module which use
AT&T commands .. ( Sim900 )
if I connect module to pc with any program like hyper terminal I can send
and receive data command . but when I test it with 2 sample serial program
in wince it doesn't work.. also those program are very good to communicate 
between mini2440 and my pc 
any help or any good sample project.??!!!

plusboy
Any help....!!!

Alberto Bisognin
The baudrate, parity and number of bits are equal in the mini and in the
sim900??Are you using hardware flow control?

plusboy
Yes 
This sim900 module has max3238L  , so it will auto sync ,,  but I use
baudrate 9600 and 19200 as I set it in hyperterminal and it worked grate
with my pc....!!! 
what should I do ,, ?
serial program with mini2440 and my pc works fine and my pc with sim900
module also ok....

Alberto Bisognin
Do you conected the rx pin of the mini in the tx of sim900, and the tx pin
of the mini in the rx pin of the sim900??

Are you using the com1 port? Are you conecting in the db9(CON0) or in the
conector on the board(CON1,CON2 or CON3)?? In the db9(CON0), the signals
are rs232 level, before the max 3232, and you need to conect the sim in
this port, if the sim have the max3238.

In the board,(CON1-USART1, CON2-USART2 and CON3-USART3) the signals are
ttl, in this case 0 to 3.3V.

plusboy
yes I connected "rs232 db9 port" of my sim900 module to db9 of my mini
2440.

as i said everything goes well when I connected module to pc and as you
know with serial programs for wince we have good connection with Pc .

is there any program like hyperterminal or putty for wince ? 
maybe serial programs for wince have problems? 

do you know someone who did it?

thanks.

Alberto Bisognin
Plusboy, check if your cable is correct, if the pin 2 in one conector is
conected in the pin 3 of other conector, and if the pin 3 is conected in 2.

If no, do this because this is your problem.

Slimani
I have the same problam, can u help me?? i'm sure that TX of mini2440
connected to RX of SIM900, and RX connected to TX

Raghavendra Talekar
Boys this is quite simple!! just make a cable by crossing the wires even i
faced the same problem developing an application with WINCE6 and mini2440
connected to a GSM GPRS modem Quectel M12 fabricated by me. the problem is
the mini 2440's UART is reversely connected on the DB9 connector available
at the board so just use one female and one male connector and cross
connect pins 2 & 3 and make a straight connection with pin 5 of both
connectors. i.e. connect pin 2 0f male connector to pin 3 of female
connector and pin 3 of male connector to pin 2 of female connector and pin
5 to pin 5 every thing will work properly!!