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

Tue May 28 2019, 07:14 PM
Ron Otsig
KBI does not work on P89LPC920 but it works on P89LPC925
Mon May 27 2019, 09:03 AM
BIJI MATHEW
Hello friends....
DragonDad
Tue May 21 2019, 03:02 PM
Hi. Who is online?
Tue May 14 2019, 12:38 AM
Jayson Contreras
Hello
Xkalebar
Sun Apr 28 2019, 09:06 AM
Please provide me the code for gsm based sms controlled notice board
ExperimenterUK
Sun Apr 14 2019, 10:52 PM
@hassan malik post your problem in the "General help Guidance and Discussion" forum
Sun Apr 14 2019, 05:06 PM
RAJESH MAPARi
please send me code to interface atmega32 with 24c1024 serial eeprom
Sun Apr 14 2019, 01:33 PM
hassan malik
hello sir i installed proteus 7.8 professional on window 7 ultimate and window 10 but there would be same errors onn both windows. the error is bad license key.please any one help me
Sun Apr 14 2019, 01:32 PM
hassan malik
hello sir i installed proteus 7.8 professional on window 7 ultimate and window 10 but there would be same errors onn both windows. the error is bad license key.
ExperimenterUK
Sat Apr 06 2019, 05:59 PM
@deshrar. Please post your question in 8051 forum

Downloads

Comments

Easwaran22
Thu Jun 13 2019, 10:16 AM
JenniferJJ
Thu Jun 13 2019, 05:12 AM
seyoonnet
Tue Jun 04 2019, 12:37 PM
Charbel
Sun Jun 02 2019, 03:30 PM
ronotsig
Mon May 27 2019, 03:00 AM
WilsonNig
Sun May 26 2019, 03:11 AM
DragonDad
Tue May 21 2019, 02:50 PM
dhiyamtech
Thu May 09 2019, 10:20 AM

Online

Guests: 40, Members: 0 ...

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

Members: 38072
Newest member: Easwaran22
Forum Activity
JenniferJJ Avatar
Posted By JenniferJJ
Thu Jun 13 2019, 05:17 AM
Hi,Hello Members,I am the newbie member, I like ve...
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu May 30 2019, 08:32 PM
It occurs to me that although the P89LPC921 and P8...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed May 29 2019, 09:05 PM
I would suggest a fresh approach.The Keil compile...
ronotsig Avatar
Posted By ronotsig
Wed May 29 2019, 03:13 PM
Since the code works for the P89LPC925, it is appa...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon May 27 2019, 06:23 PM
I can't see any reason that those registers would ...
ronotsig Avatar
Posted By ronotsig
Mon May 27 2019, 03:06 AM
I am trying to using P89LPC921 or P89LPC922 in a p...
Ansh12 Avatar
Posted By Ansh12
Sun Apr 28 2019, 02:15 PM
I made a minor change, it works in Proteus.Try the...
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Apr 25 2019, 08:20 PM
I made a minor change, it works in Proteus.Try the...
gigyani Avatar
Posted By gigyani
Thu Apr 25 2019, 01:17 AM
when i add cufirst.hex its not working.after 2-3 s...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Apr 24 2019, 12:29 AM
http://www.8051projects.net/download-d205-electron...