Hello All, We are a group a students doing our study project. we are trying t interface gsm module with 8051 microcontroller. we are using Atme AT89c51. The problem is that we are also not able to get the data sent t the serial port on the Hyperterminal.we are using the MAX232 driver. Th pin connections are as follows: Pin 10(RXD) of Microcontroller to Pin 12(R1out) of MAX232. Pin 11(TXD) of Microcontroller to Pin 11(T1in) of MAX232. Pin 13(R1in) of MAX232 to Pin3 of DB9 connector. Pin 14(T1out) of MAX232 to Pin 2 of DB9 connector. The value of capacitors used for MAX232 is 1uF. The sample serial port program we have tried is:
-------------------------------------------------------------------------- ORG 0000H; LJMP MAIN; ORG 0030H; MAIN: MOV TMOD,#20H; MOV TH1,#0FDH; MOV TL1,TH1; MOV SCON,#50H; CLR TI; SETB TR1; HERE: MOV SBUF,#'B'; LOOP: JNB TI,LOOP; CLR TI; SJMP HERE; END;
-------------------------------------------------------------------------- Once burnt this code on chip and started there is no data being displaye on the Hyperterminal.
Expecting a help at the earliest.
Thanks in advance.