How i control 89c51 with External modem

Status
Not open for further replies.
You need to use RS232 and ATCommnd !

You need to use RS232 and ATCommnd !

AT commnd are spesipic for some modem your modem menufecture
should supply you the "AT Command st "

if you whant to connect to the internet you also need to use full
hndsheck

bobi
 

J_expoler1 said:
How i control External modem with 89c51 use RS232
:roll:

Hardware:

In 8051 add IC-L232 (rs232 driver), please read manual.
The TX connect to RX 8051, RX connect to TX 8051.

RS-232 Output (L-232) connect to Modem.


Software:

- Set baudrate 8051 (depend your crystal) with the same baudrate in modem.

- Use AT command for example to dial:
send string 'ATDT460393' to serial 8051 will dial telephone number 460393.

Note: Every string sending to serial 8051 please add Linefeed (0x0A) and CR (0x0D) character.

Best regard
bsiswoyo
 

if i can dial to terminal can i communication with terminal (terminal use MCS51+MODEM too) how i do it to communication by RS232
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…