I2C LCD help needed


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1

    Default Re: I2C LCD help needed

    I've also wanted to use the modern widely available dime-o-dozen LCD's with I2C adapter boards. These things are like $6 all day long on Amazon etc.
    I've been searching this forum (and others) for a good 5 years or so. I am stunned that there hasn't been some solid examples posted.

    My PIC of choice over the last 10 years has been 16F690
    Evidently not that popular and it seems to be going on the verge of being obsolete. But they were nice bang-for-the-buck cheap 20 pin processors. About $2 ea
    But I do run out of I/) pins because I often use a 4 bit LCD for debugging or for the project itself.

    I wish there was some good sample code to get me started.
    I tried a few years ago but was at a dead end.

    So I will be watching this post and would like to give it a BUMP for more consideration. :-D

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,644

    Default Re: I2C LCD help needed

    I am stunned that there hasn't been some solid examples posted.
    posted 8 years ago
    https://support.melabs.com/forum/pic...f8574-20x4-lcd

    two versions covering popular variants of i2c backpack [LCD_PCF8574.pbp and LCD_PCF8574a.pbp]

    Name:  s-l1600.jpg
Views: 5327
Size:  146.4 KB

    bought one

    verified address a0 a1 a2 not grounded therefore $4e
    verified lcd data pins on PCF8574 high nibble therefore LCD_PCF8574a.pbp
    adjusted Test_LCD_PCF8574.pbp to siut

    ;----[Setup LCD using PCF8574 Port Expander]------------------------------------
    LCD_Addr CON $4e ; A0, A1, A2 tied to ground
    INCLUDE "LCD_PCF8574a.pbp" ; Include LCD module for PCF8574
    Backlight = 1 ; Turn on LCD Backlight

    worked first go



    what more could you want


    Name:  lcd.jpg
Views: 5210
Size:  83.0 KB
    Warning I'm not a teacher

Similar Threads

  1. I2C LCD
    By midali in forum General
    Replies: 46
    Last Post: - 8th January 2021, 22:52
  2. help to test a I2C LCD
    By lutherblisset in forum Code Examples
    Replies: 0
    Last Post: - 25th August 2017, 19:37
  3. Pcf8574 i2c lcd
    By cesar35 in forum General
    Replies: 2
    Last Post: - 25th August 2017, 15:22
  4. I2C CONFUSION, Help needed please
    By FromTheCockpit in forum mel PIC BASIC Pro
    Replies: 42
    Last Post: - 29th July 2013, 00:54
  5. Sample code for I2C text LCD needed
    By Alexey in forum Code Examples
    Replies: 4
    Last Post: - 15th September 2011, 01:29

Members who have read this thread : 5

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