Also, put pot say 2K on contrast line. Tie pin1 of pot high, pin3 of pot
low, and pin2 of pot to pin3 of LCD. When program running and LCD lit up,
adjust until you get text on screen, (or for an unitialize LCD screen,
first
row of black squares). Once you fix contrast, leave pot alone.
Regards
<sneha.kathuria@[EMAIL PROTECTED]
> wrote in message
news:1177868633.839447.47540@[EMAIL PROTECTED]
> hi all, i m trying to display some text on LCD using pic16f877 but
> unable to get that.......... only backlight turns on in LCD
> circuit diagram i have made is as follows:
> pin 1 of pic to reset button( i hav conncted reset button through pull
> up resistance of 9.7k n it is at +5v when reset button is not
> pressed.)
> 8 MHz crystal with 22pf cap on 13 n 14 pin
> 12 n 31 pin ground
> 11 n 32 pin to +5 V
> pin 27 t0 30 connected to pin 11 to 14 pf LCD respectively
> {LCD - PIC
> VSS GND
> vdd +5v
> vee 4k7 reostat
> rs RD2
> rw gnd
> e RD3
> d0 gnd
> d1 gnd
> d2 gnd
> d3 gnd
> d4 rd4
> d5 RD5
> d6 RD6
> d7 RD7 }
> pin 21 to pin 4 of LCD
> pin 22 to pin 6 of LCD
> lcd pins 1,5,7,8,9 n 10 are grounded
> pin 2 of LCD connected to +5 V
> n pin 3 to variable rheostat of 4k7
> N I M GETTING SINE WAVE ACROSS CRYSTAL WITH REFERENCE TO GRND instead
> of square wave
> m unable to get the prob.
> plzzz help
>


|