RS232 not working

Comments

3 comments

  • Ted M.
    NHD Staff

    Hi Miles,

    The RS-232 signal must be 5V TTL compatible. Communication format is 8-bit data, 1 Stop bit, no parity, no hand-shaking.
    The default BAUD rate set for the display is 9600, and is changeable with a command function. Once the command to change the BAUD rate has been accepted, it will be saved in the display module memory for future communications.
    To change the default BAUD rate of the display, see page 8 of the datasheet. http://www.newhavendisplay.com/specs/NHD-0216K3Z-FL-GBW-V3.pdf
    Once the default speed has been changed, disconnect communications and reconnect at the new BAUD rate.

    Best Regards,

    0
  • miles

    Hi Ted,

    I can select 8 bit, 1 stop bit parity and handshaking in RealTerm. I can also select BAUD Rate. 9600 is perfectly fine for my application so I don't have any need to change it.


    When I hook an oscilloscope up to the RS232 feed (ground to ground and measure to the Rx), it sits around 0 until I try sending a packet via RealTerm. At that point it'll trigger the scope and the voltage will go to ~5v. As far as I know, this discribes 5V TTL.

    Any further thoughts?

    Miles

    0
  • Ted M.
    NHD Staff

    Hi Miles,

    The display will need to be initialized and programmed to print characters to the display. 
    Please refer to the example code https://newhavendisplay.com/content/app_notes/Serial_LCD.txt to help you get started.

    Best Regards,

    0

Please sign in to leave a comment.