Send data from 8051 Microcontroller to Hyperterminal.(Proteus simulation)

Serial communication is widely used nowadays. Thanks for the Hyperterminal facility available. we can send data from microcontroller to PC 's Hyperterminal. we need 8051, Max232.Since i m showing hw to send data to hyperterminal from uc in Proteus. we need free virtual port emulator too.Please download this if you dont have.
Code:
#include<reg51.h>
Void Tx_char(unsigned char);
Void main(void)
{
TMOD=0X20;
TH1=0XFD;
SCON=0X50;
TR1=1;
while(1)
{
Tx_char('H');
Tx_char('e');
Tx_char('l');
Tx_char('l');
Tx_char('o');
}
}

Void Tx_char(unsigned char c);
{
SBUF=c;
while(TI==0);
TI=0;
}
The code is attached. And Circuit and working is shown in this video. https://www.youtube.com/watch?v=cxQQ74vfY-A.. Edit the code and make changes for your project :smile:. I searched enough for this procedure here and added all bits of information i got into single blog. T. visit hobbyprojec.blogspot.in for serial communication related code thank you

Comments

Cookies are required to use this site. You must accept them to continue using the site. Learn more…