Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/24/01 17:09
Read: times


 
#15979 - How to send AT commands?
How can I send AT commands from the 8051 to the modem. In fact, I want to set the modem to auto answer at the 4th ring. So in AT commands it means "ATS0=4", right? OK. I've tried to send the ASCII chars through serial port using RS232 with an external modem. But it doesn't work. It's a problem with the serial port?
Here's a copy of the program:
---------------
ORG 00H
MOV SCON,#010H
MOV A,#07FH
ANL A,87h
MOV 087h,A
MOV SBUF,#041H ; ASCII of A
MOV SBUF,#054H ; ASCII of T
MOV SBUF,#053H ; ASCII of S
MOV SBUF,#030H ; ASCII of 0
MOV SBUF,#03DH ; ASCII of =
MOV SBUF,#034H ; ASCII of 4

END
--------------
I think it's a problem with the configuration of the serial port, maybe. Or the baud rate is too high to the modem.

Thank's a lot!

Thiago Camargo - (SP - Brazil)

List of 27 messages in thread
TopicAuthorDate
Help for MT8880 dialer IC:            01/01/70 00:00      
   RE: Help for MT8880 dialer IC:            01/01/70 00:00      
RE: Help for MT8880 dialer IC:            01/01/70 00:00      
RE: Help for MT8880 dialer IC:            01/01/70 00:00      
RE: Help for MT8880 dialer IC:            01/01/70 00:00      
RE: Help for MT8880 dialer IC:            01/01/70 00:00      
Help for MT8889 dialer IC:            01/01/70 00:00      
RE: Help for MT8889 dialer IC:            01/01/70 00:00      
Serial LCD programming            01/01/70 00:00      
How to send AT commands?            01/01/70 00:00      
RE: How to send AT commands?            01/01/70 00:00      
Help for MT8880 dialer IC:            01/01/70 00:00      
RE: Help for MT8880 dialer IC:            01/01/70 00:00      
   Newbie, needs basics on MT8880            01/01/70 00:00      
Help - How to OFF-HOOK Telephone line            01/01/70 00:00      
Help for MT8880 with Microcontroller8951            01/01/70 00:00      
   RE: Help for MT8880 with Microcontroller8951            01/01/70 00:00      
Help for MT8880 dialer IC            01/01/70 00:00      
   RE: Help for MT8880 dialer IC            01/01/70 00:00      
RE: Help for MT8880 with Microcontroller8951            01/01/70 00:00      
dialing a modem thru 8051            01/01/70 00:00      
RE: dialing a modem thru 8051            01/01/70 00:00      
   RE: dialing a modem thru 8051            01/01/70 00:00      
Can't generate interrupts on the MT8880!            01/01/70 00:00      
RE: Help for MT8880            01/01/70 00:00      
   RE: Help for MT8880            01/01/70 00:00      
      RE: Help for MT8880            01/01/70 00:00      

Back to Subject List