Recent Posts

Pages: 1 ... 7 8 [9] 10
81
OLEDs / NHD-0420DZW-AY5 - Line3 and 4 reversed right and left.
« Last post by cloudtree99 on December 03, 2018, 12:12:32 AM »
Display:    NHD-0420DZW-AY5

Interface : parallel 4-bit mode

Usage:     Clear display and display text using Arduino Mega 2560. Nothing more complicated than that.

Problem :
Line 3 and 4's characters reversed  right and left.
please see below link image.

https://t1.daumcdn.net/cfile/tistory/99B9683A5C04C89608

here's my arduino source code.
Code: [Select]
#include <LiquidCrystal.h>

LiquidCrystal lcd(30, 32, 5, 4, 3, 2);  // RS connected to Arduino digital pin 30

                                        // E  connected to Arduino digital pin 32

                                        // R/W connected to Ground

                                        // DB4 connected to Arduino digital pin 5

                                        // DB5 connected to Arduino digital pin 4

                                        // DB6 connected to Arduino digital pin 3

                                        // DB7 connected to Arduino digital pin 2

void setup()

{

  lcd.begin(20, 4);                      // 20 columns, 4 rows

}



void loop()



  lcd.clear();                          //clear LCD and set cursor for upper-left corner

  lcd.setCursor(0,0);                   //set cursor for column 0, row 0

  lcd.print("     Hello World    ");

  lcd.setCursor(0,1);                   //set cursor for column 0, row 1

  lcd.print(" New Heaven Display ");

  lcd.setCursor(0,2);                   //set cursor for column 0, row 2

  lcd.print("     Hello World    ");

  lcd.setCursor(0,3);                   //set cursor for column 0, row 3

  lcd.print(" New Heaven Display ");

  delay(1000);                          //delay for 1000ms (1 second)

}

why this happend?? Waht can I do something for solve this problem?
82
Graphic LCDs / Re: NHD-C160100DiZ-FSW-FBW won't display anything
« Last post by Georgekhan on December 02, 2018, 03:25:06 AM »
have you got the solution or not ?
83
Dear Sirs,
When try to display a sample BMP image (for example: 2_4_240320CF_0.bmp), an image data is written twice in vetical(320) direction (like only even address of memory) and an upper half of an image is displayed like a missing teeth in Y direction.
Could anyone let me know what is going on and how to fix it.

Firmware verion of NHDev Development Board: 2.10
Sample BMP images are downloaded from NH Display.
Thanks.
84
OLEDs / Re: Blinking Double Height Font NHD-0216CW
« Last post by Alee_S on November 28, 2018, 12:51:53 PM »
Hi Matthew,

Unfortunately, the display is not capable of having one side or portion of the display have a blinking effect, while leaving the other side alone. However, we can manipulate the commands and delays to help simulate this effect.

I would recommend adding a command in the display function, similar to how you've written, that writes to the DDRAM address as follows:
0x00:    'Test:       '
This allows you to have the data text you want displayed at all times.

Then, you can incorporate two commands in the loop function, also similar to how you've written, that also write to a DDRAM address that is on the right side of the display. For example:
0x08:   '    '
0x08:   'ON'
By writing those two commands to the same memory address in the loop function, you are overwriting that memory location every so often, which can help create the blinking effect, without having to manually re-write to the display each time.

I would also make sure the delay, for right after the data is latched, is set at most 1 millisecond. Anything over that, and it may not resemble the blinking effect you are looking for.


I have attached some screenshots of code that work for an Arduino Uno, based on my recommendations above, that may help paint a clearer picture.

Hope this helps!





 
85
OLEDs / Re: How to reset NHD-0216SZW-BY5?
« Last post by Alee_S on November 28, 2018, 12:45:43 PM »
Unfortunately, the controller in NHD-0216SZW-BY5 is not as similar to the controllers a_horst listed, in that it doesn't have an internal reset counter that resets memory address's to its original location.

The initialization sequence will run anytime the display is reset, so in order to reset the DDRAM address to the original location, it must have the clear screen and return home command at the end of the initialization sequence.

Including those commands should hopefully solve these issues. If something is still wrong, please let us know.
 
86
Character LCDs / Re: NHD-0216S3Z-FL-GBW-V3 Cannot Use I2C To Change I2C Address
« Last post by Ted_M on November 26, 2018, 04:06:42 PM »
Hi billtrib,

The I2C address can be changed to any 8-bit value by command function, with the exception that the LSB (least significant bit) must always be 0. Once the I2C address has
been changed, it will be saved in the system memory, and it will revert back to the default address if either RS232 or the SPI protocol is selected.
Also, if that is not the issue, then try lowering the I2C clock rate to 50Khz and try again.

Best Regards,
87
Evaluation Tools / Re: Does NHD-FT81x-SHIELD support Arduino due?
« Last post by Ted_M on November 26, 2018, 03:42:23 PM »
Hi Nachalan,

Unfortunately the Due is not compatible. The NHD-FT81x-SHIELD requires an operating voltage of 5V to be supplied by the Arduino.  The Arduino Due board runs using a 3.3V operating voltage.

For a list of compatible Arduino's, please refer to our NHD-FT81x-Shield User Guide on page 11.
http://www.newhavendisplay.com/userguides/NHD-FT81x-SHIELD_User_Guide.pdf

Best Regards,
88
Evaluation Tools / Re: FTDI Eve screen editor
« Last post by Ted_M on November 26, 2018, 03:26:46 PM »
Hi Nachalan,

FTDI has just released a new Asset Builder Tool that allows you to generate Fonts, convert JPEG images, Video files and Audio into EVE compatible formats.
The new "EVE Asset Manager" tool can be found on FTDI's Website here:  https://www.ftdichip.com/Support/Utilities.htm#EVE%20Asset%20Manager

Also, the new "EVE Screen Designer 4.5" tool is available from the same link.

Best Regards,
89
Character LCDs / NHD-0216S3Z-FL-GBW-V3 Cannot Use I2C To Change I2C Address
« Last post by billtrib on November 26, 2018, 06:45:46 AM »
I can write to this display using I2C or Serial, no problem: commands, text, cursor etc. However, after clearing the display and setting the position to home when I write the address change command to the display it echoes a "b" indicating that it did not interpret the command as a command. Self-test still shows I2C address as 50h. I have a 10ms delay to make sure the address change sticks.

If I use serial then I can change it. Sending the command to display the I2C address displays whatever address I set. However, if I power off, set the jumper to self-test then power on the display shows the I2C address as the default 50h.

Is there a firmware update?
Thanks in advance for any help,
Bill
90
Evaluation Tools / Re: FTDI Eve screen editor
« Last post by Nachalan on November 26, 2018, 02:26:41 AM »
Thanks so CarlW, that video you posted helped so much in solving my problem. What's the latest version of the EVE screen editor?
Pages: 1 ... 7 8 [9] 10