Author Topic: NHD-2.8-25664 OLED Display  (Read 3217 times)

riaz

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
NHD-2.8-25664 OLED Display
« on: September 08, 2014, 10:57:39 AM »
hi everyone,

i am using an oled in my project but am have great difficulty in getting it to work.

i am using parallel 6800 interface.

i can send command oxA4  and the display goes all blank.
i then send command 0xA5 and display all lit.

i have used the init sequence as per data sheet and i get display showing some pixels while other and un-lit (semi random).

i have noticed,  after sending data (instruction)  the next command instruction is ignored. this leads me to thinks there is problem with my sending data command.

i can't see much difference between command and data instruction except the DC line.

i have  run Checkerboard_25664() and i get nothing.

please help

many thanks

riaz

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: NHD-2.8-25664 OLED Display
« Reply #1 on: September 08, 2014, 11:08:52 AM »
when i said the screen has some pixels lit (randomly) it actually looks much like The Matrix screen saver.

Michael_L

  • Administrator
  • Hero Member
  • *****
  • Posts: 356
  • Karma: 33
    • View Profile
Re: NHD-2.8-25664 OLED Display
« Reply #2 on: September 09, 2014, 08:49:53 AM »
Since you said you are sending commands that work, followed by ones that don't, it leads me to believe that your timing is too fast.  Try either slowing down your program speed (easiest way initially) or trying adding delays after your write functions.

riaz

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: NHD-2.8-25664 OLED Display
« Reply #3 on: September 10, 2014, 05:45:17 AM »
thanks for your response.

if anything, timings are too slow (in ms) i will speed this up later.
i have since my previous post, modified my hardware and s/w for test purposes, to 4 wire spi. that works fine. i'm displaying stuff on the screen.

however i would like to use the parallel interface.
the only thing i can think of it that i have tied RES (high) and CS(low). i am not controlling those pins (lack of i/os at present). could that be the problem?

Michael_L

  • Administrator
  • Hero Member
  • *****
  • Posts: 356
  • Karma: 33
    • View Profile
Re: NHD-2.8-25664 OLED Display
« Reply #4 on: September 11, 2014, 08:04:17 AM »
Having the RES line pulled HIGH should be ok.  However, you will need to use the CS signal each time you write.  Ex: pull it low before the write cycle, and bring it back high after.

riaz

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: NHD-2.8-25664 OLED Display
« Reply #5 on: September 12, 2014, 06:39:11 AM »
i will give that a go, just as soon as i can, and will report back

many thanks

 

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

Started by SteveCBoard Character LCDs

Replies: 3
Views: 4544
Last post May 13, 2014, 12:04:36 AM
by SteveC
NHD‐C12864A1Z‐FSW‐FBW‐HTT display clears after draw

Started by EdAverillBoard Graphic LCDs

Replies: 6
Views: 5682
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: 3386
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: 8781
Last post July 10, 2014, 08:46:06 AM
by Michael_L
NHD-0420DZW-AG5 - Display "sometimes" shows only 2 lines

Started by stylonurusBoard OLEDs

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