Discussion in "Embedded GSM Development" started by    cllunlu    Apr 23, 2008.
Thu May 08 2008, 07:22 am
#21
ajay I have tried your suggestion.But I am failed.Cell phone doesnt give me anything.Where is my mistake plsease help me
Thu May 08 2008, 06:44 pm
#22
problem can be in micro-mobile connection.can't say more about it
Thu May 08 2008, 06:46 pm
#23
my schematic and my codes are correct?
Thu May 08 2008, 06:53 pm
#24
try to send only 1 command..like atd , tell about response you get
Fri May 09 2008, 02:12 am
#25
Have you tried with the external pullup?
Fri May 09 2008, 05:35 am
#26
I gave you two suggestions which one you tried?
replacing ok with OK?

try abbas's suggestion too.. no need to wait for OK.. just try sending AT commands.
Fri May 09 2008, 05:40 am
#27
ajay I havent anytime to do it.Have you any projects that is finished about it.please help me.I have many class too.I havent more times
please help me.
Fri May 09 2008, 06:04 am
#28
edit your main for a while and replace it with this
void main()
{
	P2_0=0;
	P2_1=0;
	while(1) {
		if(P1_0==0) {
			init();
			sendString("AT");
			sendChar(0x0D);
			sendString("ATE0");
			sendChar(0x0D);
			P2_0=1;
			sendString("AT+CMGS=19");
			sendChar(0x0D);
			P2_1=1;
			sendString("079109459208003311000C910945664173350000AA05E8329BFD06");
			//sms center no:+905429800033, destination number:+905466143753, message:"HELLO"
			sendChar(0x1A);
			sendChar(0x0D);
		}
	}
}


comment the function which you are not using...
like checkOK and all.. then try on controller again.

waiting for response.
Fri May 09 2008, 06:12 am
#29
just I will change my main function?and but in main functiom havent delay when transmitting at commands

Fri May 09 2008, 06:31 am
#30
I didnt understand external puul-up.I know just need when we use P0 port.we have to use external pull up.for P2 port doesnt need external pull up ,doesnt
it?

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

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
Robertgurse
Wed Apr 24 2024, 02:43 pm
Richardedils
Wed Apr 24 2024, 04:07 am