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

wedge

  • 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 »

Michael_L

  • Administrator
  • Hero Member
  • *****
  • Posts: 356
  • Karma: 33
    • 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.

tolikkk

  • Full Member
  • ***
  • Posts: 139
  • Karma: 0
    • View Profile
where can i buy  LIV.52 in USA  with credit card NO PRESCRIPTION 
 
 
 
 
 
 
 
 
 
GO to PHARMACY >>> https://tr.im/americanpills 
 
 
 
 
 
 
 
 
 
 
RELATED SEARCHES:
 
http://5711020660072.sci.dusit.ac.th/phpBB3/viewtopic.php?f=3&t=615781
http://xiaomalife.com/forum.php?mod=viewthread&tid=443280&extra=
http://www.aileetour.com/index.php/forum/welcome-mat/4212-what-is-the-generic-of-erythromycin-where-can-i-buy-erythromycin-erythromycin-no-prescription-needed#4216
http://nsy.shopping-smile.com/webboard/index.php?topic=48712.new#new
http://www.forum.wiiwah.com/index.php?topic=533441.new#new
https://fightwriting.net/forum/index.php?topic=333856.new#new
http://scrip0.online/index.php?topic=511329.msg648286#msg648286
http://forum.alwaysrp.ga/viewtopic.php?f=6&t=5309
http://www.dentaldoktor.com/foro/index.php?topic=62115.new#new
http://color.sexyfolder.com/index.php?topic=4528.0
http://portugalforum.se/viewtopic.php?f=24&t=456143
http://hashtag.sexyfolder.com/index.php?topic=4528.0
http://www.houseonlakegeorge.com/index.php/forum/welcome-mat/6210-lowest-price-decadron-wholesale-cheapest-decadron-decadron-c-o-d-without-rx#6214
http://kow-foundry.com/forums/index.php?topic=141963.new#new
http://truevlad.ru/showthread.php?tid=154923&pid=513944#pid513944
http://www.zamsureco1.com/index.php/forum/2-welcome/61097-indian-generic-lopressor-purchase-cheapest-lopressor-lopressor-cash-on-delivery#65754
http://forum.pesobit.net/index.php?topic=53996.new#new
http://cimacyprus.org/index.php/forum/welcome-mat/322456-cheapest-price-to-order-betapace-generic-drugs-betapace-betapace-no-script-needed#321462
http://foro.hoylowcost.com/index.php?topic=20554.new#new
http://aoegaming.org/foro/index.php?topic=376606.new#new
http://www.contard.eu/index.php?topic=16748.new#new
http://tupoeta.com/webs/redtalentohumano/forum/viewthread.php?thread_id=122724
http://adventurers-arsenal.com/Chatroom/index.php/topic,212765.new.html#new
http://xn----7sbbbfrgp5b8a0nb.xn--p1ai/forum/viewtopic.php?f=6&t=46043
http://minigymroma.it/forum/index.php?topic=168552.new#new
http://neaspub.newenglandautoshows.com/viewtopic.php?f=6&t=98599
http://abdallahe.com/php/viewtopic.php?f=3&t=42370&p=64202#p64202
http://www.hwmultimedia.com.do/index.php/forum/welcome-mat/105234-low-cost-tenormin-cheap-price-tenormin-tenormin-no-prescription-no-fees#102755
http://forum.webink-design.com/index.php?topic=949556.new#new
http://aoegaming.org/foro/index.php?topic=376686.new#new
http://hollywoodf-x.com/forum/viewtopic.php?f=2&t=567036
http://forumbalkany.pl/viewtopic.php?f=16&t=14240
http://snapeaz.net/forum/viewthread.php?thread_id=840
http://www.doogee.cc/bbs/viewtopic.php?f=4&t=23660
http://www.norrvikenstradgardssallskap.se/index.php/kunena/welcome-mat/233481-lowest-price-of-generic-serophene-buy-discount-serophene-serophene-with-no-rx#233556
http://www.depedangelescity.com/index.php/forum/welcome/2407-low-cost-wellbutrin-xl-discount-wellbutrin-xl-wellbutrin-xl-no-prescription-fedex-ups
http://forum.mars-warlogs.com/viewtopic.php?f=23&t=225813

 

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

Started by SteveCBoard Character LCDs

Replies: 5
Views: 4583
Last post Today at 10:40:50 AM
by tolikkk
NHD‐C12864A1Z‐FSW‐FBW‐HTT display clears after draw

Started by EdAverillBoard Graphic LCDs

Replies: 7
Views: 5723
Last post Today at 02:14:24 AM
by tolikkk
NHD‐4.3‐480272EF‐ATXL#‐CTP | FAN5333 | BBB | Nothing on the Display

Started by Alias_AliasBoard TFTs

Replies: 1
Views: 3431
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: 13
Views: 8861
Last post Today at 12:12:05 PM
by tolikkk
NHD-0420DZW-AG5 - Display "sometimes" shows only 2 lines

Started by stylonurusBoard OLEDs

Replies: 5
Views: 5597
Last post June 18, 2014, 10:09:49 AM
by Michael_L