Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - chughes

Pages: [1]
Character LCDs / Re: Trouble with serial interface on NHD-0420D3Z-FL-GBW-V3
« 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: using a MAX232 chip to convert PC rs-232 to TTL levels the display will be able to use.

Character LCDs / Re: Trouble with serial interface on NHD-0420D3Z-FL-GBW-V3
« 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.

[attachment deleted by admin]

Character LCDs / 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.

[attachment deleted by admin]

Pages: [1]