Author Topic: OLED Character display - Some commands don't work  (Read 6586 times)


  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
OLED Character display - Some commands don't work
« on: July 06, 2014, 12:52:19 AM »
I'm using a NHD-0216KZW-AY5 in 4-bit parallel mode, using the busy signal (not using blind delays).  The device initializes just fine, and prints text to the screen successfully.
However, the screen does not respond to the Clear Screen command, and the Move Cursor command.  It simply does nothing when those commands are sent.  There may or may not be other commands it's not responding to, but those are the only ones I've noticed.

If I swap out the screen for any other HD44780 compatible, and leave all other code and connections exactly the same, then everything is working perfectly.
« Last Edit: July 06, 2014, 11:27:41 AM by wedge »


  • Administrator
  • Hero Member
  • *****
  • Posts: 357
  • Karma: 34
    • View Profile
Re: OLED Character display - Some commands don't work
« Reply #1 on: July 08, 2014, 09:29:43 AM »
The display is HD44780 compatible, however there are some minor timing differences that sometimes need to be accounted for (depending on your micro).  I have replicated this with an Arduino, and have found that the busy flag will 'hang' after the clear display command if there is not a delay present after the command is sent (and before the busy flag is checked).  Please add a 2ms delay after sending this these commands, as this fixed the issue for me.


Blank Display on NHD‐C0220BiZ‐FS(RGB)‐FBW‐3VM

Started by SteveCBoard Character LCDs

Replies: 3
Views: 11393
Last post May 13, 2014, 12:04:36 AM
by SteveC
Display NHD-4.3-480272EF-ASXN#-T and NHD-4.3-480272EF-ASXN#-T revA

Started by rvalorBoard TFTs

Replies: 1
Views: 1250
Last post April 25, 2019, 03:35:10 PM
by Ted_M
NHD‐C12864A1Z‐FSW‐FBW‐HTT display clears after draw

Started by EdAverillBoard Graphic LCDs

Replies: 6
Views: 13592
Last post November 07, 2014, 08:25:20 AM
by Michael_L
NHD‐4.3‐480272EF‐ATXL#‐CTP | FAN5333 | BBB | Nothing on the Display

Started by Alias_AliasBoard TFTs

Replies: 1
Views: 9981
Last post September 25, 2015, 03:09:24 PM
by Paul_B
Arduino LCD library not working with newhaven display NHD‐0420H1Z‐FL‐GWB-3V3

Started by c2hollowBoard Character LCDs

Replies: 9
Views: 20452
Last post July 10, 2014, 08:46:06 AM
by Michael_L