Pic16f690 and LCD


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    Hi Ross,

    Take pin 3 of the LCD and connect it to the wiper on a 5K ohm potentiometer (pot) and then tie one side of the pot to ground and the other side to + 5volts. This controls the contrast of the display. Adjust the pot until you can see the characters. Once you know what resistance gives you
    the correct view you could read the pot's resistance then just substitute a 1/2 watt resistor with the desired resistance OR you can just leave the pot in the circuit.

    HTH,

    BobK
    Last edited by BobK; - 18th May 2010 at 00:28. Reason: Just another idea.

  2. #2
    Join Date
    May 2010
    Posts
    20


    Did you find this post helpful? Yes | No

    Default

    I was just about to post saying I solved it (typical i work it out once I post this) I changed it to DEFINE LCD_DBIT 0 and its sorted it out however it works for the first few seconds (about 3) then the line gets filled with garbage characters and some of them turn to black blocks with characters barely visible inside them. Will swap the lcd. Thanks for the reply will do that too progress! lol

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Try removing the line ...
    HIGH PORTB.6

    B.6 is the Enable Line which is handled by the LCDOUT command.
    You don't need to set it HIGH to enable the LCD.
    DT

  4. #4
    Join Date
    May 2010
    Posts
    20


    Did you find this post helpful? Yes | No

    Default

    Working perfectly now on a new lcd, not sure whether it was removing the HIGH Portb.6 or the new lcd thanks anyways though. I really appreciate it.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts