Author Topic: Flickering NHD-0220CW-AY3  (Read 1120 times)

eyarg

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Flickering NHD-0220CW-AY3
« on: November 15, 2016, 12:55:12 AM »
Hey NHD,

EDIT: after trying to catch the trigger for the flickering, I found it depends on the first char of the first line. a "tall" char causes flickering, a "short" char doesn't.
Common chars I found be "unharmful" are: acegmnopqrsuvwxyz-+=.
So far this theory is consistent. Anyone has a clue about the cause of it and maybe a solution?

Original:
The repetitive issue is that the display keeps flickering after some changing prints. The flicker is a row of dots for a split second and once it starts it won't stop until a power off then on. I still can't figure out the exact trigger that starts the flickering but it always eventually starts, and my application send new prints every 250 ms so that it starts pretty soon on system start.
My init routine is copied from the data sheet and is also compared to some examples from the web.
Here it is just in case:

RES = 1; //reset HIGH inactive
delayms(1); //delay
command(0x2A); //function set (extended command set)
command(0x71); //function selection A
data(0x00); // disable internal VDD regulator (2.8V I/O). data(0x5C) = enable regulator (5V I/O)
command(0x28); //function set (fundamental command set)
command(0x08); //display off, cursor off, blink off
command(0x2A); //function set (extended command set)
command(0x79); //OLED command set enabled
command(0xD5); //set display clock divide ratio/oscillator frequency
command(0x70); //set display clock divide ratio/oscillator frequency
command(0x78); //OLED command set disabled
command(0x08); //extended function set (2‐lines)
command(0x06); //COM SEG direction
command(0x72); //function selection B
data(0x00); //ROM CGRAM selection
command(0x2A); //function set (extended command set)
command(0x79); //OLED command set enabled
command(0xDA); //set SEG pins hardware configuration
command(0x10); //set SEG pins hardware configuration
command(0xDC); //function selection C
command(0x00); //function selection C
command(0x81); //set contrast control
command(0x7F); //set contrast control
command(0xD9); //set phase length
command(0xF1); //set phase length
command(0xDB); //set VCOMH deselect level
command(0x40); //set VCOMH deselect level
command(0x78); //OLED command set disabled
command(0x28); //function set (fundamental command set)
command(0x01); //clear display
command(0x80); //set DDRAM address to 0x00
command(0x0C); //display ON
delayms(100); //delay

Any and all ideas are welcome.

Thanks,
Eyar
« Last Edit: November 15, 2016, 06:56:33 AM by eyarg »

Saurabh_B

  • Administrator
  • Hero Member
  • *****
  • Posts: 355
  • Karma: 10
    • View Profile
Re: Flickering NHD-0220CW-AY3
« Reply #1 on: November 15, 2016, 03:34:52 PM »
Hi,

Do you have a limit as to how much current your VDD line could supply?

eyarg

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Flickering NHD-0220CW-AY3
« Reply #2 on: November 16, 2016, 12:04:18 AM »
Thanks for the reply, there is no such limit, can you elaborate on why is this relevant?

Saurabh_B

  • Administrator
  • Hero Member
  • *****
  • Posts: 355
  • Karma: 10
    • View Profile
Re: Flickering NHD-0220CW-AY3
« Reply #3 on: November 16, 2016, 03:10:50 PM »
The flickering can be caused by a lack of current being supplied to the voltage boosting circuit.

Would it be possible to record a video of the flickering that occurs?

eyarg

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Flickering NHD-0220CW-AY3
« Reply #4 on: December 07, 2016, 07:07:33 AM »
« Last Edit: December 07, 2016, 07:11:39 AM by eyarg »

 

NHD-0220CW-AB3 "doubling" data?

Started by GerryOBoard OLEDs

Replies: 2
Views: 1949
Last post October 25, 2015, 03:25:07 AM
by GerryO
NDH-0220CW: cursor not visible with text

Started by OSBoard OLEDs

Replies: 6
Views: 1117
Last post December 07, 2016, 08:04:04 AM
by Saurabh_B
NHD-0220CW-AY3 Upside down text

Started by psullivanBoard OLEDs

Replies: 3
Views: 1984
Last post July 24, 2015, 10:28:00 AM
by Saurabh_B
I2C Errors on NHD-0216CW-AB3 but not NHD-0220CW-AB3

Started by EricBoard OLEDs

Replies: 3
Views: 960
Last post December 08, 2016, 02:30:08 PM
by Michael_L
NHD-0220CW-AY3 Freeze after 12 hours

Started by eyargBoard OLEDs

Replies: 0
Views: 816
Last post March 09, 2017, 03:59:38 AM
by eyarg