Recent Posts

Pages: 1 ... 8 9 [10]
91
OLEDs / Re: Characters Mirrored on NHD-0420CW Display
« Last post by Saurabh_B on September 13, 2017, 03:53:40 PM »
From the Photo it looks like the segments are going backwards.

Can you try sending a 0x2A (Function Set, RE = 1)
followed by the Entry mode set(0b000001XY) where y could be a 0 or 1, this should stop the mirroring on the display.
92
OLEDs / Re: Characters Mirrored on NHD-0420CW Display
« Last post by garryg on September 13, 2017, 12:27:07 PM »
Photo attached
93
OLEDs / Re: Characters Mirrored on NHD-0420CW Display
« Last post by Saurabh_B on September 13, 2017, 09:05:59 AM »
Would it be possible to get a picture of what you are seeing?
94
OLEDs / Re: Not able to interface display with AT32UC3C0128C (32bit Microcontroller)
« Last post by Saurabh_B on September 13, 2017, 08:43:16 AM »
Hello Nathan,

You can find an example for this display here: https://github.com/NewhavenDisplay/NHD_US2066

Can you tell me what interface you plan to use and do you have a schematic for how you are connecting the display?
95
OLEDs / Characters Mirrored on NHD-0420CW Display
« Last post by garryg on September 13, 2017, 03:23:09 AM »
Hi,

Using an NHD-0420CW display with I2C interface, characters are mirrored, and start from right to left on top line of display.
I have used the initialization sequence from the data sheet as follows:

I2C_LCD_WriteControl(0x2A); //function set (extended command set)
I2C_LCD_WriteControl(0x71); //function selection A
I2C_LCD_WriteData(0x5C);     // disable internal VDD regulator (2.8V I/O). data(0x5C) = enable regulator (5V I/O)
I2C_LCD_WriteControl(0x28); //function set (fundamental command set)
I2C_LCD_WriteControl(0x08); //display off, cursor off, blink off
I2C_LCD_WriteControl(0x2A); //function set (extended command set)
I2C_LCD_WriteControl(0x79); //OLED command set enabled
I2C_LCD_WriteControl(0xD5); //set display clock divide ratio/oscillator frequency
I2C_LCD_WriteControl(0x70); //set display clock divide ratio/oscillator frequency
I2C_LCD_WriteControl(0x78); //OLED command set disabled
I2C_LCD_WriteControl(0x09); //extended function set (4-lines)
I2C_LCD_WriteControl(0x06); //COM SEG direction
I2C_LCD_WriteControl(0x72); //function selection B
I2C_LCD_WriteData(0x00);    //ROM CGRAM selection
I2C_LCD_WriteControl(0x2A); //function set (extended command set)
I2C_LCD_WriteControl(0x79); //OLED command set enabled
I2C_LCD_WriteControl(0xDA); //SEG
I2C_LCD_WriteControl(0x10); //SEG
I2C_LCD_WriteControl(0xDC); //function selection C
I2C_LCD_WriteControl(0x00); //function selection C
I2C_LCD_WriteControl(0x81); //set contrast control
I2C_LCD_WriteControl(0x7F); //set contrast control
I2C_LCD_WriteControl(0xD9); //set phase length
I2C_LCD_WriteControl(0xF1); //set phase length
I2C_LCD_WriteControl(0xDB); //set VCOMH deselect level
I2C_LCD_WriteControl(0x40); //set VCOMH deselect level
I2C_LCD_WriteControl(0x78); //OLED command set disabled
I2C_LCD_WriteControl(0x28); //function set (fundamental command set)
I2C_LCD_WriteControl(0x01); //clear display
CyDelay(100u); //delay

I2C_LCD_WriteControl(0x80); //set DDRAM address to 0x00
I2C_LCD_WriteControl(0x0C); //display ON
CyDelay(100u); //delay

I have tried changing the COM SEG direction command (ENTRY SET MODE), and it changes the orientation, but never to the correct one.
I have also tried setting the REV bit in the FUNCTION SET command, but again, it never gets the correct orientation.

I have attached the schematic showing the connection of the display - there are pullups on the I2C lines.

Any idea as to what I might be doing wrong or missing?
Thank you.


96
OLEDs / Not able to interface display with AT32UC3C0128C (32bit Microcontroller)
« Last post by nathanbabu on September 11, 2017, 11:52:47 PM »
Dear Sir,

            I trying to interface with NHD - 0420DZW - AB5 with my micro controller but not able to get good results.

kindly provide some sample program for testing.

thanks in advance .

Nathan Babu
97
OLEDs / Re: LCD Dev Board and NHD-1.69-160128UGC3
« Last post by ERS on September 08, 2017, 11:12:22 AM »
Thanks for your help on this. It works great.

For others, the wiring diagram to connect these is below.

Display         Dev Board
1 - GND -         1
2 - VDD -         2
3 - NC
4 - D/C -          5
5 - R/W-          6
6 - E-              7
7 - DB0-          13
8 - DB1-          14
9 - DB2-          15
10 - DB3 -       16
11 - DB4-        17
12 - DB5-        18
13 - DB6-        19
14 - DB7-        20
15 - GND -       37
16 - /RES-       11
17 - /CS -        9
18 - GND         38
19 - PS -         High: 33
20 - CPU:        High: 34 (6800 Mode)
98
TFTs / Rotate the display upsidedown (180)
« Last post by yvalleru on September 07, 2017, 05:00:19 AM »
Hi,

I have an TFT 480x272 display. I was controlling it by using apalis imx6 module (from toradex). I would like to rotate the display upside down from the start of the booting.
Is there any specila pin for rotating the display or how can i rotate the display ?

Thank you
Uvi
99
TFTs / NHD 5.0 800480 resistive touch screen non-linearity
« Last post by dfansler on September 06, 2017, 10:45:28 AM »
I have a problem with the resistive touch display on the above display.  On the right end of the display, if I am measuring the resistance from top to bottom, it changes by 300 ohms (increasing from top to bottom).  Reading the horizontal position on the right edge should give the same value from top to bottom - instead the value increases.  This means that if I scale the value to be 800 on the right side, it will go from say 800 at the top to 850 at the bottom.

Is there a problem with the touch screen, or my logic?
Kind regards,
David
100
Evaluation Tools / Re: NHD-TFT40 PWM pin
« Last post by dttworld on September 05, 2017, 01:24:37 PM »
I believe I understand my problem now. The backlight converter on the eval board is a boost converter designed to drive a series LED backlight. I actually need a buck converter designed to drive the parallel LED backlight found on the HD-1.8-128160EF-CSXN-F.
Pages: 1 ... 8 9 [10]