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 - Saurabh_B

Pages: 1 ... 6 7 [8] 9 10 ... 23
106
TFTs / Re: Blank display after several hours of working normally
« on: October 25, 2016, 03:34:24 PM »
This does sound like something is causing the display to reset externally.

You should be able to fill the frame buffer at any time. After the display re-initializes and you send the display ON command, it will show whatever is filled in the buffer.

107
TFTs / Re: Blank display after several hours of working normally
« on: October 25, 2016, 11:49:48 AM »
Do you know if the voltage applied to the display pins 7&8 is constant the whole time.
Another cause could be a reset caused by either a loose connection or just power dropping.

Finally do you know if yoru code might be sending the Display OFF command or the Sleep Command?

108
TFTs / Re: Blank display after several hours of working normally
« on: October 25, 2016, 08:50:16 AM »
Hello,

It sounds like the display is getting reset.
Do you know if the Reset Pin on your display is tied high constantly?

109
Character LCDs / Re: Data Address
« on: October 24, 2016, 07:55:52 AM »
Hello,

Are you sending a command to go to line 2? [command(0xC0);]

Because of the way the controller is set-up, the RAM Address can be found on page 5 of the display datasheet.
You would need to use the Set DDRAM Address to move to line 2.

110
Character LCDs / Re: NHD-C0216CiZ-FSW-FBW-3V3 not working
« on: October 21, 2016, 03:09:51 PM »
Hello,

I have another example code for this display here:
I was able to get this to work with an Arduino Mega with a 3.3V regulator.

The Voltage should not be dropping to 2.1V when you plug in the display.
Has this only occurred with one unit or multiple units?
Can you also confirm that you are going right to left for the pin numbers?

Code: [Select]
/*****************************************************/
/*
C0216CiZ.c

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
*/
/*****************************************************/

/*****************************************************/
unsigned char text1[]={"NEWHAVEN Display"};
unsigned char text2[]={"2x16 LCD Module "};
unsigned char text3[]={0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f};
unsigned char text4[]={0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f};
/*****************************************************/
#define SDO 22            //Serial data
#define SCLK 23            //Serial clock
#define RESET 24             //RESETET
/*****************************************************/
const char Slave = 0x7C;
const char Comsend = 0x00;
const char Datasend = 0x40;
const char Line2 = 0xC0;
/*****************************************************/

/*****************************************************/
void I2C_out(unsigned char j)       //I2C Output
{
  int n;
  unsigned char d;
  d=j;
  for(n=0;n<8;n++){
    if((d&0x80)==0x80)
    digitalWrite(SDO, HIGH);
    else
    digitalWrite(SDO, LOW);
    d=(d<<1);
    digitalWrite(SCLK, LOW);
    digitalWrite(SCLK, HIGH);
    digitalWrite(SCLK, LOW);
    }
  digitalWrite(SCLK, HIGH);
  while(SDO==HIGH){
    digitalWrite(SCLK, LOW);
    digitalWrite(SCLK, HIGH);
    }
  digitalWrite(SCLK, LOW);
}
/*****************************************************/
void I2C_Start()
{
  digitalWrite(SCLK, HIGH);
  digitalWrite(SDO, HIGH);
  digitalWrite(SDO, LOW);
  digitalWrite(SCLK, LOW);
}
/*****************************************************/
void I2C_Stop()
{
  digitalWrite(SDO, LOW);
  digitalWrite(SCLK, LOW);
  digitalWrite(SCLK, HIGH);
  digitalWrite(SCLK, HIGH);
}
/*****************************************************/
void Show(unsigned char *text)
{
  int n, d;
  d=0x00;
  I2C_Start();
  I2C_out(Slave);
  I2C_out(Datasend);
  for(n=0;n<16;n++){
    I2C_out(*text);
    ++text;
    }
  I2C_Stop();
}
/*****************************************************/
void nextline(void)
{
  I2C_Start();
  I2C_out(Slave);
  I2C_out(Comsend);
  I2C_out(Line2);
  I2C_Stop();
}
void CGRAM (void)
{
  I2C_Start();
  I2C_out(Slave);
  I2C_out(Comsend);
  I2C_out(0x38);    //go to instructino table 0
  I2C_out(0x40);    //Set CGRAM addRESETs to 0x00
  I2C_Stop();
  delay(10);
 
  I2C_Start();
  I2C_out(Slave);
  I2C_out(Datasend);
  I2C_out(0x00);    //write to first CGRAM addRESETs
  I2C_out(0x1E);
  I2C_out(0x18);
  I2C_out(0x14);
  I2C_out(0x12);
  I2C_out(0x01);
  I2C_out(0x00);
  I2C_out(0x00);    //8 bytes per character
  I2C_out(0x00);
  //continue writing to remaining CGRAM if desired
  I2C_Stop();
}
/****************************************************
*           Initialization For ST7032i              *
*****************************************************/
void init_LCD()
{
  I2C_Start();
  I2C_out(Slave);
  I2C_out(Comsend);
  I2C_out(0x38);
  delay(10);
  I2C_out(0x39);
  delay(10);
  I2C_out(0x14);
  I2C_out(0x78);
  I2C_out(0x5D);
  I2C_out(0x6D);
  I2C_out(0x0C);
  I2C_out(0x01);
  I2C_out(0x06);
  delay(10);
  I2C_Stop();
 
  //CGRAM();      //define CGRAM
 
  I2C_Start();
  I2C_out(Slave);
  I2C_out(Comsend);
  I2C_out(0x39);   
  I2C_out(0x01);    //go back Home
  I2C_Stop();
  delay(10);
}
/*****************************************************/
/*****************************************************/


void setup() {
  pinMode(RESET, OUTPUT);
  pinMode(SDO, OUTPUT);
  pinMode(SCLK, OUTPUT);
  digitalWrite(RESET, LOW);
  delay(10);
  digitalWrite(RESET, HIGH);
  delay(100);

}

void loop() {
  init_LCD();
  delay(2);
  Show(text1);
  nextline();
  Show(text2);
  delay(2500);
  while(1){
    digitalWrite(SDO, HIGH);
    delay(1000);
  }
       

}

111
TFTs / Re: NHD-7.0-800480EF-ASXV-T TFT screen image deformed
« on: October 19, 2016, 08:15:13 AM »
Responded to the email.
It looks like you are going under the assumption that all of the pixels are going to be squares.

This might not have to do with the settings you have listed. It seems you might be displaying a square image that is being stretched to fit the full display.
You might need to send another image that has 800x480 pixels to avoid the distortion.

112
OLEDs / Re: NHD 1.69 1601128ASC3 with Arduino Leonardo
« on: October 19, 2016, 07:58:36 AM »
One Code example that would allow you to show images saved onto the SD card can be found here: https://github.com/Pbartek/NHD_SEPS525

113
Hi David,

There should be no differences between the touch panel used between the two displays.

The only difference between the displays will be the backlight and polarizer used to provide the wide viewing angles for the NHD-4.3-480272EF-ASXV#-T.

114
Accessories / Re: Capacitive touch panel with FocalTech controller FT6236
« on: October 14, 2016, 09:00:48 AM »
Hello,

Our displays / CTP panels come with the FT5X06 controller.
Doing a quick search I wasn't able to find the register values for this controller.

I would recommend contacting the company you bought that from to see if they have any example code / drivers for this controller.

115
TFTs / Re: Optical bonding Display to cover glass (dry film bonding)
« on: September 29, 2016, 08:35:00 AM »
Hi Gerrit,

A vacuum shouldn't damage the display.
However it does seem that an autoclave does use high heat and possibly steam, both of which could damage the display.

You would want to keep the display dry at all costs, any liquid that forms on the display could damage it.
You would also want to keep the display below 80 C. Higher temperatures can damage the Liquid Crystals and you would have dark spots that form. These would not be reversible.

116
Character LCDs / Re: 2X20 small display (up to 70x20mm) with i2c interface
« on: September 28, 2016, 08:47:07 AM »
Hello,

Another option i would recommend would be our Chip-on-Glass displays specifically the NHD-C0216CiZ-FSW-FBW-3V3.
However this display does have a 3V interface ans will require 2 external capacitors and 2 pull up resistors.

Like you mentioned above with the NXP PCA9564, you could use a LCD Backpack that would allow you to convert from the I2C to the 8-Bit Parallel.
LCD Backpack: http://www.hobbytronics.co.uk/i2clcd-backpack-v2

118
Hello,

There are no current limiting resistors built into this display.
The resistors on the pads have a value of 0Ω.

If you take a look at the bottom picture here: http://www.newhavendisplay.com/images/large/NHD-C12864A1Z-FS(RGB)-FBW-HT1-front_LRG.jpg
You can see the values of R1-R3 are 0Ω.


119
Would you be able to post a picture of what you are seeing. I will try to recreate the issue as well to see if i can find a sollution.

120
OLEDs / Re: NHD-2.7-12864UC & Dev board
« on: September 22, 2016, 05:11:27 PM »
Sorry this took a little bit longer, Please see the attachments:

Pages: 1 ... 6 7 [8] 9 10 ... 23