Recent Posts

Pages: [1] 2 3 ... 10
1
Graphic LCDs / NHD-C12864B2Z-RN-FBW on Arduino Zero
« Last post by Casey10110 on February 19, 2018, 06:51:46 PM »
About three years ago, someone posted about doing some prototyping with the Arduino Uno with the NHD-C12864B2Z-RN-FBW or something that uses the same controller. One of the NHD engineers (I believe) posted some working code for the Arduino Mega:

https://www.newhavendisplay.com/NHD_forum/index.php/topic,8.msg9.html#msg9

I noticed that the Mega has ports with eight pins, whereas the Arduino Zero does not. Does anyone have some working code for prototyping with the NHD-C12864B2Z-RN-FBW on an Arduino Zero? I am basically wondering how to configure the data pins and do something similar to that described in the post mentioned above. Any help is always greatly appreciated.
2
OLEDs / HOW TO MODIFY EXAMPLE CODE FOR FONTS OTHER THAN 5X7
« Last post by semed on February 18, 2018, 03:56:54 PM »
How do i modify the example code posted online  https://newhavendisplay.com/appnotes/excode/txt/OLED/OLED_25664.txt
 to accept fonts other than 5x7

I know its in the showfont functions
void Show_Font57_25664(unsigned char a, unsigned char b, unsigned char c, unsigned char d)
{
unsigned char *Src_Pointer=0;
unsigned char i,Font,MSB_1,LSB_1,MSB_2,LSB_2;

   switch(a)
   {
      case 1:
         Src_Pointer=&Ascii_1[(b-1)][0];
         break;
      case 2:
         //Src_Pointer=&Ascii_2[(b-1)][0];
         break;
   }
Not sure exactly how. any suggestions? thanks
3
OLEDs / Issue about drawing on NHD-1.27-12896UGC3
« Last post by balazs on February 18, 2018, 05:13:14 AM »
Dear All,

I am using type NHD-1.27-12896UGC3 in my current project but unfortunatelly experiencing issues with addressing the pixels. I seems like the display origin is not in the top left corner, but in the bottom left corner.

So I am initializing the display with the sequence given in the datasheet. After the initialization I set the starting and ending column and row addresses with the following code:

Displ_Command(0x15);      //Column addresses
   Displ_Data(0); //This is the start point
   Displ_Data(19);  //this is the end point for the column
   
   Displ_Command(0x75);      //Row adresses
   Displ_Data(0);
   Displ_Data(26);


After I have set them I am sending the pixel data to the display with the following code:

Displ_Command(0x5C);      //RAM-ba írás
   
   for(uint8_t i=0; i<20; i++)
   {
      for(uint8_t j=0; j<27; j++)
      {
         Displ_Data((ZeroR[j])>>2);  //ZeroR array contains the RGB pixel values for the number zero
         Displ_Data((ZeroG[j])>>2);
         Displ_Data((ZeroB[j])>>2);
      }
   }


When I send number nine to the display, than it appears on the screen like on the attached picture. It seems like the nine is drawn from the bottom towards to top so that it seems like a flipped six. I tried to illuminate the pixel at (0;0) point, and pixel az the bottom left corner was that.

I have cheched the setup sequence multiple times as well as the available commands, but I have not found the reason for this. I would like the display to draw the pixels from top to bottom and from left to right.

Do you have any idea why I am experiencing these issues? Have you ever experienced this?

Thank you very much for your help in advance!
Cheers!
4
Graphic LCDs / NHD-320240WG-BXTFH-VZ# initialization problem
« Last post by vinvald on February 17, 2018, 09:43:58 AM »
Hi
I'm trying to running the NHD-320240WG-BXTFH-VZ# with the stm32f429 using 3.3v voltages and 8080 modes.
I have not idea what is the problem, but i don't get any reaction from the lcd. All 17 pins are connected.
I checked the signals with logic analyzer and their looked fine. Sometimes one random line turns on and stays in
this state for a moment after turning off the power. Thanks in advance.

Code: [Select]
void NHD_LCD_display_write_command(uint8_t data)
{
NHD_LCD_set_data(data);
set_A0();
reset_cs();
reset_wr();
set_wr();
set_cs();
}

void NHD_LCD_display_write_data(uint8_t data)
{
NHD_LCD_set_data(data);
reset_A0();
reset_cs();
reset_wr();
set_wr();
set_cs();
}

void NHD_LCD_display_init()
{
set_r();
set_cs();
set_wr();
NHD_LCD_display_reset();

NHD_LCD_display_write_command(0x40);
NHD_LCD_display_write_data(0x30);
NHD_LCD_display_write_data(0x87);
NHD_LCD_display_write_data(0x07);
NHD_LCD_display_write_data(0x27);
NHD_LCD_display_write_data(0x50);
NHD_LCD_display_write_data(0xEF);
NHD_LCD_display_write_data(0x28);
NHD_LCD_display_write_data(0x00);
NHD_LCD_display_write_command(0x44);
NHD_LCD_display_write_data(0x00);
NHD_LCD_display_write_data(0x00);
NHD_LCD_display_write_data(0xEF);
NHD_LCD_display_write_data(0xB0);
NHD_LCD_display_write_data(0x04);
NHD_LCD_display_write_data(0xEF);
NHD_LCD_display_write_data(0x00);
NHD_LCD_display_write_data(0x00);
NHD_LCD_display_write_data(0x00);
NHD_LCD_display_write_data(0x00);

NHD_LCD_display_write_command(0x5A);
NHD_LCD_display_write_data(0x00);

NHD_LCD_display_write_command(0x5B);
NHD_LCD_display_write_data(0x00);

NHD_LCD_display_write_command(0x5D);
NHD_LCD_display_write_data(0x04);
NHD_LCD_display_write_data(0x86);

NHD_LCD_display_write_command(0x4C);
//
    ///to do: clear the screen
//
NHD_LCD_display_write_command(0x59);
NHD_LCD_display_write_data(0x14);
}

        NHD_LCD_display_init();
NHD_LCD_display_write_command(0x46);
NHD_LCD_display_write_data(0xB0);
NHD_LCD_display_write_data(0x04);
NHD_LCD_display_write_command(0x42);
for(i = 0; i < 4800; i++)
{
NHD_LCD_display_write_data(0xFF);

}
for(i = 0; i < 4800; i++)
{
NHD_LCD_display_write_data(0x00);

}

Thanks.
5
Evaluation Tools / Re: NHD-FT81x-SHIELD
« Last post by Paul_B on February 15, 2018, 04:53:02 PM »
Arduino UNO or MEGA

The NHD-FT81x-SHIELD is compatible with a wide range of Arduino and Arduino clones, however there are some which are not compatible. The NHD-FT81x-SHIELD requires 5V to be supplied from the Arduino itself, and some Arduino clones, specifically 3.3V versions such as the Arduino Pro 3.3V, feature 3.3V on the pin typically specified as being 5V.

Arduino 1.8.5 (latest release)
https://www.arduino.cc/en/Main/Software

NHD-FT81x-SHIELD
http://www.newhavendisplay.com/nhdft81xshield-p-9581.html

20 POS FFC
http://www.newhavendisplay.com/20-pos-ffc-p-1101.html


For additional information, more details can be found in the "Arduino Shield User Guide for NHD EVE2 TFT Modules" pdf:
http://www.newhavendisplay.com/userguides/NHD-FT81x-SHIELD_User_Guide.pdf
6
Evaluation Tools / Re: NHD-FT81x-SHIELD
« Last post by mrupprath on February 14, 2018, 11:13:09 PM »
Hello,
"All software relating to the NHD-FT81x-SHIELD and the Arduino are supplied from FTDI Directly, and are not created nor
maintained by Newhaven Display International, Inc"

I wonder why you are providing an own repository when you think you are not responible if  content is running with your products or not.
Working reference applications would be very hellpfull to test your products.

Two make a long story short:
I wan't know which arduino module , in conjunction with which ardino ide version , and the FT81x shield, you recommend to use the 7 inch capa touch examples from your repository to test
this display:NHD-7.0-800480FT-CSXV-CTP



Thanks in advance

Marc
7
OLEDs / Arduino demo code for running the NHD-0420DZW-AB5 OLED display via SPI
« Last post by llamero on February 14, 2018, 07:09:28 PM »
I worked out a few functions that allow the NHD-0420DZW-AB5 OLED display to be controlled via SPI on an Arduino.  The catch is that the 2-bit RsRW header means that communication requires bitbanging rather than using the SPI library, since the SPI library can only send 8-bit blocks.

The demo code will initialize the display, load up a splash screen, and then show animated arrows.  The CS pin is pin 9, and all the other pins are the standard SPI pins.  One note, bitbanging is much slower than the built in SPI bus (2MHz vs 20MHz), so you can use SPI.end() and SPI.begin() to toggle the SPI bus off and on (the SPI bus has to be off to allow the bitbanging function to work, and on to allow the SPI library to work).

The code can be found at: https://github.com/Llamero/OLED_Display_Demo/blob/master/Minimal_display_code/Minimal_display_code.ino

If anyone has improvements, please feel free to create a fork.

Cheers,
  Ben Smith
8
OLEDs / Re: NHD-0420CW-A*3 VDD Voltage level
« Last post by JBDynamics on February 14, 2018, 04:35:24 PM »
Thanks, that is a huge relief. I assumed it would and created a schematic based on the fact it would, and I routed and designed the PCB and ordered them to be made. Then I was going back over the documentation to build a prototype to write the code for it, and realized a half of a voltage is a pretty big difference so I thought it would be prudent to double check this will work.
9
Evaluation Tools / Re: NHD-7.0CTP-CAPE - BBB does not start up properly
« Last post by Paul_B on February 14, 2018, 03:27:08 PM »
Afternoon Hendrik,

I've completed testing on the NHD-7.0CTP-CAPE utilizing the new BeagleBone Black Wireless and managed to replicate the issue you are experiencing. The issue seems to stem from the OSD3358 power management chip exclusively on the new BeagleBone Black Wireless model.

If you are having this issue, please see the work-around below:

Disclaimer:Modified product will void warranty.

  • Cut pins 7 & 8 on connector P1_B
  • Solder a 0 Ohm resistor (or solder bridge) between pins 5 & 7

This enables the backlight circuit to run off VDD_5V (main power supply from the DC input jack) instead of SYS_5V (main rail for the regulators on the main board).
10
Evaluation Tools / Re: NHD-FT81x-SHIELD
« Last post by Paul_B on February 14, 2018, 09:20:01 AM »
Please see the topic below:

https://www.newhavendisplay.com/NHD_forum/index.php?topic=7826.msg15514#msg15514

Quote
Since you are utilizing the Arduino Due you can safety interface directly to the EVE2 TFT Modules without a logic level converter.

Please note that the NHD-FT81x-SHIELD features a logic level converter for the classic Arduinos (UNO/MEGA/Diecimila). If you utilize the shield this will be redundant since the Due's logic is already 3.3V.

The EVE2 example code on our Github page was originally written for the classic Arduinos (UNO/MEGA/Diecimila... etc). I believe the example Sketches use direct pin manipulation to make things faster. However the Due is a completely different architecture to the Uno, so direct pin manipulation is done differently. Modification to the example code maybe required in order for it to compile.

Pages: [1] 2 3 ... 10