Author Topic: NHD‐0220DZW‐AY5 loosing columns  (Read 1996 times)

tseyfarth

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
NHD‐0220DZW‐AY5 loosing columns
« on: August 05, 2015, 05:22:15 PM »
Hello all,

I am using an Atmel ATMEGA32A to drive an OLED -  NHD‐0220DZW‐AY5 (2x20 and 4x20).  The same code is also used to drive an LCD  NHD‐0220GZ‐FL‐GBW again, either a 2x20 or 4x20.  With the OLED, over time, characters are lost. Seems to be on the left side of the screen.  It takes several weeks for this to happen and only happens with the OLED.

For code development we use BASCOM by MCS Electronics.   
The enclosed screen shot shows the display - the top line is missing the "W"  for "Welcome"; the second line is missing the "T" for "Titan".  Over time, it gets worse with more characters missing from the left side.

Can anyone suggest what is wrong and how to fix it?
Thank you,
Tim

Saurabh_B

  • Administrator
  • Hero Member
  • *****
  • Posts: 356
  • Karma: 10
    • View Profile
Re: NHD‐0220DZW‐AY5 loosing columns
« Reply #1 on: August 06, 2015, 08:24:01 AM »
Hi,

This situation often occurs because of a timing error in the code, You mentioned you are using the same code as the NHD-0220GZ-FL-GBW, while they have the same commands, the OLED does require more time between instructions.

tseyfarth

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: NHD‐0220DZW‐AY5 loosing columns
« Reply #2 on: August 06, 2015, 12:48:25 PM »
How much time? 
Since you do not list the driver in the docs, maybe listing it *and* noting that t Time needs to be added between instructions would be beneficial.

Tim

Saurabh_B

  • Administrator
  • Hero Member
  • *****
  • Posts: 356
  • Karma: 10
    • View Profile
Re: NHD‐0220DZW‐AY5 loosing columns
« Reply #3 on: August 06, 2015, 03:39:01 PM »
Some instructions have a max execution time of up to 600us, while the write cycle has a minimum of 500ns. For the LCD display it takes a max of 37us for some instructions.

NHD-0220DZW-AY5 Datasheet

 

Calculation of Font Addresses Multi‐Font Displays Help!

Started by BluesboyBoard OLEDs

Replies: 6
Views: 3606
Last post September 11, 2015, 10:54:16 AM
by Saurabh_B
NHD-2.7-12864UCY3 yellow columns occur under ascii characters

Started by bsoyerBoard OLEDs

Replies: 7
Views: 4188
Last post August 26, 2015, 11:02:25 AM
by tracyb
NHD-0220DZW-AY5, spi, beaglebone

Started by msp-ssiBoard OLEDs

Replies: 3
Views: 3010
Last post November 10, 2014, 02:33:43 PM
by msp-ssi
NHD‐0216PZ‐FL‐YBW

Started by oldhippyBoard Graphic LCDs

Replies: 1
Views: 2206
Last post January 23, 2015, 09:37:27 AM
by Michael_L
NHD‐0420DZW‐AB5 Lines

Started by RickJBoard OLEDs

Replies: 1
Views: 2287
Last post January 09, 2015, 04:18:32 PM
by Michael_L