PIC18F4525 & LCD simple code problem


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Contrast resistor

    With the LCDs I use, (Taiwanese) they will not work without a contrast resistor. This can be a single resistor about 10k (needs experiment) from the contrast pin to ground. Preferably use a pot with the ends between +5 and ground with the wiper to the contrast pin.

    Otherwise the screen will remain totally blank.

    HTH
    Brian

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Hello aggie007,
    BrianT is right on target with his post, I would also put a pause of about 1/2 second to 1 second before the first lcdout command to give the LCD time to initialise.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  3. #3
    Join Date
    Nov 2007
    Posts
    13


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by BrianT View Post
    With the LCDs I use, (Taiwanese) they will not work without a contrast resistor. This can be a single resistor about 10k (needs experiment) from the contrast pin to ground. Preferably use a pot with the ends between +5 and ground with the wiper to the contrast pin.

    Otherwise the screen will remain totally blank.

    HTH
    Brian

    I am using a 20K pot which takes care of the contrast.

Similar Threads

  1. Problem with PIC18F458 ADC code
    By minmin in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 1st June 2011, 08:13
  2. Strange LCD problem with PIC16F876A
    By Glenn in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 15th October 2009, 08:56
  3. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  4. problem with my code
    By civicgundam in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 3rd February 2008, 01:52
  5. Apparent code size problem
    By eetech in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 30th July 2007, 15:51

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