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 - Ted_M

Pages: [1] 2 3 ... 6
1
TFTs / Re: Touch not working on NHD-5.0-800480TF-ATXL#_Rev1B
« on: March 15, 2019, 09:16:14 AM »
Hi Jeff,

The capacitive touchscreens used on the Rev1B version of the 5" TFT's are now using a new version of the Focaltech touch controler IC.

The FT5406 capacitive touch controller has reached end of life and was replaced by the FT5426 for new production touchscreens used on the Rev1B 5" TFTs.  The new controller has proven to be backwards compatible with existing systems based on internal testing.

Please review the datasheets for each controller for details.

FT5406 datasheet: http://www.newhavendisplay.com/appnotes/datasheets/touchpanel/FT5x06.pdf
FT5406 App Notes: https://www.newhavendisplay.com/appnotes/datasheets/touchpanel/FT5x06_registers.pdf

FT5426 datasheet: http://www.newhavendisplay.com/appnotes/datasheets/touchpanel/FT5x26.pdf
FT5426 App Notes:  https://www.newhavendisplay.com/appnotes/datasheets/touchpanel/FT5426_5526Application_Note_Ver0.1.pdf

Also, the Touch Panel's FPC has been redesigned to make it less susceptible to tearing and other damage from handling or assembly.

Please contact us at nhtech@newhavendisplay.com for additional support with this issue.

Bert Regards,

2
Graphic LCDs / Re: Blank screen on Display NHD-C128128BZ-FSW-GBW
« on: March 13, 2019, 12:55:36 PM »

The example code listed from your post is looking for a picture.h hex file with the image it will display.
Please try adding the hex code image file as picture.h or you can embed the hex code into your code.

Code: [Select]
code char picture [] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0xC0, 0x40, 0x20, 0x20, 0x20, 0x10, 0x90, 0x98,
0x88, 0x48, 0x44, 0x44, 0x44, 0x04, 0x04, 0x02, 0x22, 0x22, 0x22, 0x22, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x40, 0x40, 0x40, 0x00, 0x00, 0x00, 0x02, 0x02,
0x02, 0x06, 0x04, 0x04, 0x04, 0x08, 0x08, 0x18, 0x10, 0x10, 0x00, 0x20, 0x20, 0x40, 0x80, 0x80,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0xC0, 0x40, 0x80, 0x80, 0x60, 0xD0, 0x7C, 0x3E, 0x06, 0x00, 0x80, 0x80, 0x00, 0x40, 0x40,
0x20, 0x00, 0x80, 0x88, 0x05, 0x45, 0x63, 0x62, 0x20, 0x10, 0x11, 0x11, 0x08, 0x0C, 0x0C, 0x04,
0x00, 0x02, 0x02, 0x02, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x02, 0x02, 0x02, 0x02, 0x02, 0x04,
0x04, 0x0C, 0x0C, 0x08, 0x10, 0x10, 0x00, 0x20, 0x20, 0x40, 0x40, 0x00, 0x80, 0x80, 0x00, 0x00,
0x00, 0x01, 0x01, 0x02, 0x02, 0x04, 0x08, 0x10, 0x20, 0x20, 0x60, 0x00, 0x80, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
0x01, 0x00, 0x26, 0xC5, 0x27, 0x31, 0x18, 0x08, 0x84, 0x42, 0x20, 0x11, 0x18, 0x08, 0x06, 0x06,
0x02, 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
0x06, 0x04, 0x08, 0x10, 0x10, 0x20, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x06,
0x08, 0x08, 0x30, 0x40, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0xDF, 0x78, 0x5C, 0x40, 0x40, 0xC0, 0x10, 0x10, 0xE0, 0x10, 0xB8, 0x04, 0x0C, 0x48, 0x48,
0x18, 0x60, 0xE0, 0x18, 0x1C, 0x06, 0x03, 0x01, 0x20, 0x00, 0x18, 0x1C, 0x0C, 0x04, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
0x60, 0x18, 0x04, 0x00, 0x82, 0x01, 0x01, 0x01, 0x81, 0x81, 0x01, 0x81, 0x82, 0x80, 0x80, 0x80,
0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x02, 0x04, 0x18, 0x10, 0x00, 0x80, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x0C, 0x38, 0x60, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x0F, 0x0F, 0x0D, 0xC0, 0xC0, 0x87, 0x08, 0x08, 0x0F, 0x18, 0x20, 0x21, 0x20, 0x00, 0x00,
0x10, 0x06, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0E, 0x60, 0x40, 0x80, 0x00, 0x00, 0x08,
0x00, 0x00, 0x00, 0x00, 0x07, 0x08, 0x08, 0x10, 0xD1, 0xEF, 0x3F, 0x39, 0x50, 0xF0, 0xFE, 0x33,
0x11, 0x10, 0x10, 0x38, 0x2C, 0x2C, 0xC7, 0x06, 0x8C, 0x98, 0xF0, 0xE0, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x21, 0xC2,
0x18, 0x18, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x0E, 0x1E, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0xEC, 0xFD, 0xFE, 0xED, 0xE0, 0xF0, 0xF3, 0x38, 0xF3, 0xFC, 0xFE, 0xFE, 0xFE,
0xFE, 0xFE, 0xFE, 0xF2, 0xE4, 0xFC, 0xF0, 0xE0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x90, 0x80, 0x00, 0x00, 0x00, 0x01, 0x01, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1F, 0xE0, 0x60, 0x50, 0x3C, 0x43, 0x43, 0x04,
0x88, 0xE4, 0x74, 0x58, 0x0C, 0x04, 0x03, 0x03, 0x01, 0x01, 0x01, 0x01, 0x0E, 0x0E, 0x04, 0x84,
0x86, 0x04, 0x4C, 0x5C, 0x40, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x02, 0x06, 0x30, 0x83, 0x06, 0x60, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3C, 0x78, 0x00, 0x00,
0x00, 0xC0, 0xF0, 0xFE, 0xFF, 0xFF, 0x3F, 0xFF, 0xFF, 0xE1, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0x1F,
0x03, 0xE1, 0xE1, 0x19, 0xFF, 0xCF, 0x5F, 0x17, 0xEC, 0xF8, 0x60, 0x20, 0x10, 0x18, 0xCC, 0xFC,
0x46, 0xC4, 0x65, 0x45, 0x95, 0x8C, 0x87, 0x87, 0x4D, 0x59, 0x67, 0xC6, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x80, 0xC0, 0x60, 0x38, 0x1E, 0x1D, 0x0E, 0x06, 0x06, 0x02, 0x02, 0x01,
0x01, 0x00, 0x00, 0x00, 0x80, 0xC0, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x81, 0xC0, 0xE0, 0x20, 0x38, 0x79, 0xC7, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x01, 0x03, 0xE0, 0x03, 0x1E, 0xE0, 0x80, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00,
0xF8, 0x8F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC, 0x1F, 0x81, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFC, 0x8F, 0x0F, 0x81, 0x80, 0x63, 0x8E, 0x8F, 0x07, 0xC0, 0x82, 0x91, 0x51, 0x9C, 0xB5, 0x1C,
0x06, 0x89, 0x10, 0x0C, 0x02, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x06, 0x0C, 0x18,
0xD0, 0x1C, 0x07, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x80, 0xE0, 0xE0, 0x60, 0x30, 0x10, 0x1C,
0x0E, 0x86, 0xE7, 0x33, 0x1B, 0x0F, 0x07, 0x03, 0x01, 0x01, 0x01, 0x01, 0x03, 0x02, 0x8D, 0x75,
0xE4, 0xE7, 0xE3, 0xE3, 0x66, 0x44, 0x0C, 0x11, 0x22, 0x64, 0x4C, 0x98, 0x90, 0x20, 0x40, 0x80,
0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xF0, 0x00, 0x01, 0x1F, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00,
0x03, 0x3F, 0xFB, 0xDF, 0xFF, 0xFF, 0xFF, 0xF9, 0x3E, 0xFF, 0xFD, 0xFF, 0x7F, 0xBF, 0xFF, 0xFF,
0xFD, 0xFF, 0x7E, 0xF9, 0x3F, 0x19, 0xB9, 0xFC, 0xFE, 0x07, 0x19, 0x13, 0xFC, 0x23, 0x21, 0x21,
0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x78, 0x98, 0x38, 0x34, 0x3C, 0x3C, 0x3F,
0x11, 0x10, 0x90, 0x90, 0x08, 0xA8, 0xE8, 0x38, 0x06, 0x03, 0x01, 0x81, 0x30, 0x00, 0x00, 0x00,
0x00, 0x07, 0x00, 0x00, 0x80, 0xC0, 0x80, 0xF0, 0x28, 0x08, 0x4C, 0xEE, 0xA2, 0xE2, 0x65, 0xB8,
0x21, 0x63, 0x6F, 0x7F, 0x70, 0x20, 0x00, 0xFF, 0x00, 0x00, 0x00, 0x01, 0x01, 0xE2, 0x3E, 0x1C,
0x07, 0x07, 0x06, 0x02, 0x06, 0x06, 0x3C, 0xF8, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x2C, 0x00, 0x00, 0xFF, 0xFC, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0xE1, 0xFF, 0xFF, 0xFA, 0xFB, 0xFF, 0x9B, 0xFF, 0xFD, 0x7F, 0x7F, 0xFF, 0xFF,
0xFF, 0xE0, 0xE0, 0xE1, 0xA0, 0xA0, 0x9B, 0xB1, 0x89, 0xC7, 0x3A, 0x32, 0x3F, 0x60, 0x64, 0x44,
0x7F, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x04, 0x01, 0x01, 0x03, 0x1C, 0x60, 0x00, 0x00,
0x00, 0x02, 0x00, 0x00, 0xF9, 0x03, 0x01, 0x00, 0x02, 0x02, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x0F, 0x19, 0x03, 0x21, 0x40, 0x40, 0x40, 0x40, 0x23, 0x23, 0x1D, 0x72,
0xE1, 0x81, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x73, 0xE0, 0x60, 0x38, 0x06, 0x03, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x7F, 0xC1, 0x82, 0x0C, 0x18, 0x60, 0x84, 0x8C,
0x10, 0x00, 0x40, 0x84, 0x8C, 0x10, 0x6F, 0x00, 0x80, 0xC0, 0x3F, 0x01, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x3F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFE, 0xFE, 0x7F, 0x7F,
0xBF, 0xDF, 0xEF, 0x1F, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x70, 0x18, 0x07, 0x00, 0x80, 0x84, 0xFC, 0xE0, 0x00, 0x00, 0x00, 0x00, 0x08, 0x78,
0x60, 0x60, 0x60, 0x60, 0x20, 0x20, 0x20, 0x10, 0x10, 0x18, 0x08, 0x08, 0x06, 0x02, 0x00, 0x00,
0x01, 0x01, 0x00, 0xC0, 0xF8, 0x3E, 0x07, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7E, 0x1F, 0x00, 0x00, 0x01, 0x06, 0x06, 0xE0, 0x41, 0x01,
0x02, 0x06, 0x18, 0x61, 0xE1, 0x02, 0x0C, 0x18, 0x21, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x1F, 0x7F, 0xFF, 0xD7, 0xA5, 0x05, 0x07, 0x37, 0x8E, 0x9A, 0x43, 0x83,
0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x3E, 0x70, 0xC0, 0x80, 0x00, 0x23, 0x1F, 0x03, 0x00, 0x00, 0x80, 0x40, 0x60, 0x1C,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80,
0x40, 0x60, 0x30, 0x1C, 0x0C, 0x83, 0x40, 0x60, 0x20, 0x20, 0x98, 0x44, 0x46, 0x81, 0x04, 0x42,
0x10, 0x10, 0x00, 0x80, 0x80, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x03, 0x06, 0x0F, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x06, 0x07,
0x32, 0xC8, 0xD8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x06, 0x0E, 0x18, 0x18, 0x31, 0x20, 0x60, 0x60,
0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0x80, 0x80, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0,
0x40, 0x60, 0x60, 0x20, 0x30, 0x30, 0x30, 0x18, 0x08, 0x04, 0x06, 0x06, 0x06, 0x00, 0x01, 0x01,
0x00, 0x78, 0xDE, 0x86, 0x82, 0x21, 0x00, 0x00, 0x40, 0x20, 0x11, 0x84, 0xC0, 0x11, 0x08, 0xC6,
0x60, 0x31, 0x1C, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x06, 0x0D, 0x1B, 0x64, 0x64, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x01, 0x01, 0x02, 0x07, 0x04, 0x04, 0x04, 0x05, 0x04, 0x06, 0x03, 0x01, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x02, 0x04, 0x08, 0x18, 0x10, 0x20,
0x00, 0x40, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x12, 0x12, 0x02, 0x04, 0x08, 0x28, 0x28, 0x30, 0x30, 0x70,
0x70, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x60, 0x20, 0x20,
0x20, 0x20, 0x00, 0x00, 0x00, 0x00, 0x10, 0x18, 0x04, 0x04, 0x00, 0x02, 0x02, 0x00, 0x01, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
 

Here is the link to download the LCDAssist program that created the Hex code from the 128x128 bitmap image.  https://newhavendisplay.com/appnotes/excode/LCDAssistant.zip

Please let us know if this gets you going.

Best Regards,



3
Character LCDs / Re: RS232 not working
« on: March 07, 2019, 11:39:51 AM »
Hi Miles,

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

Best Regards,




4
Character LCDs / Re: RS232 not working
« on: March 07, 2019, 09:34:59 AM »
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,

5
Hi Josh,

Try changing the pixel clock polarity for the 5" TFT to see if that resolves this issue.

Best Regards,


6
Character LCDs / Re: Help Requested: Python Setup 763-NHD-0420CW-AW3
« on: February 27, 2019, 08:31:12 AM »
Thanks for posting the update.  Nice to see you have it working! 

Best Regards,

7
Character LCDs / Re: Weird contrast on NHD-0216HZ-FSW-FBW-33V3C?
« on: February 26, 2019, 09:06:51 AM »

I am uncertain as to what may have been causing this issue, but it's great to hear you have it working!
Murphy's law always finds a way to keep us scratching our heads.

Best Regards,

8
Character LCDs / Re: Weird contrast on NHD-0216HZ-FSW-FBW-33V3C?
« on: February 22, 2019, 10:00:37 AM »
Please review this 4-bit mode code for a 2x16 character display, and try it to see if it produces the same results.

Code: [Select]
/ This code is written for the Arduino Uno R3.
/ Newhaven Display invests time and resources providing this open source code,
/ Please support Newhaven Display by purchasing products from Newhaven Display!
/*****************************************************************************
* Copyright (c) 2018, Newhaven Display International
*
* This code is provided as an example only and is not guaranteed by Newhaven Display.
* Newhaven Display accepts no responsibility for any issues resulting from its use.
* The developer of the final application incorporating any parts of this
* sample code is responsible for ensuring its safe and correct operation
* and for any consequences resulting from its use.
*****************************************************************************/


/******** INITIAL DEFINITIONS***************/

#define E_Pin 10
#define R_W    9
#define R_S    8
/************************ CHAR STRING**********/

char const text1[] = ("Newhaven Display");
char const text2[] = (" 4-Bit LCD Test ");
char const text3[] = (" 2x16 Character ");
char const text4[] = ("  LCD  Display  ");

/************ Functions************/
void latch(){                           // command to latch E
  digitalWrite(E_Pin, HIGH);            // Latch
  delay(1);
  digitalWrite(E_Pin, LOW);
  delay(20);
}
void command(char i){
  PORTD = i;
  digitalWrite(R_S, LOW);               // Command
  digitalWrite(R_W, LOW);               // Write
  latch();                              // take upper 4 bits
  i = i<<4;                             // shift 4 bits
  PORTD = i;                            // Take lower 4 bits
  latch();
}
void data(char i){
  PORTD = i;
  digitalWrite(R_S, HIGH);              // Data
  digitalWrite(R_W, LOW);               // Write
  latch();                              // take upper 4 bits
  i = i<<4;                             // shift 4 bits
  PORTD = i;                            // Take lower 4 bits
  latch();
}
/***********INITIALIZE DISPLAY************************/

void init1(){
digitalWrite(E_Pin, LOW);
 delay(100);                            //Wait >15 msec after power is applied
 PORTD=0x30  ;                         // Put 30 on port D
 delay(30);                             //must wait 5ms, busy flag not available
 latch();                              //command 0x30 = Wake up
 delay(10);                             //must wait 160us, busy flag not available
 latch();                              //command 0x30 = Wake up #2
 delay(10);                             //must wait 160us, busy flag not available
 latch();                              //command 0x30 = Wake up #3
 delay(10);                             //can check busy flag now instead of delay
 PORTD = 0x20;                           //put 0x20 on the output port
 latch();                               //Function set: 4-bit interface
 command(0x28);
 command(0x28);                         //Function set: 4-bit/2-line
 //command(0x10);                         //Set cursor
 command(0x0F);                         //Display ON; Blinking cursor
 command(0x06);                         //Entry Mode set
}


void clear_screen(){                    // clear display
 command(0x01);
}
void ret_home(){                        // Return to home position
 command(0x02);
}
void disp1(){                            // DISPLAY TEXT
  clear_screen();
  ret_home();
  for( int i = 0; i< 16; i++){
    data(text1[i]);
  }
  command(0xc0);                              // Second Line
  for (int i = 0; i<16; i++){
    data(text2[i]);
  }
  //ret_home();
}
void disp2(){                            // DISPLAY TEXT
  clear_screen();
  ret_home();
  for( int i = 0; i< 16; i++){
    data(text3[i]);
  }
  command(0xc0);                              // Second Line
  for (int i = 0; i<16; i++){
    data(text4[i]);
  }
  //ret_home();
}
void setup() {
 
  DDRD = 0xFF; // First 4 pins of PORT D as output
  DDRB = 0xFF; // Port B first 3 pins as output
  digitalWrite(11, HIGH);
  digitalWrite(12, LOW);
  init1();
  delay(100);
}

void loop() {
 
  disp1();
  delay(2500);
  disp2();
  delay(2500);
}

Best Regards,

9
Character LCDs / Re: Help Requested: Python Setup 763-NHD-0420CW-AW3
« on: February 22, 2019, 09:23:14 AM »

Please check pins 17-19 for BS0 to BS2 on the display.  For an 8-bit parallel interface, pin 17 is tied low, pins 18 and 19 are tied high.

Best Regards,



10
The contrast control for this display is the main way to reduce the brightness.
The best way to reduce the image burn effects on a passive matrix OLED display is to provide even wear across all of the pixels. Any static image will,in time produce image burn effects as each of the organic pixels wear individually. Blanking the display or scrolling characters will help reduce the effects of uneven wear of the pixels.

Best Regards,

11
Character LCDs / Re: Weird contrast on NHD-0216HZ-FSW-FBW-33V3C?
« on: February 21, 2019, 02:12:55 PM »
Please confirm the voltage for VDD is 3.3v.  If the LED backlight is also connected to the same 3.3v source, please check the current drawn by the LED.
In order to provide a constant current source of 15mA to the LED backlight from the 3.3v supply, a 20 ohm resistor must be in series with the LED.
Otherwise, excessive current draw from the LED could have an effect on VDD and possibly be causing this issue.

Best Regards,

12
OLEDs / Re: Double Hight Font on a 763-NHD-0420CW-AW3 with Phyton on a Pi3b
« on: February 20, 2019, 09:43:43 AM »
The NHD-0420CW-AW3 OLED display has the US2066 controller/driver built in which does support Double-Height font characters.
The command table in the display's datasheet includes the instruction code on pg.8.

Please also refer to page 37 of the US2066 datasheet for more details. http://www.newhavendisplay.com/app_notes/US2066.pdf

See our Github for a US2066 library. https://github.com/NewhavenDisplay/NHD_US2066

Another Github link with python code for this display that may be useful:  https://github.com/wjskrydl/nhd-oled


Best Regards,

13
OLEDs / Re: 3D model - NHD-0216AW-IB3
« on: February 20, 2019, 08:11:42 AM »
I have sent you an email with the 3D model of this display.  We will be adding it to our website for future reference.

Best Regards,

14
Hi Alex,

This may be an issue with the resistive touchscreen itself.  Please contact us at customerservice@newhavendisplay.com in order to arrange a replacement.
Or visit the returns link: http://www.newhavendisplay.com/returns.html and refer to this forum post.

Best Regards,

15
Hi Alex,

Sorry to hear you are having this issue.  Does this only happen in the area of the F key?  Or will continuously pressing other keys result with similar results?
It may be related to the calibration of the touch screen, or possibly there is a defective zone on the touchscreen.  Please try loading some of the other example code to see if you get similar results and let us know what you find.

Best Regards,

Pages: [1] 2 3 ... 6