Author Topic: NHD-C0220BiZ-FS(RGB)-FBW-3VM Test  (Read 3471 times)

Dean

  • Newbie
  • *
  • Posts: 2
  • Karma: 1
    • View Profile
NHD-C0220BiZ-FS(RGB)-FBW-3VM Test
« on: May 13, 2014, 01:12:36 PM »
I'm also having a problem with no display on my LCD as the last post SteveC had.  However, I initially had a short circuit and corrected it but could have toasted the LCD?  I tried switching the slave address from 0x78 to 0x3C with no avail.  My LCD pin input values are:

#2 - SCL = 3.28
#3 - SDA = 3.28
#5 - VDD = 3.29
#6 - VOUT = 2.75
#7 - C1+ = 3.10
#8 - C1- = .24

Is there anyway I can test the LCD to verify it is operational before I start debugging my code?

Michael_L

  • Administrator
  • Hero Member
  • *****
  • Posts: 356
  • Karma: 33
    • View Profile
Re: NHD-C0220BiZ-FS(RGB)-FBW-3VM Test
« Reply #1 on: May 13, 2014, 02:28:45 PM »
Unfortunately there is not a "test mode" available.  Where was the short you first had, and how long was it shorted for?  It may have destroyed the display, or maybe not.  It is hard to say for certain.  I would try using the code I posted for SteveC from an older post of mine.
Link to SteveC's thread: http://www.newhavendisplay.com/NHD_forum/index.php/topic,53.0.html
Link to older post with code: http://www.newhavendisplay.com/NHD_forum/index.php/topic,19.0.html

SteveC

  • Newbie
  • *
  • Posts: 7
  • Karma: 1
    • View Profile
Re: NHD-C0220BiZ-FS(RGB)-FBW-3VM Test
« Reply #2 on: May 13, 2014, 03:56:38 PM »
Hi, The concept that I was not aware of was that the LCD is completely turned OFF after power-up and must be initialized by the software. In other words, the voltage converter and contrast are software controlled. So just going through the software to get those functions working as measured by the voltages on pins #6, #7 and #8 is a clear indication if the LCD is being initialized properly. If you go to the ST7036 datasheet on pages 40 and 42 there is similar software which describes what the commands in the comments. Those comments are VERY helpful to me at least.

Hope this helpls.

Dean

  • Newbie
  • *
  • Posts: 2
  • Karma: 1
    • View Profile
Re: NHD-C0220BiZ-FS(RGB)-FBW-3VM Test
« Reply #3 on: May 14, 2014, 11:53:51 AM »
The short lasted only a second or two but produced some smoke on my microcontroller board and left it inoperable. I've replaced the board and it is working again and I have ordered another LCD just in case.  I will try using the code you posted and I will read the comments in the ST7036 datasheet as SteveC suggested.

Thank you both for your help!

SteveC

  • Newbie
  • *
  • Posts: 7
  • Karma: 1
    • View Profile
Re: NHD-C0220BiZ-FS(RGB)-FBW-3VM Test
« Reply #4 on: May 16, 2014, 04:50:24 PM »
Dean, I'm using an Arduino Uno to drive the LCD. Here's my code for the Arduino with the original eval code commented out.

*****************************************************/
//int main(void)
void loop()
{
int i;

while(1)                         //continue
{
   init_LCD();
   delay(2);
   
   Show(text1);
   nextline();
   Show(text2);
   delay(2000);
   
   init_LCD();
   delay(2);   

//   I2C_out(Slave);
//   I2C_out(Datasend);
        Wire.beginTransmission(Slave); // transmit to LCD
        Wire.write(Datasend);          // sends 0x40 to LCD
                                       // This is a Data Send to LCD       

   for(i=16;i<36;i++){//show 20 chars in font table starting at 16 on the top, first line of the LCD
//     I2C_out(i);}
        Wire.write(i);}
//
         
//   I2C_Stop();
        Wire.endTransmission();    // stop transmitting
        nextline();

        Wire.beginTransmission(Slave); // transmit to LCD
        Wire.write(Datasend);          // sends 0x40 to LCD
                                       // This is a Data Send to LCD       

   for(i=65;i<85;i++){//shows 20 chars in font table starting at 65 on the 2nd, bottom line of the LCD
//     I2C_out(i);}
        Wire.write(i);}
//
         
//   I2C_Stop();
        Wire.endTransmission();    // stop transmitting         

   delay(4000);
}
}

 

NHD‐C0220BiZ‐FS(RGB)‐FBW‐3VM capacitor on pin 7&8

Started by Ticoti0xFFBoard Character LCDs

Replies: 1
Views: 2781
Last post April 09, 2014, 10:17:30 AM
by Michael_L
NHD‐C0220BiZ‐FS(RGB)‐FBW‐3VM Potting

Started by SebKisterBoard Character LCDs

Replies: 1
Views: 1808
Last post June 22, 2016, 04:51:17 PM
by Saurabh_B
Blank Display on NHD‐C0220BiZ‐FS(RGB)‐FBW‐3VM

Started by SteveCBoard Character LCDs

Replies: 3
Views: 4538
Last post May 13, 2014, 12:04:36 AM
by SteveC
NHD‐C0220BiZ‐FS(RGB)‐FBW‐3VM - Cable for LED Backlights

Started by wadehBoard Character LCDs

Replies: 2
Views: 848
Last post December 02, 2016, 06:02:27 PM
by wadeh
Sample Code Question for NHD‐C0220BiZ‐FS(RGB)‐FBW‐3VM LCD

Started by SteveCBoard Character LCDs

Replies: 2
Views: 3000
Last post July 31, 2014, 08:44:29 PM
by SteveC