Author Topic: NHD-0216K3Z-FL-GBW-V3 outputting 5V on data pin  (Read 1238 times)

Andrew_B

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
NHD-0216K3Z-FL-GBW-V3 outputting 5V on data pin
« on: December 04, 2016, 04:04:55 PM »
Hello,

I am using a NHD-0216K3Z-FL-GBW-V3 Serial LCD Module configured for RS-232 communication. Datasheet: http://www.mouser.com/ds/2/291/NHD-0216K3Z-FL-GBW-V3-35705.pdf

I have successfully transmitted data to the LCD using a PIC12 MPU (3.3V logic) on a breadboard. However, after soldering the components onto a protoboard, I discovered that my MPU was not functional and my LCD was outputting ~5V on its RS-232 serial data line (pin 1). There is no external connection between the data pin and the supply pin, so I suspect that there is an internal short-circuit that happened during soldering.

I have not been able to test the data communication because I have no extra PIC12s, but I'm willing to bet that a new PIC12 will break once it's connected to the 5V coming out of the LCD data pin.

So now I am trying to decide if I need to order a new LCD in addition to a new PIC12. Is there any reason, other than it being broken, that the LCD would output 5V on its data input pin? Thank you.

Paul_B

  • Administrator
  • Hero Member
  • *****
  • Posts: 251
  • Karma: 16
    • View Profile
Re: NHD-0216K3Z-FL-GBW-V3 outputting 5V on data pin
« Reply #1 on: December 05, 2016, 07:57:30 AM »
Iím sorry to hear about the trouble you are having with the NHD-0216K3Z-FL-GBW-V3. All displays are tested before they leave our facility, chances that it is DOA is fairly low.

First to enter the RS‐232 mode, both R1 and R2 should be open. Can you please confirm that both R1 and R2 are open on the back of the display?

Second, can you please confirm you are using matching the displays BAUD rate? By default the BAUD rate is 9600, and is changeable with a command function (see page 7 in the displays datasheet).
http://www.newhavendisplay.com/specs/NHD-0216K3Z-FL-GBW-V3.pdf

Third, the RS232 signal must be 5V TTL compatible, can you also confirm that this is what you are using for the communication?

Finally, can you provide me with a detailed pin-out diagram so I can verify your connections.
« Last Edit: December 05, 2016, 08:07:41 AM by Paul_B »

Andrew_B

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: NHD-0216K3Z-FL-GBW-V3 outputting 5V on data pin
« Reply #2 on: December 05, 2016, 02:10:32 PM »
Hi Paul, thanks for the response. R1 and R2 are open, and the baud rate for the program is 9600. I was able to get the LCD to display characters correctly on a breadboard, but my problems started after soldering the parts to a protoboard. Here's my schematic: http://imgur.com/a/PVzjX. Pin 3 of the LCD is supplied by a 5V Linear Regulator (U2 on the schematic), pin 2 is grounded, and pin 1 is connected to pin 3 of the PIC12 (U5).

I overlooked the fact that the RS232 signal should be 5V compatible. The PIC12 that I am using has 3.3 V logic levels. So that may be the problem. Still, the data communication worked earlier with the 3.3 V signal.

I ordered another LCD (the same one) and replaced my initial LCD, and I replaced my PIC12, but my programmer is still not detecting the PIC12. So, I will explore the possibility of wrong connections between the programmer and LCD. I should also note that the new LCD is outputting around 5V on the data input port (pin 1) as it was with my initial LCD, and I still don't know if this is a problem or not. Shouldn't this voltage be resting at zero if there is no connection to the PIC12?
« Last Edit: December 05, 2016, 02:36:38 PM by Andrew_B »

Andrew_B

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: NHD-0216K3Z-FL-GBW-V3 outputting 5V on data pin
« Reply #3 on: December 06, 2016, 05:17:02 PM »
Paul,

I replaced my 3.3V MPU with a 5V MPU and it solved my problems. There was nothing wrong with either LCD. I just overlooked the fact that the LCD required 5V logic. This would have been one of the first things I checked had the LCD not worked at all, but as I said, it was initially able to transmit the data with 3.3 V. Lesson learned: always read the datasheet thoroughly :) Thanks again for your help.

Paul_B

  • Administrator
  • Hero Member
  • *****
  • Posts: 251
  • Karma: 16
    • View Profile
Re: NHD-0216K3Z-FL-GBW-V3 outputting 5V on data pin
« Reply #4 on: December 07, 2016, 08:34:51 AM »
Glad to hear you got your display up and running!

Thanks for sharing your solution, it will definitely help others  :D

 

NHD-0220CW-AB3 "doubling" data?

Started by GerryOBoard OLEDs

Replies: 2
Views: 2031
Last post October 25, 2015, 03:25:07 AM
by GerryO
Demo code for NHD-0216K3Z-FS(RGB)-FBW-V3 module on an ATMEL ATtiny 2313A

Started by swulfBoard Customer Projects

Replies: 1
Views: 41
Last post December 11, 2017, 07:56:43 AM
by Paul_B
NHD-0216K3Z-FL-GBW-V3 losing/dropping characters

Started by SaintGimpBoard Character LCDs

Replies: 1
Views: 2983
Last post April 07, 2014, 08:57:01 AM
by Michael_L
LCD : NHD-0216K3Z-NSW-BBW-V3 -- Firmware version clarification

Started by amitattBoard Character LCDs

Replies: 1
Views: 2372
Last post August 26, 2014, 04:27:41 PM
by Michael_L
NHD-0216K3Z-FL-GBW-V3-C serial interface not working

Started by BobecBoard Character LCDs

Replies: 1
Views: 2022
Last post July 14, 2015, 08:49:25 AM
by Saurabh_B