Discussion in "Project Doubts" started by    manan_vyas    Oct 11, 2010.
Tue Oct 12 2010, 11:16 pm
#11
thats not an issue 16 pin means back light led
15 pin =+5v
16 pin= ground
proteus has built in back light display
try the above program to verify hardware hardware verification is much important to go further
hope so u get the point why i am insisting to check hardware


[ Edited Tue Oct 12 2010, 11:18 pm ]
Wed Oct 13 2010, 04:24 pm
#12
hey, I burned the above program in the uC.
Still no output.
All the pins of the controller give +5 V output.
I used a 10k pot for the LCD.
only the contrast of lower line is changing .
Upper line remains same.
So some hardware problem??
Wed Oct 13 2010, 10:35 pm
#13
hi manan_vyas
yes it seems to hardware problem controller portion is not working well as it should be
may be crystal is damage
try to run a led blinking code to verify that hardware is ok
what u seen on lcd black boxes or nothing
ru provide +5volt to 31 pin of 8051 and make proper reset circuitry on pin 9
upload ur circuit diagram plz


[ Edited Wed Oct 13 2010, 10:37 pm ]
Wed Oct 13 2010, 10:41 pm
#14
Yup EA(bar) pin 31 is HIGH.
Only the lower 16 lines of LCD working (black boxes seen only on lower 16 lines).
Contrast also changing by varying POT.
Tried the LED blinking program - NO output ...
the LED remains OFF....
Is the uC not working properly or its not getting burn properly ???
Wed Oct 13 2010, 10:51 pm
#15

Is the uC not working properly or its not getting burn properly ???


it is clear from ur test that led not blinking it mean there is problem in hardware
now it is easy for u to correct hardware first
31 pin attach to 5 volt
40 for 5 volt
20 for ground
9 for reset 10 k and 10uf capacitor
18 and 19 for crystal
use 33 pf with crystal
if still not led blinks try to change crystal
ru using AT89C51
Wed Oct 13 2010, 10:58 pm
#16
Thats exactly how i have soldered the circuit.......
Used an extra Crystal and AT89C51 but no change.....
Is the LCD proper ?
Wed Oct 13 2010, 11:15 pm
#17
Forget about the LCD
You need to get LEDs working first.
Remove all connections except those
that majoka gave plus a couple of LEDs +resistors as indicators.

Run a very simple program to turn one LED on and another off
just to prove you can program the chip.(it doesn't need to flash at first)
Let us know what happens, if it does not work post a copy of your
test program.
Can you read the code back from the AT89C51 ?
Wed Oct 13 2010, 11:23 pm
#18
may be there is a problem in 8051 some time its program but cant able to run code so try also to change it with a new one ic so doubt should be clear
Thu Oct 14 2010, 07:22 pm
#19
thanks guys......
I am using a Elnec BeeProg for programming the controller.
I can only see the buffer contents before programming.
Then i do as sand in its manual .. that is to program and verify.
After that the only way to verify if program is right or not to implement the hardware part...
Thu Oct 14 2010, 07:52 pm
#20
@manan_vyas u can do it on proteus no need to use 15-16 pin (its for back light) it will not affect simulation

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

hvCar
Thu May 09 2024, 05:53 am
DJGlido
Wed May 08 2024, 09:28 pm
migCar
Wed May 08 2024, 04:48 pm
TimmyJup
Wed May 08 2024, 12:22 am
Shawnarows
Tue May 07 2024, 10:16 pm
GlennVet
Tue May 07 2024, 04:46 pm
RonaldJoump
Tue May 07 2024, 10:15 am
Jasonkam
Mon May 06 2024, 10:00 pm