Recent Posts

Pages: 1 2 [3] 4 5 ... 10
OLEDs / Re: NHD-0420CW Display Upside Down
« Last post by Ted_M 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


TFTs / Re: Arduino support for ST7789S
« Last post by makis20vt on August 01, 2018, 02:52:38 AM »

Just sending you a gentle reminder on this request. Appreciate your time.
OLEDs / NHD-0420CW Display Upside Down - Summary
« Last post by clebell on July 31, 2018, 04:59:50 PM »
To summarize:
1.  Power on: The display is mirrored top to bottom. Characters are upside down.
2.  Reset the display by grounding the /RES pin: Display and characters are now right side up, but mirrored right to left.
3.  I am generating the characters to display using the simplest commands over an I2C bus -
    a. to send a command, 1) send a control byte 0x00 and then 2) send the command byte.
    b. to send data             1) send a control byte 0x40 and then 2) send a string of characters.
    c. The display on/off commands work as expected.
    d. The clear display command works as expected.
    e. Set position and send data commands work as expected, except that the positions are upside down or backwards.

And to top it all:
This thing worked fine yesterday.  I ran it through 4 hours of testing and then turned it off.

I am sincerely stumped.  I have, however, modified my code to allow sending bytes individually using the console.  I can pick this apart one byte at a time if I have to but I'm hoping that somebody has seen this before.

Charles Bell
OLEDs / NHD-0420CW Display Upside Down Update
« Last post by clebell on July 31, 2018, 09:07:51 AM »
I reset the display using the active low reset signal (/RES).

Now the characters are right side up, but they are reversed right to left.

  1.  I was assuming that I could rely on the power-on reset values to get basic operation.  This doesn't seem to be the case.
  2.  Does grounding the /RES pin reset the display to the power-on reset state?

  I have the /RES pin pulled up to VDD. Should I hold /RES low at power-up to allow VDD to stabilize?
OLEDs / NHD-0420CW Display Upside Down
« Last post by clebell on July 31, 2018, 07:07:42 AM »
Display:    NHD-0420CW
Interface: I2C with a BeagleBone Black
Usage:     Clear display and display text. Nothing more complicated than that.

Problem:  Yesterday the display worked as expected - 4 lines of magnificent text.
                Today, on power-up, all text is upside down - line 4 is at the top. Characters flow from left to right, as expected, but upside down.

Question: What command do I use to get the text right side up again.  I have the US2066 document, but the command explanations in that document are a bit... obscure.

thank you
Charles Bell
TFTs / Arduino support for ST7789S
« Last post by makis20vt on July 29, 2018, 08:04:01 AM »

I am looking for support for ST7789S. I use this display: NHD-2.4-240320CF-CSXN#-FT
Will be this work with ST7789S?
Can you please help me with this display?

Many thanks
TFTs / Inverse video on NHD‐C0220BiZ‐FSW‐FBW‐3V3M
« Last post by Techno on July 25, 2018, 09:58:46 AM »

We are contemplating using a NHD‐C0220BiZ‐FSW‐FBW‐3V3M for a new product.  Using this unit, can we turn inverse video ON and OFF on a character basis?

Customer Projects / Demo code on BB NHD-7.0CTP-CAPE-V-ND
« Last post by davidfungf on July 22, 2018, 04:19:32 AM »

    The NHD-7.0CTP-CAPE-V-ND is installed in a bus for information broadcast purpose. Your engineer informed me the LCD intensity can be controlled through a PWM control signal EHRPWM1A. May I know any sample code is available?
TFTs / Re: FT5x06 Sensitivity for 4mm glass cover
« Last post by yraeisi on July 21, 2018, 10:48:51 PM »
Hi Ted_M
Thanks so Much
TFTs / Polarization state of 5" TFT display?
« Last post by crschardt on July 19, 2018, 05:31:30 PM »
I just purchased a NHD-5.0-HDMI-N-RTXL module. I'm using it in a application where I need to know the polarization state of the emitted light, but I couldn't find it listed in the product documentation. Would someone please let me know the polarization orientation for this display?

Thank you for the help.
Pages: 1 2 [3] 4 5 ... 10