ORG 0000H ;Power up
MAIN:
MOV TMOD,#20H ;Timer 1 in mode 2
MOV TH1,#-3 ;9600 baud rate
SETB TR1 ;Start timer 1
MOV SCON,#53H ;8-bit, 1 stop bit, REN enabled
DIAL:
MOV DPTR,#PhoneNum
ACALL SendString
HangUp:
SJMP HangUp
PhoneNum:
DB 'ATD 0127056144;',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
You only need to set the SMS Center number once, and you can do it from your cell phone keypad.so is it important then to assign the sms center number? or i can bypass this step and send?
Are you direct connect you cell phone to your microcontroller? Be carefull there is a different voltage between microcontroller dan cell phone, you may burn you cell phone out if you direct connect them!i made a small program to test the dialing and i got no response from mobile,although i got 5v on pin 10 and pin 11 (RX,TX)
in the 1st link you said that one has to connect some pins of cable to +9 v and -9 volt to work
This is the connection diagramYou have to supply these voltage to DB-9 connector
pin 7 DB9 (RTS) -9 Volt
pin 4 DB9 (DTR) +9 Volt
pin 5 DB9 (GND)
Yesi didn't connect them as i don't know all i did waspin2,3,5 only,do you think that this maybe the problem i face? i mean that the cable is not working for that reason?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?