Discussion in "Embedded GSM Development" started by    pakvainim    Mar 19, 2009.
Thu Mar 19 2009, 04:55 pm
#11
i know one db9 connector which we are using is RS232.......if u r talking about this db9 connector then wat is it got to do with GSM Module?
Thu Mar 19 2009, 05:10 pm
#12
see, i guess one db-9 connector will be there to program the controller.
im talking abt the db9 connector which is on the SIM 300 GSM module. through that db9 connector u can communicate the PC and th GSM.
Thu Mar 19 2009, 05:15 pm
#13
We dint get any db9 connector with GSM Modul!....!!!. but d one which v r usin can be connected 2 PC to burn our program on the microcontroller...so now how is it going to help to initiate our GSM?.
Thu Mar 19 2009, 05:20 pm
#14
printf("AT+CPOWD=0");
printf("AT+IPR=9600");
printf("AT&W");
printf("AT\r\n");

This is the program that i wrote...so can i use this code to start off with my GSM Module?
Thu Mar 19 2009, 05:36 pm
#15
hmm....
the first command should always be
printf("AT");
then u can write the commands according to what you want the GSM to do.
I dnt knw about the meaning of the first command that you used ie
printf("AT+CPOWD=0");
n can upload a snap of ur project?
Thu Mar 19 2009, 05:45 pm
#16
i can upload a snap....but it vl tk tym so i vl do it 2morrow........will wait 4 ur cooperation 2morrow....
Mon Mar 23 2009, 02:23 pm
#17
I want to know that whether we have to burn the "AT" command on the microcontroller or we can check the GSM Module by directly using Hyper Terminal???
Mon Mar 23 2009, 05:30 pm
#18
well if you are checking your module to be working or not then you can test it using Hyper terminal.

ofcourse when you are making controller based application you have to burn the commands inside it so that controller can send it.

and.. you forgot to send \r after each command sent to modem from controller.

no need to send \n after every command.
Tue Mar 24 2009, 03:04 am
#19
Hello pakvainim
According to the Sim300 pdf you need to set the PWRKEY pin (Power on)
low for 1.5 seconds then high.
The modem will send the text "RDY"

As far as I can see AT+CPOWD =1 will turn the modem off,
but AT+CPOWD =0 will not turn it on.

Can you write some code into your micro to read whatever the modem sends to you
and pass that back to your PC for you to read in Hyperterminal.

Can you supply a circuit diagram of your project ?


[ Edited Tue Mar 24 2009, 03:10 am ]
Tue Mar 24 2009, 05:37 pm
#20
you will only get RDY message if modem is configured with specific baudrate using AT+IPR. so do not expect any message from modem if modem is in autobaud mode.

you can check modem configuration using AT+IPR?
if you get 0 then modem is configured for autobaud.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

StephenHauct
Sat Apr 27 2024, 09:38 am
Adamsaf
Sat Apr 27 2024, 07:12 am
Robertphype
Sat Apr 27 2024, 12:23 am
ktaletrryp
Fri Apr 26 2024, 10:55 pm
Robertrip
Fri Apr 26 2024, 11:20 am
ArnoldDiant
Fri Apr 26 2024, 03:53 am
RodneyKnorb
Thu Apr 25 2024, 07:08 pm
Williamjef
Thu Apr 25 2024, 02:08 pm