SIM 300 GSM Module
Sat Apr 04 2009, 02:17 am
what about baud setup? you forgot that..!! printf wont work without it.
add this code in your main starting..
try again afterwards..
add this code in your main starting..
SCON = 0x50; TMOD = 0x20; TH1 = 0xFD; //if you are using 11.0592Mhz crystal TL1 = 0xFD; TR1 = 1; TI = 1;
try again afterwards..
Tue Apr 07 2009, 12:59 pm
thnx for the reply.. bt still i m not able to send 1st AT command from the microcontroller... other commands are appearing properly on the hyper terminal screen.. and because of this problem i m not getting message on my mobile..
Wed Apr 08 2009, 11:50 am
I checked it on hyper terminal, microcontroller is transmitting properly... but when i connect GSM Module, i m not getting anything on my mobile...:(
Wed Apr 08 2009, 03:24 pm
THANKS A LOT ....we got the output....i.e we are able to send a string on a mobile through microcontroller... !dance
initially we were using 20Mhz crystal but it was giving baud rate's problem so then we changed our crystal to 11.0592 MHz crystal as it was used in ur code...n now its working absolutely fine....
Now further...
we are going to read one register from ADE7754 IC and that value will be stored in variable...now...we want to send the value which is stored in variable to GSM Module to get that data through sms on mobile.....
so how do we proceed now?
Thanks in Advance
initially we were using 20Mhz crystal but it was giving baud rate's problem so then we changed our crystal to 11.0592 MHz crystal as it was used in ur code...n now its working absolutely fine....
Now further...
we are going to read one register from ADE7754 IC and that value will be stored in variable...now...we want to send the value which is stored in variable to GSM Module to get that data through sms on mobile.....
so how do we proceed now?
Thanks in Advance
Thu Apr 09 2009, 02:46 am
Read the variable IE 0x2a
Convert to an ASCII string of numbers. IE "2a" 0r "42"
Send as a simple text message.
Convert to an ASCII string of numbers. IE "2a" 0r "42"
Send as a simple text message.
Powered by e107 Forum System