Newhaven Display Forum

Newhaven Products => OLEDs => Topic started by: wreinhold on December 28, 2014, 04:22:50 PM

Title: damage from reversed power supply?
Post by: wreinhold on December 28, 2014, 04:22:50 PM
I'm using a NHD‐0420DZW‐AB5.  I've confirmed the initialization sequence with a logic analyzer but the display is not working.  I originally connected it with VDD and VSS reversed.  Could that have damaged the display?
Title: Re: damage from reversed power supply?
Post by: Michael_L on December 29, 2014, 04:13:25 PM
Connecting VDD and VSS backwards could result in a damaged unit.  Of course this is not always the case but in answer to your question, yes it may have damaged the display.  The longer it was connected this way, the more likely it damaged it.  When you say you have confirmed the initialization with a logic analyzer, have you confirmed the values, sequence, and timing?  Are you correctly attempting to write characters to the display?  It may be beneficial for you to try another display if possible.
Title: Re: damage from reversed power supply?
Post by: wreinhold on December 29, 2014, 09:40:27 PM
The display is not damaged, just extremely sensitive to timing.  I have it working finally, after many hours of shooting in the dark.  This is my second battle trying to get a Newhaven display unit working (one parallel, one serial) and I've won both of them, but the interface documentation certainly leaves quite a bit to be desired. 
Title: Re: damage from reversed power supply?
Post by: wreinhold on December 30, 2014, 06:52:28 AM
I tried implementing the example code Michael has posted on the forum but these displays seem to be very sensitive to timing and the platforms he develops on seem to have the timing characteristics necessary to make the displays work.  They haven't worked for me. 

After quite a bit of trial and error I've gotten this display to work in the default parallel 6800 mode and I've attached a logic analyzer capture file showing signal timing that works to initialize the display and write "Hello" in the middle of the second line of the display.   This file was captured with the Saleae Logic 1.1.34 Beta, which can be downloaded from the Saleae website (http://support.saleae.com/hc/en-us/articles/201589175).  I've had to rename it with a .jpg extension to get the forum software to accept it.  Change it to .logicdata to open it.

You'll notice there is no checking of the busy flag.  I tried but was not able to work out whatever timing is necessary to get a response from the display.  This works without it and unless I run into problems I'm sticking with it.

You'll also notice this allows a lot of time between writes (~1.2 ms).  I'm using the same delay for all commands, so it's likely these times can be shortened for everything except Clear Display.  It's mainly good to know I have a working display.