I2C LCD


Closed Thread
Results 1 to 40 of 47

Thread: I2C LCD

Hybrid View

  1. #1
    Join Date
    Jan 2014
    Posts
    84


    Did you find this post helpful? Yes | No

    Default Re: I2C LCD

    Really I have more different LCD display's, with 7 and 8 pins.
    I tried with:
    - 8 pins LCD (TM202TCCWUGWA) ...I suppose that have ST7032i controller
    - 7 pins LCD (TM202SGFSGWA-B-1A ) ...I'm sure that have ST7036i controller

    I not found datasheets for them, but I suppose that important is the controller.
    Recently I found some information about ST7032, see atach. ST7032i_10.zip
    Here is a link with the same LCD ( I guess) http://www.farnell.com/datasheets/1669635.pdf

    New code (not working)
    Code:
    SCL   VAR PORTC.0
    SDA   var PORTC.1
    RESET var PORTC.2 ; IT'S REQUIRED?
    
    cbyte var byte 'CONTROL BYTE FOR DATA
    I2C   var byte 'CONTROL BYTE FOR CONTROL CODES
    
    cbyte = 4 'USE TO send a command
    I2C   = $7C 'ADDRESS FROM MANUAL ??
    high reset
    
    main:
    
    I2CWRITE SDA,SCL,I2C,cbyte,["HELLO"] 'print on the first line
    pause 250
    
    goto main
    end

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: I2C LCD

    Add PAUSE 250 before Main, LCD must stabilize.

    (Will look at datasheet)

    Robert

  3. #3
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: I2C LCD

    Look at I2C commands in PBP manual. You are missing DEFINEs.

    Robert

  4. #4
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: I2C LCD


Similar Threads

  1. I2C lcd ( arduino ) with PICBASIC, help
    By iw2fvo in forum mel PIC BASIC Pro
    Replies: 92
    Last Post: - 10th September 2014, 18:00
  2. I2C variable to LCD
    By pointjohn in forum Serial
    Replies: 7
    Last Post: - 19th October 2011, 08:53
  3. I2C to LCD display
    By Ron Marcus in forum Serial
    Replies: 3
    Last Post: - 29th December 2007, 14:53
  4. Need cheap i2c LCD for 16F877a
    By CodeShredder in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 6th December 2006, 01:25

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