From ea63b7f57e7103c2cea4cc598c015b9768d9497b Mon Sep 17 00:00:00 2001 From: marschap Date: Mon, 8 Oct 2007 10:42:00 +0000 Subject: [PATCH] a few clean-ups --- docs/lcdproc-user/drivers/hd44780.docbook | 230 +++++++++++++++------- 1 file changed, 157 insertions(+), 73 deletions(-) diff --git a/docs/lcdproc-user/drivers/hd44780.docbook b/docs/lcdproc-user/drivers/hd44780.docbook index ddc6691..cbe9a06 100644 --- a/docs/lcdproc-user/drivers/hd44780.docbook +++ b/docs/lcdproc-user/drivers/hd44780.docbook @@ -436,14 +436,14 @@ The BC327 transistor has the following connections: Sometimes the backlight connections are not on the 'main' connector, but on the side. If that is the case, there is usually NO RESISTOR present to limit - the current through the LEDs. Therefor you should then add a resistor after + the current through the LEDs. Therefore you should then add a resistor after the transistor of about 10 ohm (see display documentation). - If you want the backlight to light a bit while it's switched 'off', you can + If you want the backlight to light a bit while it is "switched off", you can add a resistor bypassing the transistor from e to c, with a value of, say 47ohm or 22ohm. (My 4x20 has an internal resistor of 6ohm, so with 47 ohm extra it lights at only 1/9th. I like this. Joris.) @@ -535,8 +535,8 @@ This is originally based on "lcdtext" (by Matthias Prinke). (*) on the RW line of the display: this line decides whether the display receives data from the -LPT port, or whether it sends data to the LPT port. If grounded, it receives. If High or connected -to nothing at all, it "sends" (i.e., will not work as intended). So, if you are not sure that +LPT port, or whether it sends data to the LPT port: if grounded it receives, if High or connected +to nothing at all it "sends" (i.e., will not work as intended). So, if you are not sure that you need it otherwise, then connect it to GND. This certainly applies if you have only one display. @@ -548,29 +548,47 @@ displays four to seven use: HD44780: 4bit Pinouts (2) - + + + + + - printer port - LCD + printer port + LCD + + + name + pin + name + pin - STR (1) + STR + 1 EN4 + 6 - LF (14) + LF + 14 EN5 + 6 - INIT (16) + INIT + 16 EN6 + 6 - SEL (17) + SEL + 17 EN7 + 6 @@ -582,72 +600,94 @@ The optional keypad can be connected as follows:
HD44780: 4bit Keypad Pinouts - + + + - printer port - LCD - + printer port + keypad + + + name + pin + pin + - D0 (2) + D0 + 2 Y0 - D1 (3) + D1 + 3 Y1 - D2 (4) + D2 + 4 Y2 - D3 (5) + D3 + 5 Y3 - D4 (6) + D4 + 6 Y4 - D5 (7) + D5 + 7 Y5 - nSTRB (1) + nSTRB + 1 Y6 - nLF (14) + nLF + 14 Y7 - INIT (16) + INIT + 16 Y8 - nSEL (17) + nSEL + 17 Y9 - nACK (10) + nACK + 10 X0 - BUSY (11) + BUSY + 11 X1 - PAPEREND (12) + PAPEREND + 12 X2 - SELIN (13) + SELIN + 13 X3 - nFAULT (15) + nFAULT + 15 X4 @@ -744,7 +784,7 @@ This type of connection should work with winamp. nLF 14 - nRW + RW 5 (EN3 6 - LCD 3) (optional (*) ) @@ -757,7 +797,7 @@ This type of connection should work with winamp. nSEL 17 EN2 - 6 - LCD 2) (optional) + (6 - LCD 2) (optional) @@ -765,14 +805,14 @@ This type of connection should work with winamp. (*) on the RW line of the display: this line decides whether the display receives data from the -LPT port, or whether it sends data to the LPT port. If grounded, it receives. If High or connected -to nothing at all, it "sends" (i.e., will not work as intended). So, if you are not sure that +LPT port, or whether it sends data to the LPT port: if grounded it receives, if High or connected +to nothing at all it "sends" (i.e., will not work as intended). So, if you are not sure that you need it otherwise, then connect it to GND. This certainly applies if you have only one display. If you want the display to work with the Winamp plugin, wire nLF (pin 14) -to nRW of your LCD. You can then use the plugin in bidirectional mode (wich +to RW of your LCD. You can then use the plugin in bidirectional mode (wich is much faster). With 3 connected LCDs this is not possible. Note from Benjamin: I haven't tried using winamp while having the third LCD connected to this line. @@ -784,72 +824,94 @@ The optional keypad can be connected as follows:
HD44780: "Winamp" wiring - Keypad - + + + - printer port - keypad + printer port + keypad + + + name + pin + pin - D0 (2) + D0 + 2 Y0 - D1 (3) + D1 + 3 Y1 - D2 (4) + D2 + 4 Y2 - D3 (5) + D3 + 5 Y3 - D4 (6) + D4 + 6 Y4 - D5 (7) + D5 + 7 Y5 - D6 (8) + D6 + 8 Y6 - D7 (9) + D7 + 9 Y7 - nLF (14) + nLF + 14 Y8 - INIT (16) + INIT + 16 Y9 - nACK (10) + nACK + 10 X0 - BUSY (11) + BUSY + 11 X1 - PAPEREND (12) + PAPEREND + 12 X2 - SELIN (13) + SELIN + 13 X3 - nFAULT (15) + nFAULT + 15 X4 @@ -987,8 +1049,8 @@ The LCD connections are: (*) on the RW line of the display: this line decides whether the display receives data from the -LPT port, or whether it sends data to the LPT port. If grounded, it receives. If High or connected -to nothing at all, it "sends" (i.e., will not work as intended). So, if you are not sure that +LPT port, or whether it sends data to the LPT port: if grounded it receives, if High or connected +to nothing at all it "sends" (i.e., will not work as intended). So, if you are not sure that you need it otherwise, then connect it to GND. This certainly applies if you have only one display. @@ -1003,72 +1065,94 @@ The optional keypad can be connected as follows:
HD44780: "lcdtime" wiring - keypad - + + + - printer port - keypad + printer port + keypad + + + name + pin + pin - D0 (2) + D0 + 2 Y0 - D1 (3) + D1 + 3 Y1 - D2 (4) + D2 + 4 Y2 - D3 (5) + D3 + 5 Y3 - D4 (6) + D4 + 6 Y4 - D5 (7) + D5 + 7 Y5 - D6 (8) + D6 + 8 Y6 - D7 (9) + D7 + 9 Y7 - nSTRB (1) + nSTRB + 1 Y8 - nSEL (17) + nSEL + 17 Y9 - nACK (10) + nACK + 10 X0 - BUSY (11) + BUSY + 11 X1 - PAPEREND (12) + PAPEREND + 12 X2 - SELIN (13) + SELIN + 13 X3 - nFAULT (15) + nFAULT + 15 X4