Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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

Part and Inventory Search

Blog entry information

Author
kishore680
Read time
1 min read
Views
833
Comments
1
Last update

More entries in Uncategorized

More entries from kishore680

Share this entry

Back
Top