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 ?
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.
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.
Crystalfontz LCD CFAH4002A-TFH-JT ( 2 black lines )
Maybe a contrast problem??
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?).
The lcd.print() instruction is obviously overwriting your entire display, so the lcd.setCursor() is not working for some reason.
I'm not sure why it works on one display and not the others, and why all the displayed codes end in '3'. That's one of the mysteries that may be due to the interaction of the various libraries that are involved.
If you copy and paste the loop() code again and still have the problem then I would suggest adding a 1 second delay in loop() so you can see what is going on.