Questions regarding NHD‐0220DZW‐AY5 & NHD‐0420DZW‐AY5

Comments

3 comments

  • Saurabh_B

    Hi,

    The most similar controller inside the OLED display's is the ST7066U. The commands that are used for displays with this controller will be the same as the commands used by the OLED displays. The difference will be in the amount of time required to execute the commands or time to write the data onto the display.

    There is a sample initialization sequence on pages 20 and 21 in the datasheet of the display. At the same time any program used for the  ST7066U will work for this display; but the code would need to have the timing adjusted for the new display.
    The links for the datasheets for the OLED displays are here:
    https://newhavendisplay.com/content/specs/NHD-0420DZW-AY5.pdf 
    https://newhavendisplay.com/content/specs/NHD-0220DZW-AY5.pdf 


    When we say timing issue it usually refers to the time between consecutive commands or data writes to the display. For instance with the ST7066U many of the commands will have a max execution time of 37us, where as the OLED display will have a max execution time of 600us.

    If the time you give the commands to execute to the display are on the borderline of the max execution time the error wont occur at first, but over time you will start seeing various errors occur with the display such as a shift in the display.

    0
  • tseyfarth

    May I please have sample code for these?

    Thank you,
    Tim

    0
  • Saurabh_B
    These codes will work for the displays, they were written for the ST7066U controller; so you would need to increase some of the time between the instructions.
    8-bit C code: https://newhavendisplay.com/content/app_notes/8_bit_character_C.txt 
    4-bit Basic code: https://newhavendisplay.com/content/app_notes/4_bit_character.txt 

    If you want the serial code please email nhtech@newhavendisplay.com
    0

Please sign in to leave a comment.