Display 40x4 works :)

Display EA W404B-NLW
http://www.reichelt.de/Hintergrund-blau/LCD-404B-BL/3/index.html?&ACTION=3&LA=446&ARTICLE=53954&GROUPID=3006&artnr=LCD+404B+BL&SEARCH=EA+W404B-NLW

Simple code

#include <LiquidCrystal440.h>

LiquidCrystal lcd(13,12,11,10,5,4,3,2); //RS, RW, E2, E1, D4, D5, D6, D7

void setup() {
  lcd.begin(40,4);
  lcd.setCursor(0,0);
  lcd.print("Eing.:1 = 0");
  lcd.setCursor(0,1);
  lcd.print("Eing.:2 = 0");
  lcd.setCursor(0,2);
  lcd.print("Eing.:3 = 0");
  lcd.setCursor(0,3);
  lcd.print("Eing.:4 = 0");
  lcd.setCursor(12,0);
  lcd.print("|");
  lcd.setCursor(12,1);
  lcd.print("|");
  lcd.setCursor(12,2);
  lcd.print("|");
  lcd.setCursor(12,3);
  lcd.print("|");
  lcd.setCursor(14,0);
  lcd.print("Eing.:5 = 0");
  lcd.setCursor(14,1);
  lcd.print("Eing.:6 = 0");
  lcd.setCursor(14,2);
  lcd.print("Eing.:7 = 0");
  lcd.setCursor(14,3);
  lcd.print("Eing.:8 = 0");
  lcd.setCursor(26,0);
  lcd.print("|");
  lcd.setCursor(26,1);
  lcd.print("|");
  lcd.setCursor(26,2);
  lcd.print("|");
  lcd.setCursor(26,3);
  lcd.print("|");
  lcd.setCursor(28,0);
  lcd.print("Eing.:9 = 0");
  lcd.setCursor(28,1);
  lcd.print("Eing.:10= 0");
  lcd.setCursor(28,2);
  lcd.print("Eing.:11= 0");
  lcd.setCursor(28,3);
  lcd.print("Eing.:12= 0");
}

void loop() {
}

Quite a cool display !!

special library? link?

So it appears this uses the standard HD77480 driver chip (and therefore just the normal library).

You seem to have connected all eight data pins, but in the code are using only the usual four - a few superfluous connections in your photo.

So it appears this uses the standard HD77480 driver chip

No, it uses two of them, hence the extra enable line.

(and therefore just the normal library).

No, the board has two enable lines so it needs a modified library.

BUT - the LiquidCrystal440 library was written for the old Arduino IDE (pre v1.0). There is an updated library available at the same place he found this one. I am on vacation now and do not have the link available on this computer.

Don

What name has the new library?

robtillaart:
Quite a cool display !!

special library? link?

http://code.google.com/p/liquidcrystal440/downloads/list

That's the correct link. The updated version for Arduino 1.0+ is the first one: LiquidCrystal1.0.zip.

Don

Hey DEAFBOY. I just received my 40x4. I cant really figure out where the pins go on my Arduino Mega. I see you use a UNO...but woud it be possible to post your pinouts please ? I wish to try out your sketch that will help me figure out how to do it with a MEAG. Thx !

You do realise that this contributor has not been on the forum for nearly four years? :roll_eyes:

:frowning:

I have 3, 40x4 displays but they are TM404ABA1 models
They have 8 smaller chips (OKI M5259 54542B21) soldered to the rear as well as 2 large chips (SEC 527 KS0066F05)
The only data I can find on these is a single page datasheet that has a pinout only. Apparently they are made for medical and industrial equipment and cost a lot more than the usual 40x4 displays described above. I will try the libraries mentioned here but I have some doubts as to compatibility because of the chips on the rear that are not found on other 40x4 displays.
Has anyone had any experience with these displays please?