P16F1827 and LCD Problems


Closed Thread
Results 1 to 29 of 29

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Do you have pin 3 of the LCD (contrast) connected to a POT?
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Dec 2010
    Location
    Michigan
    Posts
    31


    Did you find this post helpful? Yes | No

    Default

    YES I do.... Should have mentioned that earlier on.
    Actually used a little interface board from here :http://www.mikroe.com/eng/products/v...adapter-board/ pre-wired for 4 bit mode

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    That POT is for the backlight according to the data sheet.
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Dec 2010
    Location
    Michigan
    Posts
    31


    Did you find this post helpful? Yes | No

    Default

    The pot is for the contrast, I have 3 pots on a separate board to control the RGB back light.
    The display DOES use the standard LCD controller, I made sure I at least got that part right.

  5. #5
    Join Date
    Dec 2010
    Location
    Michigan
    Posts
    31


    Did you find this post helpful? Yes | No

    Default

    I think some of the problems I am having is not being sure of what coding the file example I am trying to copy is in (Basic, C, Assembly).
    To just initialize the LCD I am assuming I have to Code the port/Pins the LCD is on, and then send the initialization string "LCD_Init" .

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