Need cheap i2c LCD for 16F877a


Closed Thread
Results 1 to 5 of 5
  1. #1

    Smile Need cheap i2c LCD for 16F877a

    Hi, Can anyone reccomend a simple, text only LCD capable of being accesed as an i2c slave? The ones I have seen so far are around £50, surely there are some in a cheaper price bracket?

    The LCD is to be used with the ME Labs LABX2 project board and 16F877A.

    I have found some suitable code in these forums posted by Mister_e (thanks) for setting up and writing to an lcd but as I am still new to this hobby would appreciate, if you have it, code specific to the LCD you might reccomend.

    Thanks for your help. For someone who is emerging from the technically simplified world of picaxes these forums are invaluable.

    Cheers

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    is there any specific reason why you want a I2C LCD?

    You could still build your own interface+ any cheap standard LCD?

    The simple solution is still the serial LCD.

    Start:
    SERIN ....
    LCDOUT .....
    goto start
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3


    Did you find this post helpful? Yes | No

    Default Advantage of i2c

    I think I am correct in believing that the i2c connection will only use 2 pins whereas the serial connection requires several? I need all my available pins.

    Thanks,
    Mark

  4. #4
    Join Date
    Nov 2006
    Location
    Murrieta, CA
    Posts
    62


    Did you find this post helpful? Yes | No

    Exclamation SERIAL 4x20 LCD

    I think I am correct in believing that the i2c connection will only use 2 pins whereas the serial connection requires several? I need all my available pins.
    Um..... I use the Parallax 4x20 Serial LCD display... it only uses ONE line for serial transmission. take this simple code to send hello to the display

    DIFINE OSC 20 'Always define the Oscillator your using !!

    SEROUT PORTA.5,2,["Hello"] '9600 baud True Driven will send this to the display

    And here are some other Good commands:

    SEROUT PORTA.5,2,[$11] 'This command will enable the Backlight $12 disables
    SEROUT PORTA.5,2,[$0C] 'This will clear the Display
    pause 5

    It is Very Easy to use and program.... remember only Power ground and 1 wire for serial communication !!!

    view the LCD DataSheet here
    There are 10 kinds of people. Those that know binary and those that do not.

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    But building your own is so simple... SERIN, LCDOUT is all you need. Perfect application for a 16F84 and all other gathering dust LMAO!
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. I2C Master/Slave 16F88/16F767 working code
    By DanPBP in forum Code Examples
    Replies: 2
    Last Post: - 23rd October 2012, 22:31
  2. HARDWARE I2C SAMPLE CODE question
    By Michael Wakileh in forum Code Examples
    Replies: 2
    Last Post: - 16th June 2009, 21:07
  3. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 16:56
  4. I2C Master Slave issues.
    By cpayne in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 29th March 2008, 19:33
  5. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 26th June 2007, 23:07

Members who have read this thread : 2

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