LCDOUT custom commands - how to?


Closed Thread
Results 1 to 40 of 69

Hybrid View

  1. #1
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187


    Did you find this post helpful? Yes | No

    Default Re: LCDOUT custom commands - how to?

    Did you ever get the display to work in 4 bit mode?

  2. #2
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: LCDOUT custom commands - how to?

    I have my doubts with that circuit.

    With the 4 unused LCD data bits permanently tied high it’s impossible to initialise 4 bit mode,
    unless the LCD modules actually ignore the lower four bits value during initialisation.

  3. #3
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default 4 bits mode

    Quote Originally Posted by Fredrick View Post
    Did you ever get the display to work in 4 bit mode?
    All my circuits that use these LCDs are configured in 4 bits mode. Here is one example.

    If you're using one of these ELECTRONIC ASSEMBLY LCDs, the most important point is the initialisation sequence, especially, the 1 second PAUSE to settle the module.
    Code:
    ' DOGM LCD display Mandatory settings
    PAUSE 1000      'Time to settle Vdd (THIS IS VERY IMPORTANT!!!)
    LCDOUT $FE, $29 'Function Set: 4 bits bus mode
    LCDOUT $FE, $1C 'Bias set
    LCDOUT $FE, $55 'Power control + Contrast (HiByte)(for 5V=$52/3,3V=55)
    LCDOUT $FE, $6D 'Follower control  (5V=$69/3,3V=6D)
    LCDOUT $FE, $75 'Contrast (LowByte)
    Roger

  4. #4
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187


    Did you find this post helpful? Yes | No

    Thumbs up Re: LCDOUT custom commands - how to?

    Thank you flotulopex for this thread, now my 3x16 DOGM display works perfect.

  5. #5
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default Just a little time for LCD module to settle - that's it!

    I'm happy it helped
    Roger

Similar Threads

  1. Timer + rc5
    By naga in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 19th November 2009, 07:56
  2. need help in coding..
    By daphne8888 in forum mel PIC BASIC
    Replies: 1
    Last Post: - 19th March 2008, 07:31
  3. Help GPS read with serin
    By leinske in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 5th September 2007, 02:33
  4. Crystalfontz LCD
    By jman12 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 9th February 2007, 15:04
  5. having problems with Hantronix 20x4 lcd
    By Rhatidbwoy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 22nd December 2005, 12:22

Members who have read this thread : 1

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