PDA

View Full Version : Lcd 16x2 circuit and sample program...



larzazral
- 20th July 2012, 11:03
Please help me..tq..

larzazral
- 20th July 2012, 11:04
Im using pic16f877a 20mhz

Dave
- 20th July 2012, 12:00
Look in the PBP manual under LCDOUT......

larzazral
- 20th July 2012, 13:43
Its must put pullup resistor on rs terminal?

Charlie
- 20th July 2012, 20:05
Only if you are using a pin that does not have an internal one.

larzazral
- 21st July 2012, 00:00
I'm using portb (pic16f877a),its must add pull up resistor for rs?

mackrackit
- 21st July 2012, 05:28
Why not show your code and connections? Then someone may be able to help you.

Archangel
- 21st July 2012, 19:39
If you use the MCLR pin, then yes. The example in the book does. The MCLR pin of the PIC (generally) can not drive a load and therefor requires a pull up resistor to provide that function. Other pins CAN drive a load and do NOT require a pull up resistor.

Charlie
- 22nd July 2012, 11:21
Some devices have internal soft pullups on port B that must be enabled. I'm not sure yours is one or them - check the datasheet.