0% found this document useful (0 votes)
259 views4 pages

Tm244acc6 LCD

The document discusses using the LCD from a defective ISDN telephone in personal projects. The LCD has 4 lines with 24 columns that are controlled by two independent HD44780 controllers. One controller handles the top two lines while the other handles the bottom two lines. An Arduino code example is provided to demonstrate controlling the LCD by selecting between the two controllers using a select pin.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
259 views4 pages

Tm244acc6 LCD

The document discusses using the LCD from a defective ISDN telephone in personal projects. The LCD has 4 lines with 24 columns that are controlled by two independent HD44780 controllers. One controller handles the top two lines while the other handles the bottom two lines. An Arduino code example is provided to demonstrate controlling the LCD by selecting between the two controllers using a select pin.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Ausgeschlachtetes LCD Slashed 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);

// First init the controller for the top two lines


selectTop ();
// set up the LCD's number of columns and rows:
lcd.begin (24, 2);
lcd.print ( "Line1");
lcd.setCursor (0.1);
lcd.print ( "Line 2");

// Now init the controler for the bottom two lines


select bottom ();
lcd.begin (24, 2);
lcd.print ( "Line3");
lcd.setCursor (0.1);
lcd.print ( "Line4");
}

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);

// First init the controler for the top two lines


selectTop();
// set up the LCD's number of columns and rows:
lcd.begin(24, 2);
lcd.print("Line1");
lcd.setCursor(0,1);
lcd.print("Line2");

// Now init the controler for the bottom two lines


selectBottom();
lcd.begin(24, 2);
lcd.print("Line3");
lcd.setCursor(0,1);
lcd.print("Line4");
}

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: */

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy