Tm244acc6 LCD
Tm244acc6 LCD
The LCD from a defective ISDN telephone (AGFEO SysTel 30, LCD module designation: TM244AD P-6)
can be used wonderfully even for own projects.
It has 4 lines with 24 columns and is controlled by two independent HD44780 compatible controllers.
One controller controls the upper two lines, the other the lower two lines. The selection of a
controller happens a bit unusual via a Select Pin17 (0: upper lines and 1: lower lines)
The following example code shows the control with an Arduino:
#include <LiquidCrystal.h>
/ * Example for usage of LCD found in ISDN Tel Agfeo SysTel ST30
** Name of LCD Module: TM244AD P-6
** It is a 4x24 display with two controllers.
** Normally there are two enable pins on similar types of LCD's
** This one has a select pin. Low enables controler for upper two lines.
** High enables controler for bottom two lines.
**
** Pins of LCD Module:
**
** 1 GND
** 2 Vplus
** 3 V contrast
** 4 RS
** 5 RW
** 6 E
** 7-14 DB0-DB7
** 15V backlight
** 16 GND backlight
** 17 Select <------- not so usual
** 18 Not connected
*/
#define SELECT_PIN 6
Liquid Crystal lcd (7, 8, 9, 10, 11, 12);
void selectTop () {
digitalWrite (SELECT_PIN, LOW);
}
void selectBottom () {
digitalWrite (SELECT_PIN, HIGH);
}
void setup () {
pinMode (SELECT_PIN, OUTPUT);
void loop () {
select bottom ();
lcd.setCursor (15, 1);
// print the number of seconds since reset:
lcd.print (Millis () / 1000);
selectTop ();
lcd.setCursor (10.0);
lcd.print ( "seconds");
lcd.setCursor (10.1);
lcd.print ("since Start");
}
Das LCD aus einem defekten ISDN Telefon (AGFEO SysTel 30, LCD Modul Bezeichnung:
TM244AD P-6) kann man wunderbar noch für eigene Projekte nutzen.
Es hat 4 Zeilen mit 24 Spalten und wird von zwei eigenständigen HD44780 kompatiblen
Controllern angesteuert. Ein Controller steuert die oberen beiden Zeilen, der andere die unteren
beiden Zeilen an. Die Auswahl eines Controllers geschieht etwas unüblich über einen Select
Pin17 (0: obere Zeilen und 1: untere Zeilen)
Folgender Beispielcode zeigt die Ansteuerung mit einem Arduino:
#include <LiquidCrystal.h>
/* Example for usage of LCD found in ISDN Tel Agfeo SysTel ST30
** Name of LCD Module: TM244AD P-6
** It is a 4x24 Display with two Controlers.
** Normaly there are two enable pins on similar types of LCD's
** This one has a select pin. Low enables controler for upper two lines.
** High enables controler for bottom two lines.
**
** Pins of LCD Modul:
**
** 1 GND
** 2 Vplus
** 3 V contrast
** 4 RS
** 5 RW
** 6 E
** 7-14 DB0-DB7
** 15 V backlight
** 16 GND backlight
** 17 Select <------- not so usual
** 18 Not connected
*/
#define SELECT_PIN 6
LiquidCrystal lcd(7, 8, 9, 10, 11, 12);
void selectTop() {
digitalWrite(SELECT_PIN, LOW);
}
void selectBottom() {
digitalWrite(SELECT_PIN, HIGH);
}
void setup() {
pinMode(SELECT_PIN, OUTPUT);
void loop() {
selectBottom();
lcd.setCursor(15, 1);
// print the number of seconds since reset:
lcd.print(millis()/1000);
selectTop();
lcd.setCursor(10,0);
lcd.print("Seconds");
lcd.setCursor(10,1);
lcd.print("since Start");
}
/* vim:set filetype=cpp: */