Discussion in "Project Doubts" started by    dhanushka888    May 3, 2013.
Tue May 07 2013, 01:12 PM
#11
when press enter in the "transmit" side of the terminal, symbols are appeared in the "receiving" side..
then I connected max232 and nothing displayed in receiving side..

Tue May 07 2013, 06:11 PM
#12
i am also working on this...but while transmitting the data from 8051 to virtual terminal me getting a garbage value....i have set the baud rate by right clicking on the virtual hyper terminal...Belowe is the coding i m using could anyone help me please....i am transmitting a single letter 'A' but on hyper terminal me getting 'i' and when i right click on hyper terminal and mark the hex display mode it shows 'A1'...pls help me sir

#include <reg51.h>

void delay(unsigned int d)
{
unsigned int i,j;
for(i=0;i<=d;i++)
for(j=0;j<=1000;j++);
}
void main(void)
{
TMOD=0x20;
TH1=0xFD;
SCON=0x50;
TR1=1;
SBUF='A';

while(TI==0);


delay(50);
TI=0;

}
Wed May 08 2013, 04:44 AM
#13
probably your controller's frequency is not correct then. In proteus simulator does not take account of external crystal. click on 8051 in schematic go to properties and change crystal frequency to 11.0592Mhz and try again.
Wed May 08 2013, 05:40 AM
#14
it works...thanx aloootttt
Wed May 08 2013, 08:47 AM
#15
thank you ajay sir.. it's solved now.. I didn't see that property value.. I waste your time a lot.. sorry for that
glad to know sushant973 that your problem is also solved...


[ Edited Wed May 08 2013, 08:49 AM ]
Fri May 10 2013, 05:16 AM
#16
I am happy it worked for both of you Good luck! and happy learning..
 dhanushka888 like this.
Mon Jul 24 2017, 02:40 PM
#17
Here is a lot information about using virtual COM port - http://www.virtualserialportdriver.com/articles/how-to-use-virtual-serial-port-emulator/
I hope this article can help
Wed Nov 08 2017, 05:29 PM
#18
Hi...i am a new user here. I was also facing the same issue so according to my solution you should remove max232 from proteus and connect RXD of controller to RXD of COMPIM and Txd of controller to TXD of COMPIM directly.

automated pcb assembly


[ Edited Wed Feb 21 2018, 04:54 PM ]

Get Social

Information

Powered by e107 Forum System

Conversation

Fri Feb 26 2021, 02:20 AM
Rebekah
critical analysis essays examples https://writessaypro.com - how to write a good high school application essay essays about abortion buying essays online caught how to write college application essays concluding essays
Fri Feb 26 2021, 01:54 AM
Kristan
alternative to viagra https://sviagaragec.com - buy viagra new york cost of viagra per pill women viagra pills viagra soft pills viagra how it works

Downloads

Comments

Mirza123
Thu Jun 25 2020, 03:46 PM
eunicelove124
Mon Jun 22 2020, 03:03 PM
cerouno
Tue Jun 16 2020, 05:10 PM
Marce
Sat Jun 13 2020, 09:43 PM
Davidthils
Thu May 21 2020, 12:44 PM
Jakeror
Thu May 21 2020, 01:28 AM
motorCar
Wed May 20 2020, 07:05 PM
Vordrync
Wed May 20 2020, 11:52 AM

Online

Guests: 117, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38215
Newest member: Mirza123