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
1
Character LCDs / Re: NHD-C0216CZ-NSW-BBW-3V3 Boost Circuit
« on: September 13, 2018, 04:25:28 PM »
What value are the capacitors connected to pins 8,9, and 10?

Regards,

Ted

2
OLEDs / Re: 3D model - NHD-0216AW-IB3
« on: August 27, 2018, 08:34:01 AM »
I'm sending you an email with the STEP file attached.

Regards,
Ted

3
TFTs / Re: API_VERTEX_TRANSLATE_X(250*16); is not working
« on: August 02, 2018, 10:12:27 AM »
Hi Sachin,

Please check the display settings in main.c and confirm they are configured for the 320x240 resolution.  These parameter names are from our Arduino example code for the 3.5" EVE2 module and are specified differently in the FTDI main.c file but you may use the values pertaining to each setting.

Code: [Select]
  /* Values specific to QVGA LCD display */
  FT_DispWidth = 320;
  FT_DispHeight = 240;
  FT_DispHCycle =  408;
  FT_DispHOffset = 70;
  FT_DispHSync0 = 0;
  FT_DispHSync1 = 10;
  FT_DispVCycle = 263;
  FT_DispVOffset = 13;
  FT_DispVSync0 = 0;
  FT_DispVSync1 = 2;
  FT_DispPCLK = 8;
  FT_DispSwizzle = 2;
  FT_DispPCLKPol = 0;
  FT_DispCSpread = 1;
  FT_DispDither = 1;

#endif

Here is a link to our example code on Github for further reference:
https://github.com/NewhavenDisplay/EVE2-TFT-Modules/tree/master/3.5in/Capacitive/FT_App_Graph/Project/Arduino/FT_App_Graph

Regards,

Ted

4
OLEDs / Re: NHD-0420CW Display Upside Down
« on: August 01, 2018, 05:03:49 PM »
No worries, just glad to hear you have it working. :)

5
OLEDs / Re: NHD-0420CW Display Upside Down
« on: August 01, 2018, 09:54:21 AM »
Hi Charles,

Try running the full display initialization sequence before writing the string of characters:

Code: [Select]
void init()
{
RES = 1; //reset HIGH inactive
delayms(1); //delay
command(0x2A); //function set (extended command set)
command(0x71); //function selection A
data(0x00); // disable internal VDD regulator (2.8V I/O). data(0x5C) = enable regulator (5V I/O)
command(0x28); //function set (fundamental command set)
command(0x08); //display off, cursor off, blink off
command(0x2A); //function set (extended command set)
command(0x79); //OLED command set enabled
command(0xD5); //set display clock divide ratio/oscillator frequency
command(0x70); //set display clock divide ratio/oscillator frequency
command(0x78); //OLED command set disabled
command(0x09); //extended function set (4-lines)
command(0x06); //COM SEG direction
command(0x72); //function selection B
data(0x00); //ROM CGRAM selection
command(0x2A); //function set (extended command set)
command(0x79); //OLED command set enabled
command(0xDA); //set SEG pins hardware configuration
command(0x10); //set SEG pins hardware configuration
command(0xDC); //function selection C
command(0x00); //function selection C
command(0x81); //set contrast control
command(0x7F); //set contrast control
command(0xD9); //set phase length
command(0xF1); //set phase length
command(0xDB); //set VCOMH deselect level
command(0x40); //set VCOMH deselect level
command(0x78); //OLED command set disabled
command(0x28); //function set (fundamental command set)
command(0x01); //clear display
command(0x80); //set DDRAM address to 0x00
command(0x0C); //display ON
delayms(100); //delay
}

Regards,

Ted

6
TFTs / Re: FT5x06 Sensitivity for 4mm glass cover
« on: July 19, 2018, 01:39:03 PM »
The sensitivity of the touchscreen would be controlled by adjusting the values in the registers in the Focaltech CTP controller.
The registers are 80h, 81h, and 82h found on page 9 of the NHD-7.0-800480EF-ASXN-CTP Datasheet:

http://www.newhavendisplay.com/specs/NHD-7.0-800480EF-ASXN-CTP.pdf

Here is a link to the Focaltech datasheet:
http://www.newhavendisplay.com/appnotes/datasheets/touchpanel/FT5x06.pdf

And the link to Application Notes with more details to program the registers:
http://www.newhavendisplay.com/appnotes/datasheets/touchpanel/FT5x06_registers.pdf


7
Character LCDs / Re: NHD-0112BZ-FL-YBW not displaying all characters
« on: June 26, 2018, 09:39:09 AM »
Hi Bruce,

Use lcd.begin(12,1).  D0 - D3 can be left open.

When the display is powered on, it is by default in 8-bit mode and therefore the 4-bit data must be transferred twice. After 2 more 4-bit operations, transfer the busy flag and address counter data.

From the ST7066U datasheet:

For 4-bit interface data, only four bus lines (DB4 to DB7) are used for transfer. Bus lines DB0 to DB3
are disabled. The data transfer between the ST7066U and the MPU is completed after the 4-bit data has
been transferred twice. As for the order of data transfer, the four high order bits (for 8-bit operation, DB4 to
DB7) are transferred before the four low order bits (for 8-bit operation, DB0 to DB3). The busy flag must be
checked (one instruction) after the 4-bit data has been transferred twice. Two more 4-bit operations then
transfer the busy flag and address counter data.

http://www.newhavendisplay.com/appnotes/datasheets/LCDs/ST7066U.pdf

For further details, also see Table 12 on pg 42 of the HD44780U driver for writing to a 1 line display with 4-bit operation.

http://www.newhavendisplay.com/appnotes/datasheets/LCDs/HD44780.pdf

Regards,

8
Graphic LCDs / Re: ALL DISPLAYS USING FFC CABLE AND CONNECTORS
« on: June 26, 2018, 09:02:24 AM »
Thanks Jim!

Please see our complete line of breakout and adapter boards for FFC ribbon connectors. We also have various pitch SMT and thru-hole adapter boards:

http://www.newhavendisplay.com/development-tools-adapters-and-breakouts-c-979_982.html

Regards,

9
Character LCDs / Re: NHD-0112BZ-FL-YBW not displaying all characters
« on: June 26, 2018, 08:49:58 AM »
Hi Bruce,

The ST7066U driver in the NHD-0112BZ-FL-YBW character display is compatible with the HD44780 driver and should be working with the LiquidCrystal.h library.
If the code is configured for 4-bit communication, try grounding the R/W pin 5 on the display.

Regards,

10
TFTs / Re: NHDev board and NHD-1.8-128160EF-CTXI#-FT
« on: June 18, 2018, 10:29:04 AM »
Hi Steve,

It's good to hear you have found the answer.
The latest version of our product catalog referenced in your post can also be found on our website here: http://www.newhavendisplay.com/nhd_catalog.html

The NHDev board supported display listing is on the same page 3-1.

Thanks and Best Regards,
Ted

11
TFTs / Re: Raspberry Pi driver for 1.8" and 2.4" TFT models
« on: June 14, 2018, 08:28:33 AM »
Thanks for posting the drivers for the Rasberry Pi!  They will be very useful for many users. 
We look forward to seeing more of your postings in the future.

Best Regards,

12
TFTs / Re: SPI problem with NHD-3.5-320240FT-CSXN-CTP
« on: June 12, 2018, 08:35:50 AM »
Hi Rainer,

Please email me the source code you are using with the FTDI MPSSE adapter as well as the wiring diagram for the display interface and we will review them to see if we can help determine what is causing the stability issue you are seeing.  tmellenthin@newhavendisplay.com

Best Regards,

Ted

13
TFTs / Re: SPI problem with NHD-3.5-320240FT-CSXN-CTP
« on: June 11, 2018, 11:22:44 AM »
Hi Rainer,

Please take a look at the Github libraries posted on this forum by lightcalamar using our EVE2 boards and running with other hardware platforms.
https://www.newhavendisplay.com/NHD_forum/index.php/topic,8447.0.html
These may be of help as a reference to get the SPI working with the Tiva micro. Please let us know if this library is helpful to get you going.

Ted

14
Hi Lightcalamar,

Thanks to you and the MexSpa Team for sharing the library!   

Best Regards,

15
Graphic LCDs / Re: NHD-C12864B2Z-RN-FBW on Arduino Zero
« on: May 21, 2018, 12:00:37 PM »
Hi Casey,

Have you been able to resolve this?

Pages: [1] 2 3