OLED Display Noise problem


Closed Thread
Results 1 to 25 of 25

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Location
    West Covina, CA
    Posts
    219


    Did you find this post helpful? Yes | No

    Default Re: OLED Display Noise problem

    Hi,

    I would suggest writing to the LCD only when you need to update the display info.
    Constantly writing to it in a loop without any kind of delay may be causing the problem.

    Code:
    pause 500
                            
    lcdout $FE,$28
    lcdout $FE,$17
    lcdout $FE,$06
    lcdout $FE,$08
    lcdout $FE,$01
    lcdout $FE,$02
    lcdout $FE,$0C
    lcdout $FE,$80,"BU BiR DENEMEDiR"
    LCDOUT $FE,$C0,"  iKiNCi SATIR  "
    
    
    Main:
     Do stuff
     IF something_new THEN Update_LCD
    
    GOTO Main
    
    
    Update_LCD:
    
     lcdout $FE,$80,"BU BiR DENEMEDiR"
     LCDOUT $FE,$C0,"  New data  "
    
    GOTO Main
    Louie

  2. #2
    Join Date
    Dec 2012
    Location
    Türkiye
    Posts
    103


    Did you find this post helpful? Yes | No

    Default Re: OLED Display Noise problem

    Quote Originally Posted by LinkMTech View Post
    Hi,

    I would suggest writing to the LCD only when you need to update the display info.
    Constantly writing to it in a loop without any kind of delay may be causing the problem.

    Code:
    pause 500
                            
    lcdout $FE,$28
    lcdout $FE,$17
    lcdout $FE,$06
    lcdout $FE,$08
    lcdout $FE,$01
    lcdout $FE,$02
    lcdout $FE,$0C
    lcdout $FE,$80,"BU BiR DENEMEDiR"
    LCDOUT $FE,$C0,"  iKiNCi SATIR  "
    
    
    Main:
     Do stuff
     IF something_new THEN Update_LCD
    
    GOTO Main
    
    
    Update_LCD:
    
     lcdout $FE,$80,"BU BiR DENEMEDiR"
     LCDOUT $FE,$C0,"  New data  "
    
    GOTO Main
    Thanks for your response .But what if I need to display some sort of ADC reading which requires an instant update on the lcd continuously ?? You know how fast those readings may change ...
    - Ipsa scientia potestas est -

  3. #3
    Join Date
    Nov 2007
    Location
    West Covina, CA
    Posts
    219


    Did you find this post helpful? Yes | No

    Default Re: OLED Display Noise problem

    You can only "see" so fast before it becomes a blur.
    Try adding a PAUSE 33 in your main loop as it is, making it 30fps, just to test if the ghost dots go away.
    Louie

  4. #4
    Join Date
    Dec 2012
    Location
    Türkiye
    Posts
    103


    Did you find this post helpful? Yes | No

    Default Re: OLED Display Noise problem

    Quote Originally Posted by LinkMTech View Post
    You can only "see" so fast before it becomes a blur.
    Try adding a PAUSE 33 in your main loop as it is, making it 30fps, just to test if the ghost dots go away.
    Tried but still no luck
    - Ipsa scientia potestas est -

  5. #5
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    967


    Did you find this post helpful? Yes | No

    Default Re: OLED Display Noise problem

    Have you got your decoupling capacitors on board?

  6. #6
    Join Date
    Dec 2012
    Location
    Türkiye
    Posts
    103


    Did you find this post helpful? Yes | No

    Default Re: OLED Display Noise problem

    Quote Originally Posted by Jerson View Post
    Have you got your decoupling capacitors on board?
    Yes I have tried a several values of capacitors even those large capacitors around 470uf and smaller ones and also together but it doesn't help ..
    - Ipsa scientia potestas est -

  7. #7
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: OLED Display Noise problem

    Try something like this
    Code:
    pause 500
                            
    lcdout $FE,$28
    lcdout $FE,$17
    lcdout $FE,$06
    lcdout $FE,$08
    lcdout $FE,$01
    lcdout $FE,$02
    lcdout $FE,$0C
    
    lcdout $FE,$80,"BU BiR DENEMEDiR"
    LCDOUT $FE,$C0,"  iKiNCi SATIR  "
    
    Main:
    GOTO Main
    And remove everything from board except power supply, PIC and LCD. Add 10uF, 100nF, 10nF capacitors to LCD power pins, preferably use SMD.
    If problem still persist then problem is in LCD. Or it can be "dirty" power supply. You didn't post schematic, so...

    You said that you need to display data as fast as possible. If that is really what you need, then use 7 segment led display. And you can get 3-4K FPS, but then you need super human to read that.
    If only regular humans will read display then more then 4 or 5 updates is more then enough.
    Look at multimeter Display Digital: 6,000 counts, updates 4 per second
    http://en-us.fluke.com/products/digi...html#techspecs
    Last edited by pedja089; - 29th May 2016 at 12:23.

Similar Threads

  1. Winstar OLED Display Problem with lcdout comands
    By bubbleless in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 31st December 2019, 05:53
  2. Help With OLED Display / 128X64 SSD1306
    By Denner in forum General
    Replies: 6
    Last Post: - 25th May 2013, 15:40
  3. Problem with GOSUB/GOTO and Newhaven OLED question
    By Christopher4187 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 12th April 2013, 10:24
  4. Pretty Sure a Noise Problem
    By Tobias in forum General
    Replies: 3
    Last Post: - 10th December 2009, 00:46
  5. OLED 128x128 color display
    By Ron Marcus in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 21st May 2007, 01:45

Members who have read this thread : 0

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