hi,
I am working with the gsm module(simcom sim900a).
I am trying to connect with this to PC through serial port.
I want to know hoe to connect that gsm module to PC through serial port and how to test that one.
We're also working on a sim900 project right now, and we're trying to interface it with a PIC mcu. So far, we've been able to send AT commands using hyperterminal on the laptop through a USB to RS232 converter cable. I've also tried sending AT commands using mikroC's USART tool and that worked as well. maybe we can help what exactly is your problem? have you tried connecting it to your pc? have you tried sending AT commands through hyperterminal?
hi
I'm using SIM900A interfacing with atmega32 controller...
using at commands I'm sending sms through hyper terminal its working fine..
when same commands sending from controller its not working.....
from controller commands are like this
AT(CR)
AT+CMGF=1(CR)
AT+CMGS="+919493929190"(CR)DATA(CNTL+Z)
here modem gives responce like...
AT
OK
AT+CMGF=1
OK
AT+CMGS="+919493929190"
DATA
>
here its waiting for data......
help me to solve this problem
thank you......
hi
I'm using SIM900A interfacing with atmega32 controller...
using at commands I'm sending sms through hyper terminal its working fine..
when same commands sending from controller its not working.....
from controller commands are like this
AT(CR)
AT+CMGF=1(CR)
AT+CMGS="+919493929190"(CR)DATA(CNTL+Z)
here modem gives responce like...
AT
OK
AT+CMGF=1
OK
AT+CMGS="+919493929190"
DATA
>
here its waiting for data......
help me to solve this problem
thank you......
Hi, maybe you can post your code so we can try to see how we can help have you tried putting small time delays after each command? maybe turning off the GSM module's echo function (ATEO) will help also. From what I understand, it seems as if your microcontroller has already sent the DATA before the GSM module's ">" response. Good luck!
Hi, maybe you can post your code so we can try to see how we can help have you tried putting small time delays after each command? maybe turning off the GSM module's echo function (ATEO) will help also. From what I understand, it seems as if your microcontroller has already sent the DATA before the GSM module's ">" response. Good luck!
We are also trying to interface the GSM Module SIMCOM 300 to a Microcontroller. We were able to connect it to the hyperterminal and generate a call.
But we are not able to generate a call through the Microcontroller.
This is the code we are using for sending the data,
Code:
init_serial();
transmit_data('A'); // Transmit 'A' to serial port
delay(1);
transmit_data('T'); // Transmit 'T' to serial port
delay(1);
transmit_data(0x0d); // Transmit carriage return to serial port
delay(500);
lcd_cmd(0x01);
lcd_data_string("Calling Rizvi");
delay(100);
lcd_cmd(0xC0);
lcd_data_string("ATD+ 91838200101");
delay(100); // Initialize LCD
lcd_cmd(0x01); // Initialize serial port
transmit_data('A'); // Transmit 'A' to serial port
delay(1);
transmit_data('T'); // Transmit 'T' to serial port
delay(1);
transmit_data('D'); // Transmit 'D' to serial port
delay(1);
transmit_data('+'); // Transmit '+' to serial port
delay(1);
transmit_data(32); // Transmit Space to serial port
delay(1);
transmit_data('9'); // Transmit '9' to serial port
delay(1);
transmit_data('1'); // Transmit '1' to serial port
delay(1);
transmit_data('1'); // Transmit '1' to serial port
delay(1);
transmit_data('9'); // Transmit '9' to serial port
delay(1);
transmit_data('2'); // Transmit '2' to serial port
delay(1);
transmit_data('2'); // Transmit '2' to serial port
delay(1);
transmit_data('8'); // Transmit '8' to serial port
delay(1);
transmit_data('3'); // Transmit '3' to serial port
delay(1);
transmit_data('9'); // Transmit '9' to serial port
delay(1);
transmit_data('2'); // Transmit '2' to serial port
delay(1);
transmit_data('2'); // Transmit '2' to serial port
delay(1);
transmit_data(';'); // Transmit ';' to serial port
delay(1);
transmit_data(0x0d); // Transmit carriage return to serial port
delay(500);
delay(500);
delay(500);
delay(500);
delay(500);
delay(500);
delay(500);
delay(500);
delay(500);
delay(500);
delay(500);
delay(500);
delay(500);
delay(500);
delay(500);
delay(500);
delay(500);
delay(500);
delay(500);
delay(500);
lcd_cmd(0x80);
lcd_cmd(0x01);
lcd_data_string("Disconnecting");
delay(100);
transmit_data('A'); // Transmit 'A' to serial port
delay(1);
transmit_data('T'); // Transmit 'T' to serial port
delay(1);
transmit_data('H'); // Transmit 'H' to serial port
delay(1);
transmit_data(0x0d);
lcd_cmd(0xC0);
lcd_data_string("DISCONNECTED");
while(1);
}
i've configured sim300 with micon and it is working properly for sending sms and generating call to other mobiles........
here your are initiating call and next to that disconnecting(terminating) the initiated path.........
we need to wait untill call is initiated mean it ring on other side............
for that you need to prepare the modem with some commands
HI all
I've worked hard on SIM900.... how ever its working fine now ....
the problem is when i'm sending commands to the module with some delay... but i'm not reading their response from the modem ........
now i'm sending command and wait for the response .....All commands are working fine there's no issues now.......
thankyou to all