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 ... 4 5 [6] 7 8 ... 26
TFTs / Re: Using RGB666 on NHD-4.3-480272EF-ATXL#-T
« on: June 14, 2017, 08:00:03 AM »

You would want to ground the unused RGB pins. These would be the LSB (R0,R1, G0, G1, B0, B1)

OLEDs / Re: NHD-3.12-25664UCB2 Problem Displaying Text
« on: June 09, 2017, 10:24:42 AM »
Unfortunately i am not aware of anyone that has example code for that.
However most libraries do come with a simple example, or someone might have created a fork for that as well.

OLEDs / Re: NHD-0216CW-AY3 VDD and REGVDD pin && SPI example
« on: June 05, 2017, 08:05:32 AM »
The OLED typically runs off 2.8-3.3V, When using 5V you would enable it so that the OLED will regulate the voltage down to the 2.8-3.3V levels.

OLEDs / Re: NHD-0216CW-AY3 VDD and REGVDD pin && SPI example
« on: June 02, 2017, 09:40:25 AM »

I am not sure if i understand your first question.
However with the logic being set at 3.3V, you will want to make sure your SPI counts 3.3V as high, and GND as low.

If you are using this display in 3.3V you will want to ground RegVDD, and in the software you will want to disable the regulator.
the KGZ code will not work for this display.

You can find the example code for this display here:

OLEDs / Re: NHD-3.12-25664UCB2 Problem Displaying Text
« on: June 02, 2017, 09:04:30 AM »
The display can do both, however this controller does not come with a built in font library.
Many of our customers use a library like the one i linked for fonts.

OLEDs / Re: NHD-3.12-25664UCB2 Problem Displaying Text
« on: June 01, 2017, 10:37:01 AM »
Unfortunatley we do not have a font library for this display currently.

However you can find many user created libraries that are Arduino Compatible through sites such as GitHub.

For instance :
This library includes a font table, along with brightness control as well.

Hello David,

If you have VDD and VSS going to pins 2 & 3 of the display, they do not need to be applied to pins 5 & 6, they are all tied internally.

For this i would recommend using the following:
putc(0xFE)  // Prefix
putc(0x51) // Clear Screen

It is a 1mm Pitch, with a Top Contact connector.

Thanks for pointing this out, I will have our website design team take the -20 controller off the suggested links.

The code below is for our 8051 Control Board. The REG52.h and AL.h are required libraries to configure this controller.

The sbit command is the same as #define, where instead of toggling P3^7 you would just toggle RW.
P3 is Port 3, which is one of the ports brought out to the user on this controller.

OLEDs / Re: How work with NHD-0216AW-SB3
« on: May 17, 2017, 04:30:14 PM »
Hello Racurs,

The datasheet is set up properly. The D/C# and R/W# bits are set when sending the initial data.
The information for this can be found on page nine of the controller datasheet (LINK).

Please also note that when sending data to this display I you do need to break each byte into half and send 4 bits at a time. This is also explained on page ten of the controller datasheet linked above.

OLEDs / Re: Interfacing NHD-0420CW-AY3 to PIC controller via I2C
« on: May 05, 2017, 09:31:01 AM »

This OLED display does have a rather lengthy command input process. Unfortunately it is one of the few available controllers for OLED displays of this type. I can help guide you to get the display working.

I will be referring to the controller datasheet as well, this can be found here:

In your examples below, I don't see you sending the control byte after sending the I2C address. (Page 11, controller datasheet)
After sending the I2C address, you would need to send the Control Byte, this will let the display know that the following incoming information is either Data or a Command. The Control Byte will also be needed between each byte of data.

For the contrast setting, you would first need to activate the RE Flag, then the SD flag.
For this you would send the function SET command (0x2A), then the OLED Characterization command (0x79), this will allow you to modify the contrast.

For the set cursor command I am not sure what the 0x45 is, however you would need to send the Set DDRAM Address command.

The Set SEG pins & hardware configuration command will allow you to rotate the display, or have text coming in from a different location rather than the top left. The entry mode command determines whether you want to enable the shift on the display, or if you would like the Address counter to auto increment or decrement after receiving a character.

I would also recommend looking at the example code here:

Could you also provide your I2C1_Wr function?

OLEDs / Re: NHD-0216AW-IB3 with Arduino Uno Code example?
« on: May 04, 2017, 04:14:08 PM »

You can find the code for this display here:

This code will work for both the Arduino Uno and Mega.

TFTs / Re: NHD-5.0-800480TF-ATXL# Display timing
« on: April 28, 2017, 04:56:35 PM »

Can you tell me what the date code on the display is, or if you could please provide a picture of the back of the display?

Pages: 1 ... 4 5 [6] 7 8 ... 26