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

Thu Dec 12 2019, 02:07 AM
Robertedism
UK Nike Online Salomon UK
Thu Nov 21 2019, 12:30 PM
raj2555
how to interface 8051 microcontroller with NRF24L01+ module
ExperimenterUK
Sat Oct 12 2019, 10:23 PM
Log in.. then post your code in the 8051 forum
Sat Oct 12 2019, 10:18 AM
Bhadra Sajikumar
i am doing a countdown timer with 8051 for my project, unfortunately our professor had to take a leave of absence before he could teach us most of it.. can someone explain the .asm code of it for me?
Mon Sep 23 2019, 07:37 AM
Nathaniel
I am doing a project for my schools wireless security system with cameras,sensors and spot lights using 8051 micro controller, could you help me out with the design and its source code.
Wed Sep 18 2019, 08:48 PM
Caryn Kover
Thank you for your time,
ExperimenterUK
Mon Aug 05 2019, 07:09 PM
@Ismail ..post in forum, give details
Mon Aug 05 2019, 04:33 PM
Ismail balghmi
Hello. Please I won't download
ExperimenterUK
Wed Jul 24 2019, 12:47 AM
@BUSTER123 Please post in the forum
Tue Jul 23 2019, 06:13 PM
BUSTER123
hello! newbie here. i am kind of a guy who hates using ready - made existing libraries, so this helped a lot as i was trying to control and write to a character lcd display. however, i can't figure out how to set the cursor position. for example, i want to set it to the 5th column in the first row, so position 5. so according to the table, i am sending 10000101 on the 8 data lines of the lcd (register select pulled low). the cursor does not move there however. and i cant move the cursor left or right too. is it something wrong that i am doing? thank you.

Downloads

Comments

nabiha_anaya
Sun Dec 08 2019, 09:16 AM
ananyagupta
Tue Dec 03 2019, 07:53 AM
wells
Mon Nov 25 2019, 08:25 PM
auwal
Tue Nov 19 2019, 03:13 PM
ANKITPATEL
Mon Nov 18 2019, 11:00 AM
Casmir
Wed Nov 13 2019, 06:25 AM
DeepakBGattani
Mon Nov 11 2019, 01:31 PM
Jeanbusatta
Sun Nov 10 2019, 04:42 AM

Online

Guests: 31, Members: 0 ...

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

Members: 38108
Newest member: nabiha_anaya
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Dec 10 2019, 04:49 PM
ilylily07 Avatar
Posted By ilylily07
Sun Dec 08 2019, 01:24 PM
Hi .im humbly ask for your advice as i wrongly pur...
nabiha_anaya Avatar
Posted By nabiha_anaya
Sun Dec 08 2019, 09:19 AM
My teacher assign me a project on "voice control h...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Nov 29 2019, 04:24 AM
" Is it possible to interface a fingerprint scanne...
ilylily07 Avatar
Posted By ilylily07
Thu Nov 28 2019, 03:50 PM
You will not find any code for an 8051 as no one w...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Nov 26 2019, 05:44 PM
You will not find any code for an 8051 as no one w...
ilylily07 Avatar
Posted By ilylily07
Tue Nov 26 2019, 04:13 AM
I tracked down a OV7670 data sheet.The OV7670 puts...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Nov 26 2019, 12:08 AM
I tracked down a OV7670 data sheet.The OV7670 puts...
ilylily07 Avatar
Posted By ilylily07
Mon Nov 25 2019, 04:38 PM
The 8051 has too little memory to do anything us...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Nov 19 2019, 10:44 PM
The 8051 has too little memory to do anything us...