Author Topic: Trouble with serial interface on NHD-0420D3Z-FL-GBW-V3  (Read 2915 times)

chughes

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Trouble with serial interface on NHD-0420D3Z-FL-GBW-V3
« on: September 17, 2015, 03:24:35 PM »
I connected this screen to my PC using a USB to Serial interface, custom DB9 connector wired as shown in the manual. I am using RealTerm to send hex numbers to the screen and I get characters that don't match up with what is on the chart. For example I send 0x21 and screen prints 'u', 0x22  = ':', 0x23 = 't'.
One post mentioned to make sure voltage is at TTL level. See attached for how I have it wired up. On J1 I have Pin1 connected to Pin 3 on the DB9 (rs-232 TX), Pin 2 connected to DB9 Pin 5 (GND) and Pin 3 connected to 5VDC which I get from a different USB cable I have cut and stripped. I measure 5.08 V across pins 2 & 3 on J1.
After playing around with it for awhile and getting characters (but not the right ones) I may have fried it because now it only shows the characters shown on the screen and no longer responds to any commands. I ordered another one which I should receive tomorrow. Let me know what I may be doing wrong. I am testing now but I would ultimately like to have an Opto22 PAC controller sending messages to the screen.
« Last Edit: September 17, 2015, 03:48:39 PM by chughes »

Paul_B

  • Administrator
  • Sr. Member
  • *****
  • Posts: 248
  • Karma: 16
    • View Profile
Re: Trouble with serial interface on NHD-0420D3Z-FL-GBW-V3
« Reply #1 on: September 24, 2015, 07:53:27 AM »
Hello chughes!

Iím sorry to hear about the trouble you are having with NHD-0420D3Z-FL-GBW-V3.

To start off can you please post a screen capture of your terminal log.

Finally have you received your second display? If so can you please confirm the operation status.

Thanks!

chughes

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Trouble with serial interface on NHD-0420D3Z-FL-GBW-V3
« Reply #2 on: September 24, 2015, 03:23:29 PM »
I attached the serial port setup screen, and the send screen where I send an 'A' by clicking the Send Ascii button. The output on the screen is an underline symbol. The double vertical lines always appear when I first power it up.

chughes

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Trouble with serial interface on NHD-0420D3Z-FL-GBW-V3
« Reply #3 on: September 28, 2015, 05:12:14 PM »
Okay, in case any other amatuers find this thread I solved my own problem. It turns out PC's serial ports use RS-232, but the voltage for a HIGH signal is negative (on my computer it's about -6V). I need a chip to translate the PC's RS-232 signal to TTL logic levels. I found this useful post about it:
https://www.sparkfun.com/tutorials/215 using a MAX232 chip to convert PC rs-232 to TTL levels the display will be able to use.

Paul_B

  • Administrator
  • Sr. Member
  • *****
  • Posts: 248
  • Karma: 16
    • View Profile
Re: Trouble with serial interface on NHD-0420D3Z-FL-GBW-V3
« Reply #4 on: September 29, 2015, 11:16:48 AM »
Glad to hear you got your display up and running!

Thank you for sharing your solution  ;)

 

NHD‐0420CW‐AB3 I2C Interface

Started by andersonpdBoard OLEDs

Replies: 1
Views: 2630
Last post January 23, 2015, 10:00:06 AM
by Michael_L
NHD‐0420DZW‐AY5 SPI Interface

Started by vinaykBoard OLEDs

Replies: 0
Views: 2046
Last post October 26, 2015, 05:13:10 AM
by vinayk
NHD‐3.12‐25664UMB3 3 or 4 wire interface

Started by cliffgBoard OLEDs

Replies: 1
Views: 2481
Last post February 13, 2015, 04:43:21 PM
by Michael_L
NHD-2.4-240320CF-CTXI#-FT (ST7789S controller) and STM32F4 FSMC LCD Interface

Started by deshayesBoard TFTs

Replies: 1
Views: 2663
Last post March 17, 2016, 06:25:18 PM
by fahad
7.0" TFTs with capacitive Touch and 8080 interface availability?

Started by gdoraisaBoard TFTs

Replies: 1
Views: 1214
Last post June 30, 2016, 07:54:11 AM
by Saurabh_B