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.


Topics - chughes

Pages: [1]
1
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.

Pages: [1]