NHD-0216SZW-BG5 compatibility?

Comments

3 comments

  • Michael_L
    The first thing that comes to mind for me is the timing.  The OLED has slightly different timing than the LCD (this can be seen in the datasheets for the displays, specifically the command tables).  One main difference is the clear display command.  With the OLED, you need a minimum of 2ms delay after executing this command.  The other commands have slightly higher execution times as well, so these would also need to be accounted for if the requirements are not being met.

    Also, can you make sure pin 3 is left as a no connect?  The same goes for pins 15&16.  You should not need to change any jumpers, as the OLED comes default as 6800 mode like the LCD.
    0
  • w1jsb
    Hi Michael,

    Thank you for the reply and help. Pins 15 & 16 are no connect, and I also disconnected pin 3 with no luck. You are probably right about the timing. If that is the case, do you know of a way to make it work? Is there a way to compensate for the timing differences? It would be nice to use the beautiful OLED display for my project(s), if possible - I was eager to see the fast responsiveness compared to LCD. If not, that is fine, I'll just stay with using the LCDs.

    Thanks again for your help,
    Best regards,
    Hanz
    0
  • Michael_L
    You can compensate for the timing differences by adding some delays after your writes, but more importantly, start with the commands that have the longest execution time (such as the clear display command). If you're lucky, this might be the only timing difference you need to account for. It all depends on how fast your system is writing to the display. To view the execution times of the OLEDs commands, refer to our datasheet for the display. You may compare those times with that of the LCD by looking at the LCD controller's datasheet here: http://www.newhavendisplay.com/app_notes/ST7066U.pdf (see page 17)
    Also, refer to the timing characteristics on page 33 of the above ST7066U datasheet, compared with page 11 of the OLED's datasheet. You will notice the commands between the 2 are are just about identical, but the timing is not.
    0

Please sign in to leave a comment.