Discussion in "Embedded GSM Development" started by    pakvainim    Mar 19, 2009.
Wed Apr 01 2009, 04:52 pm
#41
Sorry it was that instead of theat.
Thu Apr 02 2009, 12:08 pm
#42
Plzzzzz anybody reply :-s
Sat Apr 04 2009, 02:17 am
#43
what about baud setup? you forgot that..!! printf wont work without it.

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
#44
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..
Tue Apr 07 2009, 01:00 pm
#45
plz help...
Tue Apr 07 2009, 03:06 pm
#46
first check if your controller is transmitting properly or not.

write a simple program to send 'A' on serial port and check its o/p at hyper terminal. get back with with results.
 pakvainim like this.
Wed Apr 08 2009, 11:50 am
#47
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
#48
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

Thu Apr 09 2009, 02:46 am
#49
Read the variable IE 0x2a
Convert to an ASCII string of numbers. IE "2a" 0r "42"
Send as a simple text message.
Thu Apr 09 2009, 11:00 am
#50
But why did u take 0x2a?? i dint understand that...

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

ArnoldDiant
Fri Apr 26 2024, 03:53 am
RodneyKnorb
Thu Apr 25 2024, 07:08 pm
Williamjef
Thu Apr 25 2024, 02:08 pm
SamuelSmise
Thu Apr 25 2024, 09:56 am
DustinErele
Thu Apr 25 2024, 08:44 am
ztaletpzca
Wed Apr 24 2024, 11:19 pm
IrardlPex
Wed Apr 24 2024, 08:42 pm
Charlestehed
Wed Apr 24 2024, 05:20 pm