Trouble Illuminating all pixels on NHD-0420CW-AW3

Comments

8 comments

  • Timothy Dorn

    When I configure my code to simply illuminate all pixels upon device startup, the screen lights up about once every 10 resets. The other times, it looks like it draws about 1 line of pixels, then shuts off.

    0
  • Engineering Support
    Community moderator

    Hi Timothy,

     

    What microcontroller are you using for this project?  You will need to use a microcontroller with 3.3V logic levels, rather than 5V.  Can you also confirm if your data and clock signals are connected to pull-up resistors?

    Additionally, you will need to disable the internal VDD regulator in your initialization code.  Please include the following in your initialization code:

    command(0x2A);  //enter extended command set
    command(0x71); //enter function selection A
    data(0x00); //disable internal VDD regulator
    0
  • Timothy Dorn

    I'm using a nRF9160 microcontroller on Zephyr. It does use 3.3V logic, and the i2c lines are pulled up through resistors. The internal VDD regulator is already disabled in my code.

     

    In all other use cases, this screen works fine. I can fill the screen with any text I want, perfectly reliable. It's just when trying to fill the screen with full pixel blocks that I run into this issue.

    0
  • Engineering Support
    Community moderator

    Hi Timothy,

     

    The display will draw the highest amount of current when all pixels are set to on.  Are you able to swap the power supply with one rated for 1A?  500mA should be enough, even with all pixels on; however, power supplies may lose their ability to provide the rated current as they age.

    0
  • Timothy Dorn

    I hooked up to a 1A power supply, no change in behavior; I even tried allowing up to 1.5 A.

    0
  • Engineering Support
    Community moderator

    Hi Timothy,

     

    You stated that you can fill the screen with any text you want without issue.  Can you try filling the screen with hex value 0x1F from the ROM A font table?  This is a solid block.  Does the display still malfunction in this case?

    0
  • Timothy Dorn

    Yes, I tried the solid block. That's how I noticed this trouble in the first place.

    0
  • Engineering Support
    Community moderator

    Hi Timothy,

     

    I have replicated your setup with I2C communication on NHD-0420CW-AW3, but I can't seem to recreate the issue you are seeing.  Can you please refer to our example code https://support.newhavendisplay.com/hc/en-us/articles/4413876825111-NHD-0216CW-0220CW-0420CW-with-Arduino and check for any differences between your code and ours?  In the example code, the blocks() function fills the screen with solid blocks.

    0

Please sign in to leave a comment.