Winstar OLED Display Problem with lcdout comands


Closed Thread
Results 1 to 33 of 33

Hybrid View

  1. #1
    Join Date
    Apr 2011
    Location
    Kent, UK
    Posts
    52


    Did you find this post helpful? Yes | No

    Default Re: Winstar OLED Display Problem with lcdout comands

    Make sure you leave enough time at power up for the LCD to initialise, typically atleast 500mS. The Oled displays are alot quicker to react and I found the following defines worked ok
    DEFINE LCD_COMMANDUS 10
    DEFINE LCD_DATAUS 10

    We use a similar display and they work very well. Be careful of static, they seem very sensitive.
    Tim.

  2. #2
    Join Date
    Nov 2011
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Re: Winstar OLED Display Problem with lcdout comands

    Thanks for the tip

    Quote Originally Posted by timmers View Post
    Make sure you leave enough time at power up for the LCD to initialise, typically atleast 500mS. The Oled displays are alot quicker to react and I found the following defines worked ok
    DEFINE LCD_COMMANDUS 10
    DEFINE LCD_DATAUS 10

    We use a similar display and they work very well. Be careful of static, they seem very sensitive.
    Tim.
    Thats very short timings.

    Tried that and a few others, no joy

    Do you ground the RW pin or connect to the pic??

    Any pull ups??

    This is my simple test prog and the connections
    ' Compiler : PICBASIC PRO Compiler 2.6
    ' Assembler : MPASM
    ' Target PIC : 18F 452
    ' Hardware : LCD display
    ' Oscillator : 4M external
    ' Keywords :
    ' Description : LCD in 4-bit mode.

    ' DB4 PortA.0
    ' DB5 PortA.1
    ' DB6 PortA.2
    ' DB7 PortA.3
    ' RS PortA.4
    ' E PortB.3
    ' RW Ground
    ' Vdd 5 volts
    ' Vss Ground
    ' Vo 20K potentiometer (or ground)
    ' DB0-3 No connect
    DEFINE OSC 4

    PAUSE 1000 'LCD Ready
    LCDOUT $FE,1 'Erase Screen
    BASLA
    lcdout "Hello"
    PAUSE 500 'Wait 5 Sec.

    LCDOUT $FE,1 'Erase Screen

    LCDOUT "World"

    PAUSE 500
    LCDOUT $FE,1
    GOTO BASLA
    End

Similar Threads

  1. Problem with GOSUB/GOTO and Newhaven OLED question
    By Christopher4187 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 12th April 2013, 11:24
  2. LCDOUT problem
    By Megahertz in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 14th June 2012, 01:00
  3. Replies: 1
    Last Post: - 28th April 2011, 19:02
  4. OLED 128x128 color display
    By Ron Marcus in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 21st May 2007, 02:45
  5. LCDout Command w/ LCD 4x40 display
    By beto in forum mel PIC BASIC Pro
    Replies: 25
    Last Post: - 21st January 2005, 02:22

Members who have read this thread : 1

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts