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.

Problem with 7805 and 89c51 for transferring data serially to PC

Status
Not open for further replies.

mnoman

Newbie level 5
Joined
Feb 26, 2006
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,353
I am using 7805 with the 89c51 to transfer data serially to PC the problem is that while the power is ON no data is displayed on the PC as soon as the I switch of the power a burst of DATA is displayed OR if the switch is made to ON and OFF several times then it becomes OK and start sending data continiously. I think that it is the problem with 7805 as I had connected Two 7805 with the single supply one for 89c51 and other for some other circuits
can any one know how to solve the problem.
 

problem with 7805

When you see no data on the PC, is the 89C51 outputting anything at all, or is it dead? Check with an oscilloscope.

If it is sending data but nothing appears on the PC, what software is displaying the data? Maybe the data is corrupt, so the PC software displays nothing. Try viewing the data with a dumb-terminal utility such as Windows Hyper Terminal. Also try plugging and unplugging the serial cable a few times to see if the data suddenly starts working. That would be caused by what I call "false start bit syndrome".
 

Re: problem with 7805

It is very unlikely your problem is related to the 7805 voltage regulator ..
If, as you said, occasionally you have correct string on the PC's screen, try this:
Connect a switch to the reset pin of the 89C51 (of course you should have a cap there) and +5V, turn the power on, wait a couple of seconds and manually reset the micro ..
What do you have now?

Regards,
IanP
 

Re: problem with 7805

Try this small program
Code:
     MOV   SMOD,#$53
     MOV   TMOD,#2
     MOV   TH0,#$FD        ; 9600 Baud
     SET   TR1
;
CharOut:
     JNB   TI,CharOut
     CLR   TI
     MOV   SBUF,#'A'
     SJMP  CharOut

if it can continously sent character 'A' to HyperTerminal, its mean your hardware configuration is OK, else recheck your program and/or HyperTerminal setup
 

Re: problem with 7805

may be ur problem with hardware failer point acting like current sinker.!
 

problem with 7805

i have done this project (sending from8051 to pc)
do you convert the ttl voltage level of 8051 to rs232 voltage level?

this maybe ur problem.... I think
 

Re: problem with 7805

serial port on PC have ±12V logic !!!

log1 ... H ... -12V ÷ -3V
log0 ... L ... +3V ÷ +12V

You must convert ±12V to TTL; Use ic MAX232 for voltage conversion.
 

problem with 7805

check ur programming
if its ok
then their must be problem in ur power supply
 

Re: problem with 7805

may be ur problem with hardware
 

Re: problem with 7805

use max232 with serial and controller
 

Re: problem with 7805

Prob only with the reset + baudrate[may be your prog / xtal] + null modem connection.
thats it.
 

Re: problem with 7805

hi
i think it is a RESET Circuit problem
chek it
best luck
Ahmed
 

Re: problem with 7805

i'm agree with ahmed...maybe because of the reset circuit...sometime i also face the same prob..
 

Re: problem with 7805

Hi, Problem ia absolutly not with 7805, may be with ur code. Put a small delay for power-up approx:100ms at the beginning of the code. Which transformer are u using?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top