NHD-0420D3Z-NSW-BBW-V3 how to interface

Comments

3 comments

  • Michael_L

    Those register assignments are for the micro being used to drive the display, not the PIC16F690.  Those lines of code are properly setting up the RS232 on that particular micro.  For your MCU, this will be different.

    Please make sure of the following:

    1) R1 and R2 are open.
    2) Your RS232 signal is TTL (0V, 5V).
    3) Communication format is 8-bit data, 1 stop bit, no parity, no hand shaking.
    4) You are allowing for the execution times for each command (certain commands such as cursor home and clear screen have longer execution times).

    0
  • atalanta

    Unfortunately my RS232 signal is 0V- 3.3V!

    So i have to use SPI or I2C and place a jumper on R2 or R1??

    0
  • Michael_L
    Yes, to use the SPI or I2C interface you would short the appropriate jumper as indicated on page 4 of the datasheet.
    0

Please sign in to leave a comment.