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] 2 3 ... 26
1
TFTs / Re: Windows 10 IoT Core
« on: October 10, 2018, 03:37:47 PM »
The capacitive touch panel displays also provide a better resolution.
Could you also provide a video of where the displays cut off?

3
Character LCDs / Re: Inverse video on NHD‐C0220BiZ‐FSW‐FBW‐3V3M
« on: October 10, 2018, 03:26:22 PM »
No, Unfortunately this display does not allow you to flip individual characters.


4
TFTs / Re: NHDev board and NHD-1.8-128160EF-CTXI#-FT
« on: June 14, 2018, 09:13:53 AM »
Can you tell me when you purchased the NHDev Development board?

It seems that you have an older version of the software. the NHD-1.2-128160TF was an older model we used to sell and has been replaced by the NHD-1.8-128160EF series.

5
Hello Bill,

Unfortunately because these are Passive Matrix OLEDs the brightness of the pixels can vary based on how many pixels are on in a row.
The brightness will be higher if you only have a few pixels lit, as opposed to having the whole row on.

6
OLEDs / Re: How to reset NHD-0216SZW-BY5?
« on: April 11, 2018, 08:08:16 AM »
The first thing you would have to do is to add a short delay when the power is applied.
Then before you start writing I would recommend sending the return home command.

There is also a clear display command that would be able to "reset" the screen to a blank state and move your cursor to the home position as well.

I would recommend adding delays to the end of your write functions. The max execution times are listed in the instruction table.
Page 7 (http://www.newhavendisplay.com/specs/NHD-0216SZW-BY5.pdf)

7
OLEDs / Re: Issue about drawing on NHD-0420CW-AY320 in i2c
« on: March 05, 2018, 09:23:51 AM »
Can you tell me if you are getting an ACK from the display?

8
Graphic LCDs / Re: NHD-C12864WO-B1TFH#-M Contrast issue
« on: March 05, 2018, 08:02:47 AM »
Hello,

The VLCD is generated by the booster circuit on the display and is controlled via software (Set Electronic Volume Command)
This voltage doesn't need to be applied, and you should see 9~11 V on pin V0 if your settings are correct and the internal booster is activated.

9
OLEDs / Re: NHD-2.23-12832UCB3-40956 display & SPI mode???
« on: February 08, 2018, 08:20:31 AM »
Hello,

This display uses 4-Wire SPI. There is more information about the SPI communication on page 12 of the display datasheet. (http://www.newhavendisplay.com/specs/NHD-2.23-12832UCW3.pdf)

The Clock is rising Edge and the polarity of the clock does not matter. So this can work in either mode 0 or mode 3

10
OLEDs / Re: INTIALISATION CODE FOR NHD-3.12-25664UCB2-ND
« on: February 01, 2018, 02:02:02 PM »
Semed,

Sorry i gave you the wrong github link, the one that i posted was for our Color OLEDs.
The one that this display along with our 2.8" and 2.7" OLED displays use is here: https://github.com/search?utf8=%E2%9C%93&q=SSD1322&type=

The font table should still work for a 5x8 character array, however you need to resize the window.

To write the character you would need to give the start x and y addresses. Which would be C & D in your previous post.


11
OLEDs / Re: INTIALISATION CODE FOR NHD-3.12-25664UCB2-ND
« on: January 31, 2018, 09:34:54 AM »
The full code was from an older example which had plans to be extended.
However we were never able to add the Font Table to the code.

Many of the links you have through github include font tables.
Because this is a graphics display the controller itself does not have built in fonts. These need to be provided.

12
OLEDs / Re: Antialiasing on NHD-2.23-12832UCW3
« on: January 30, 2018, 03:48:09 PM »
Unfortunately it is not.
These had to be photoshopped to make the anti-aliasing effect disappear.

13
OLEDs / Re: NHD-0216KZW-AG5 - serial interface - initialization
« on: January 30, 2018, 03:46:53 PM »
Hello,

You can find an example on how to use the Serial OLED below:
Code: [Select]
sbit SCL = P3^4;
sbit SDOUT = P1^0;
sbit SDIN = P1^1;
sbit C_S = P3^3;

void delay(unsigned int n) //Delay subroutine
{
unsigned int i,j;
for (i=0;i<n;i++)
  for (j=0;j<250;j++)
  {;}
}
 

void WriteCommand(unsigned char ins)
{
unsigned char i;
C_S=0;
SCL = 0;
SDOUT = 0; //RS = 0 (Command)
SCL = 1; //RS registered
SCL = 0;
SDOUT = 0; //RW = 0
SCL = 1; //RW registered
SCL = 0;

for (i=0x80;i;i>>=1)
{
if((ins&0x80)==0x80)
SDOUT = 1;
else
SDOUT = 0;
ins=(ins<<1);
SCL = 0;
SCL = 1;
SCL = 0;
}

    C_S=1;
}

void WriteDataInit()
{

C_S=0;
SCL = 0;
SDOUT = 1; //RS = 1 (Data)
SCL = 0; //RS registered
SCL = 1;
SCL = 0;
SDOUT = 0; //RW = 0
SCL = 1; //RS registered
SCL = 0;

}
void WriteData(unsigned char dat)
{
unsigned char i;
for (i=0x80;i;i>>=1)
{
if((dat&0x80)==0x80)
SDOUT = 1;
else
SDOUT = 0;
dat=(dat<<1);
SCL = 0;
SCL = 1;
SCL = 0;
}

}

void init()
{
WriteCommand(0x38);//function set
delay(30);
WriteCommand(0x06);//entry mode set
delay(30);
WriteCommand(0x02);//return home
delay(30);
WriteCommand(0x01);//clear display
delay(30);
WriteCommand(0x0c);//display on
delay(30);
WriteCommand(0x80);//line 1 character 1
delay(30);
}

void main()
{
char i=0x21, j;



init();

while(1)
{
C_S = 1;
WriteCommand(0x80); //Line 1

WriteDataInit();
//WriteDataInit() must only be executed once before starting to write data
//if WriteDataInit() is executed between writes, the display will recognize the two bits as data bits and not RS/RW bits. 
for(j=0; j<20; j++)
{
WriteData(i++);
delay(10);
}

C_S = 1;
//Pulling C_S High means write data is completed
//if next instruction to the display is data, must use WriteDataInit() first
//if write command is executed without pulling C_S high, it will recognize the following instruction on the bus as data regardless
WriteCommand(0xC0); //Line 2

WriteDataInit();
for(j=0; j<20; j++)
{
WriteData(i++);
delay(10);
}

C_S = 1;
WriteCommand(0x94); //Line 3

WriteDataInit();
for(j=0; j<20; j++)
{
WriteData(i++);
delay(10);
}


C_S = 1;
WriteCommand(0xD4); //Line 4

WriteDataInit();
for(j=0; j<20; j++)
{
WriteData(i++);
delay(10);
}

}
}

14
OLEDs / Re: INTIALIZATION CODE FOR NHD-3.12-25664UCB2-ND
« on: January 30, 2018, 03:43:02 PM »
Just using the initialization routine will not power the display.
Have you tried writing information to the display at all?

I would recommend using the following link for example code:
https://newhavendisplay.com/appnotes/excode/txt/OLED/OLED_25664.txt

There are also libraries available on github:
https://github.com/search?utf8=%E2%9C%93&q=SEPS525&type=

15
OLEDs / Re: NHD-0420DZW-AY5 to replace NHD-0420DZ-FSW-FBW
« on: January 17, 2018, 08:18:15 AM »
The display should be compatible for the most part, however a few minor adjustments for the firmware might be necessary.
The instruction execution time for the Oled is a fair amount slower so you might need to add a few delays or check for the busy flag before sending consecutive instructions.

The OLED does also require a larger current input through the +5V (VDD) Input as well, can you check to see if you are limited as to how much current you would be able to supply?

Pages: [1] 2 3 ... 26