Go Down

Topic: NT3881 (LCD)  (supposedly hd44780 compatible) (Read 4283 times) previous topic - next topic

Mart

Mar 24, 2010, 12:47 am Last Edit: Mar 24, 2010, 01:39 am by Mart Reason: 1
Hi,

I am trying to run an optrex C-51850NFJ-SLW-ADN LCD with a NT3881 chipset (supposedly hd44780 compatible) with my seeeduino mega. I was unsuccessfull with LiquidCrystal and LCD4bit so far.  Anyone has experience with that controller ?

thanx for your time.

Mart

floresta

Mart:

Quote
I was unsuccessfull with LiquidCrystal ...

Can you give us a little more information.  What did happen?  Did the device get hot?  Did you see smoke?  Was one line full of 'boxes' and the other line blank?  Was there jibberish on the display?

A photo of your connections and a copy of your code would really help.

Don

Mart

#2
Mar 24, 2010, 01:50 am Last Edit: Mar 24, 2010, 01:55 am by Mart Reason: 1
The connection and code are validated since my setup is working properly with a HD44780 compatible VFD.

 Using the same code, I swapped the vfd with that LCD and all I got is the first line full of random garbage...

floresta

Mart:

I suggest that you try the 'Hello World' example program from the Arduino playground (http://arduino.cc/en/Tutorial/LiquidCrystal) and see if that works.  Make sure you are using the code and the library from Arduino v0017 or later.  The earlier LiquidCrystal libraries and LCD4bit do not properly initialize the LCD controller.

Don


Mart

#4
Mar 24, 2010, 02:02 am Last Edit: Mar 24, 2010, 02:02 am by Mart Reason: 1
Hi Don,

this is exactly what I am doing right now: I am running this: http://arduino.cc/en/Tutorial/LiquidCrystal

Heck I have 3 device:

- Noritake VFD CU40025SCPB (WORK A1! with that example)
- Crystalfontz LCD CFAH4002A-TFH-JT ( 2 black lines )
- optrex LCD NFJ-SLW-ADN ( 2 lines of random character )

If you want a video, I can do one if it can help?

thanx

Mart

floresta

Mart:

Quote
- Crystalfontz LCD CFAH4002A-TFH-JT ( 2 black lines )

Maybe a contrast problem??

Quote
- optrex LCD NFJ-SLW-ADN ( 2 lines of random character )

This implies either a wiring problem (maybe a bad connection on the LCD module itself) or a timing problem (are you sure you are using v0017 or v0018?).

A picture might help.

Don

Mart

I am using 018. Pictures are coming in a sec...

Mart

#7
Mar 24, 2010, 02:18 am Last Edit: Mar 24, 2010, 02:19 am by Mart Reason: 1
Hello world example from http://arduino.cc/en/Tutorial/LiquidCrystal
arduino 018:

Noritake:



Crystalfontz:


optrex: random character on 2 lines

floresta

Mart:

Lets deal with the optrex first since it displays something legible.

Quote
optrex: random character on 2 lines

By random I guess you mean that the next time you run the program you get a different character, but all 80 characters are the same.  

If so please list some of the characters.  I'm looking for a pattern.

What happens when you just press reset?

Don

Mart

#9
Mar 24, 2010, 02:36 am Last Edit: Mar 24, 2010, 02:40 am by Mart Reason: 1
Optrex:

character 'S', 'C', '#', 's', '3', 'c', 'cs', 's ', 'C ' etc..

pattern: 2 full lines of the character repeated such as:

'cs':
cscscscscscscscscscscs
cscscscscscscscscscscs

the pattern change during the operation. it does not stay at 'cs' for example.

floresta

Mart:

There is a pattern, all of the ASCII codes for these characters have a hex value ending in '3'.

Are you running in 8-bit mode by any chance.

Are you using the same ribbon cable for all three displays?

Don

Mart

Hi,

same ribbon cable for the 3 display.  I am running

LiquidCrystal lcd(4, 5, 6, 7, 8, 9, 10);

thanx

Mart

Mart

Im starting to lean toward a timing issue...

floresta

#13
Mar 24, 2010, 02:56 am Last Edit: Mar 24, 2010, 02:56 am by floresta Reason: 1
Mart:

Quote
the pattern change during the operation. it does not stay at 'cs' for example.

I overlooked this.  

Does the pattern change once a second, like each time the second line is updated?

Try commenting out the stuff in loop so that all that is left is setup() with a blank loop() and see if the 'Hello World' part displays correctly.

Don

Mart

#14
Mar 24, 2010, 02:58 am Last Edit: Mar 24, 2010, 03:00 am by Mart Reason: 1
whoa,

both LCD shown "hello world" ...

Go Up