serial pinouts
Sat Mar 22 2008, 12:04 am
i am trying to interface t630 with 8051...... i have successfully interfaced with COMM port and checked all the at commands.... now i want to know the serial pinouts from t630 data cable.... plz help meee. which one will be Txd and RxD
Sat Mar 22 2008, 12:34 am
Sat Mar 22 2008, 08:06 pm
now i hve connected the rxd and txd with microcontroller......... I hve made the following program that will call from the cell phone bt this program is not working.... can anyone help wats wrong with this program....
STR_PTR EQU 30H
ORG 000H
JMP START
ORG 023H
JMP SERIAL
ORG 030H
START:
MOV SCON,#50H
MOV TMOD,#20H
MOV TH1,#-3
SETB TR1
SETB EA
SETB ES
MOV DPTR,#MSG1
MOV STR_PTR,#000H
MAIN:
MOV A,STR_PTR
MOVC A,@A+DPTR
MOV SBUF,A
JMP $
INC STR_PTR
JMP MAIN
JMP $
SERIAL:
CLR RI
CLR TI
RETI
MSG1: DB "ATD<cellno.>;",0DH
STR_PTR EQU 30H
ORG 000H
JMP START
ORG 023H
JMP SERIAL
ORG 030H
START:
MOV SCON,#50H
MOV TMOD,#20H
MOV TH1,#-3
SETB TR1
SETB EA
SETB ES
MOV DPTR,#MSG1
MOV STR_PTR,#000H
MAIN:
MOV A,STR_PTR
MOVC A,@A+DPTR
MOV SBUF,A
JMP $
INC STR_PTR
JMP MAIN
JMP $
SERIAL:
CLR RI
CLR TI
RETI
MSG1: DB "ATD<cellno.>;",0DH
Sat Mar 22 2008, 11:17 pm
have you tried this command on hyper terminal? whats response there..? any dialing happens??
Sun Mar 23 2008, 02:49 pm
yup i hve done that and dialing is happening too. bt when i hve connected with hyperterminal thre is no response....what could be the problem
Sun Mar 23 2008, 05:17 pm
sorry i mean to say i hve done successfully with hyperterminal but when i connect it with 8051 there is no response
Sun Mar 23 2008, 11:40 pm
tried some other commands with micro like sending sms?? also check whether your micro is communicating correctly over serial..
Mon Mar 24 2008, 02:10 pm
First of all.. sorry TPS for removing those offtopic posts..
test your phone on Hyper terminal see if its working or not..
Second write a simple program to send and receive data for you 8051, just to check circuit is fine..
test your phone on Hyper terminal see if its working or not..
Second write a simple program to send and receive data for you 8051, just to check circuit is fine..
Mon Mar 24 2008, 03:50 pm
write a simple programme and check if u can recv thhe same commands on hyperterminal..!
Powered by e107 Forum System