Interfacing with Arduino I2C LCD


Closed Thread
Results 1 to 40 of 48

Hybrid View

  1. #1
    Join Date
    Jun 2009
    Location
    Sc*nthorpe, UK
    Posts
    333


    Did you find this post helpful? Yes | No

    Default Re: Interfacing with Arduino I2C LCD

    Quote Originally Posted by Demon View Post
    Can't find info on $44, and can't see what's in this zip on my phone:

    https://bitbucket.org/fmalpartida/ne...stal/downloads

    I'd be curious to see all the stuff in version 1.2.1.

    Robert
    Compare this code with Darrel's the one obvious issue is that the LCD is in 4 bit mode which requires the upper nibble and lower nibble to be sent separately. One other concern is that of setting the RS bit for data mode which is done once after initialisation. Does this not need doing every time a data nibble is sent?

  2. #2
    Join Date
    Jun 2009
    Location
    Sc*nthorpe, UK
    Posts
    333


    Did you find this post helpful? Yes | No

    Default Re: Interfacing with Arduino I2C LCD

    Is it pure coincidence that all the upper nibbles are $4?

  3. #3
    Join Date
    Jun 2013
    Posts
    12


    Did you find this post helpful? Yes | No

    Default Re: Interfacing with Arduino I2C LCD

    I believe this may be my first post to this forum...

    Has anyone figured more of this out? I finally got my I2C serial adapter for the 1602 LCD to do something at least.

    It was indeed very helpful to see the original code posted. Somehow my default address is $40.

    When I use the code provided, I do get the display to light up and display "HELLO RCG! but when I try to change the initials to DHD, using the hex codes for D = $44, H=$48, and D=$44, I get THD in the display.

    I am also looking for a bit more help with the control characters, and why the LCDWRITE routine needs 3 i2cwrite commands.

    Thanks from noob Dave

  4. #4
    Join Date
    Jun 2009
    Location
    Sc*nthorpe, UK
    Posts
    333


    Did you find this post helpful? Yes | No

    Default Re: Interfacing with Arduino I2C LCD


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


    Did you find this post helpful? Yes | No

    Default Re: Interfacing with Arduino I2C LCD


  6. #6
    Join Date
    Jun 2013
    Posts
    12


    Did you find this post helpful? Yes | No

    Default Re: Interfacing with Arduino I2C LCD

    Great, thank you. Lots of information in those posts.

  7. #7
    Join Date
    Jun 2013
    Posts
    12


    Did you find this post helpful? Yes | No

    Default Re: Interfacing with Arduino I2C LCD

    Hmm, I am still having difficulty with this even after reading the above referenced threads.

    I am working with PBP 3.0.7.0 and a pic 12F629. I am able to get the code writen by norohs (above) to work but I am having difficulty figuring it all out so that I can modify it for my own use.

    Basically, I'd like to send some data and or ascii from my 12F629 to my LCD1602 via the I2C "adapter".

    Can someone give me a bit more guidance?

Similar Threads

  1. Another Arduino clone that uses a PIC
    By dhouston in forum PBP & Amicus18
    Replies: 0
    Last Post: - 7th March 2012, 19:14
  2. Arduino ?
    By Michael in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 13th September 2011, 19:50
  3. How do I operate an Arduino I2C LCD
    By menta in forum General
    Replies: 8
    Last Post: - 13th July 2011, 02:28
  4. Arduino
    By muddy0409 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 1st July 2011, 19:11
  5. ARDUINO? -- what is it?
    By Michael in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 18th August 2009, 00:19

Members who have read this thread : 4

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