How do I operate an Arduino I2C LCD


Closed Thread
Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2008
    Posts
    84

    Default How do I operate an Arduino I2C LCD

    Hi All,
    I bought this Arduino I2C LCD.

    http://cgi.ebay.com/ws/eBayISAPI.dll...=STRK:MEWNX:IT

    Can't find any examples or basic code to operate it.
    Anyone can advice?
    Thanks,
    Gil.

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


    Did you find this post helpful? Yes | No

    Default Re: How do I operate an Arduino I2C LCD

    Without the original lib? not likely
    ^Package Include:
    • 1 X I2C/TWI LCD 1602 Module blue (Please email us for Arduino library for this item)
    Steve

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

  3. #3
    Join Date
    Jun 2008
    Posts
    84


    Did you find this post helpful? Yes | No

    Default Re: How do I operate an Arduino I2C LCD

    Do you think they have a library for picbasic ?

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


    Did you find this post helpful? Yes | No

    Default Re: How do I operate an Arduino I2C LCD

    Quote Originally Posted by menta View Post
    Do you think they have a library for picbasic ?
    That is doubtful, but a "C" library is likely to be near compatible for PICs, from that you can dissasemble and harvest what you need, maybe. Did you request they send it to you ?
    You are going to want to see what is in these 2 files:
    #include <Wire.h>
    #include <LiquidCrystal_I2C.h>
    So as to understand what information gets sent to the MCU on the "shield" or Backpack. Essentially all data in an MCU is just numbers, so if you can get that data then you can see what it is doing. I bought some I2C / SPI displays a while back and setup a pic to send numerical data, just counting upward and watched and counted to see what the resulting display was.

  5. #5
    Join Date
    Jun 2008
    Posts
    84


    Did you find this post helpful? Yes | No

    Default Re: How do I operate an Arduino I2C LCD

    Quote Originally Posted by Archangel View Post
    I bought some I2C / SPI displays a while back and setup a pic to send numerical data, just counting upward and watched and counted to see what the resulting display was.
    Can you share your code ?

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


    Did you find this post helpful? Yes | No

    Default Re: How do I operate an Arduino I2C LCD

    The Arduino Library can be found here ...

    http://arduino-info.wikispaces.com/LCD-Blue-I2C

    It's Arduino C, but you can see what codes to send.
    DT

  7. #7
    Join Date
    Jun 2008
    Posts
    84


    Did you find this post helpful? Yes | No

    Default Re: How do I operate an Arduino I2C LCD

    I have this library,
    I didn't see any helpful information there.
    There is a binary file, maybe it includes something, but how do I open it ?

    Gil.

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


    Did you find this post helpful? Yes | No

    Default Re: How do I operate an Arduino I2C LCD

    It's C++, I haven't intensively checked the whole thing but every details seems to be in the .h and .cpp files.
    Steve

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

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


    Did you find this post helpful? Yes | No

    Default Re: How do I operate an Arduino I2C LCD

    I am thinking the LCD is a std Hitachi format and the dwenio just passes the data through to the LCD I have not had time to test that though.
    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.

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