Discussion in "Project Help" started by    mr_sheikh    Jun 17, 2007.
Sun Jun 17 2007, 05:29 PM
#1
I want my 8051 controller to send the AT Command to my T-65 Ericsson Mobile connected to it. The Hardware is tested having no problem.

The command to dial the phone is "ATD 123456789;" and the enter key
I thought i have to use carriage return (0AH) and Line feed (0DH) at the end. The code works fine on pinacle's UART window but my mobile doesnt respond to the controller.
Although when i check the responce of controller on Hyper Terminal, it is ok

I dont know where the problem lies..

My Code id :

ORG 0000H ;Power up
MAIN:
MOV TMOD,#20H ;Timer 1 in mode 2
MOV TH1,#-3 ;9600 baud rate (FDH)
SETB TR1 ;Start timer 1
MOV SCON,#50H ;8-bit, 1 stop bit, REN enabled
DIAL:
MOV DPTR,#PhoneNum
ACALL SendString
HangUp:
SJMP HangUp

PhoneNum:
DB "ATD 123456789;",0AH,0DH,00h
SendIt:
ACALL SEND
SendString:
CLR A
MOVC A,@A+DPTR
INC DPTR
JNZ SendIt
RET

SEND:
MOV SBUF,A ;Load the data
HERE:
JNB TI,HERE ;Stay until last bit sent
CLR TI ;Get ready for next character
RET

END
Sun Jun 17 2007, 06:18 PM
#2
Hi, well i checked your code, so far i think there is no problem except... the AT command you are sending. If possible send me the AT command set, because i am not sure about the command you are sending and i tried searching but couldn't find the command set.

And also attach the circuit diagram you are using, are you using a datacable to connect to phone or directly connecting (RX,TX,GND) with controller. it will be good to send the circuit diagram and command set. so i will get a clear picture regarding what you are doing.
waiting for your reply.
Sun Jun 17 2007, 09:21 PM
#3
Schematics

Sun Jun 17 2007, 10:42 PM
#4
schematic is fine.. try your program again with only 0DH at the end not 0D and 0A ok?
and tell me the results...
please attach the AT command set for T-65 mobile
Wed Jun 20 2007, 12:50 PM
#5
first send only AT command and wait for the reply "ok"
u can also check the mobile by sending the same command by hyper terminal for the mobile is responding or not.
Thu Jul 26 2007, 12:51 AM
#6
hi plz help me...i'm doing my final project to send sms using microcontroller 89C51but i have problem to send AT command to Handphone (i use siemens C55) to send SMS......please help if there is sombody have source code to send AT command to hanphone in Assembler.....plez

Get Social

Information

Powered by e107 Forum System

Conversation

Thu May 06 2021, 01:11 PM
Karen
Hello, constantly i used to check blog posts here in the early hours in the morning, since i like to find out more and more. Local Dating https://datingsitesww.com
Thu May 06 2021, 12:33 PM
Shalanda
It's an remarkable article in support of all the web people; they will get benefit from it I am sure. senior dating sites http://onlinedatingdd.com/
Thu May 06 2021, 10:24 AM
Felisha
What's Taking place i am new to this, I stumbled upon this I have discovered It absolutely useful and it has aided me out loads. I hope to contribute & help other users like its helped me. Good job. match dating https://onlinedatingtind.com/
Tue May 04 2021, 08:34 PM
Chastity
Hi there! I could have sworn I've been to this site before but after browsing through some of the post I realized it's new to me. Anyways, I'm definitely glad I found it and I'll be book-marking and checking back frequently! check my score https://creditscorecheckn.com
Tue May 04 2021, 06:39 PM
Clarence
What's up everyone, it's my first go to see at this web page, and post is really fruitful in support of me, keep up posting these types of articles. Best Credit Score https://creditscoresids.com

Downloads

Comments

Mirza123
Thu Jun 25 2020, 03:46 PM
eunicelove124
Mon Jun 22 2020, 03:03 PM
cerouno
Tue Jun 16 2020, 05:10 PM
Marce
Sat Jun 13 2020, 09:43 PM
Davidthils
Thu May 21 2020, 12:44 PM
Jakeror
Thu May 21 2020, 01:28 AM
motorCar
Wed May 20 2020, 07:05 PM
Vordrync
Wed May 20 2020, 11:52 AM

Online

Guests: 121, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38215
Newest member: Mirza123