convert <screen> tags to tables; fix typos, ...
This commit is contained in:
@@ -226,7 +226,7 @@ For more information see the
|
|||||||
</arg>
|
</arg>
|
||||||
</term>
|
</term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
keypad_test_mode permit to test keypad assignement
|
keypad_test_mode permit to test keypad assignment
|
||||||
Default value is no
|
Default value is no
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
of 9 characters.
|
of 9 characters.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
The display is internally connected to the serial port (/dev/ttyS1)
|
The display is internally connected to the serial port
|
||||||
with a rate of 9600 baud
|
(<filename>/dev/ttyS1</filename>) with a fixed rate of 9600 baud.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
The display uses 13 segments per character. That's why the driver provides
|
The display uses 13 segments per character. That's why the driver provides
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
The front panel furthermore has 9 keys which are illuminated by blue LEDs.
|
The front panel furthermore has 9 keys which are illuminated by blue LEDs.
|
||||||
The LEDs can be controlled with the backlight functions. The keys are not
|
The LEDs can be controlled with the backlight functions. The keys are not
|
||||||
supported by this driver. The red LED (RECORD) can be controlled with the
|
supported by this driver. The red LED (RECORD) can be controlled with the
|
||||||
output command of LCDd.
|
<code>output</code> command of <application>LCDd</application>.
|
||||||
</para>
|
</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
|||||||
@@ -9,17 +9,17 @@
|
|||||||
<title>Eyebox One LCD Module</title>
|
<title>Eyebox One LCD Module</title>
|
||||||
<para>
|
<para>
|
||||||
Eyebox One is a small rackmounted server marketed by Rightvision
|
Eyebox One is a small rackmounted server marketed by Rightvision
|
||||||
(http://www.alcateleyebox.rightvision.com/).
|
(<ulink url="http://www.alcateleyebox.rightvision.com/"></ulink>).
|
||||||
This server has an LCD module, a keypad, two graphbars and some leds.
|
This server has an LCD module, a keypad, two graphbars and some leds.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
The LCD is a 20x4 alphanumeric modules connected via standard DB-9 cabling and
|
The LCD is a 20x4 alphanumeric module connected via standard DB-9 cabling and
|
||||||
connectors.
|
connector.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
I couldn't find any documentation about it.
|
I couldn't find any documentation about it.
|
||||||
All I know has been obtained with some reverse engineering.
|
All I know has been obtained with some reverse engineering.
|
||||||
It seems that it can run only at 19,200 baud.
|
It seems that it can run only at 19.200 baud.
|
||||||
Sending ASCII to the module will make it simply display that text at
|
Sending ASCII to the module will make it simply display that text at
|
||||||
its current cursor position.
|
its current cursor position.
|
||||||
The module has a built-in BIOS that recognizes commands (sent by transmitting a
|
The module has a built-in BIOS that recognizes commands (sent by transmitting a
|
||||||
|
|||||||
@@ -13,9 +13,9 @@ parallel port:
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem><para>4-bit</para></listitem>
|
<listitem><para>4bit</para></listitem>
|
||||||
<listitem><para>8-bit (winamp style)</para></listitem>
|
<listitem><para>8bit (winamp style)</para></listitem>
|
||||||
<listitem><para>extended 8-bit (LCD + LED bargraph)</para></listitem>
|
<listitem><para>extended 8bit (LCD + LED bargraph)</para></listitem>
|
||||||
<listitem><para>serial LPT</para></listitem>
|
<listitem><para>serial LPT</para></listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
@@ -55,7 +55,7 @@ All variants use the same method of obtaining power. i.e., for each LCD:
|
|||||||
|
|
||||||
<table id="hd44780-connections-power.table">
|
<table id="hd44780-connections-power.table">
|
||||||
<title>HD44780: Power Connections</title>
|
<title>HD44780: Power Connections</title>
|
||||||
<tgroup cols="3">
|
<tgroup cols="3" align="left">
|
||||||
<thead>
|
<thead>
|
||||||
<row>
|
<row>
|
||||||
<entry>LCD</entry>
|
<entry>LCD</entry>
|
||||||
@@ -184,24 +184,28 @@ By default, the following keystrokes are generated by the different keys:
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<table id="hd44780-connections-keypad-direct.mapping">
|
<table id="hd44780-connections-keypad-direct.mapping">
|
||||||
<title>HD44780: Default Keystrokes</title>
|
<title>HD44780: Direct Key Mapping</title>
|
||||||
<tgroup cols="2">
|
<tgroup cols="2" align="left">
|
||||||
<tbody>
|
<tbody>
|
||||||
<row>
|
<row>
|
||||||
<entry>X0</entry>
|
<entry>X0</entry>
|
||||||
<entry>A</entry>
|
<entry><literal>A</literal></entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>X1</entry>
|
<entry>X1</entry>
|
||||||
<entry>B</entry>
|
<entry><literal>B</literal></entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>X2</entry>
|
<entry>X2</entry>
|
||||||
<entry>C</entry>
|
<entry><literal>C</literal></entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>X3</entry>
|
<entry>X3</entry>
|
||||||
<entry>D</entry>
|
<entry><literal>D</literal></entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>X4</entry>
|
||||||
|
<entry><literal>E</literal></entry>
|
||||||
</row>
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
@@ -278,8 +282,8 @@ assumes this:
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<table id="hd44780-connections-keypad-matrix.mapping">
|
<table id="hd44780-connections-keypad-matrix.mapping">
|
||||||
<title>HD44780: Keypad Layout</title>
|
<title>HD44780: Matrix Keypad Layout</title>
|
||||||
<tgroup cols="5">
|
<tgroup cols="5" align="left">
|
||||||
<tbody>
|
<tbody>
|
||||||
<row>
|
<row>
|
||||||
<entry></entry>
|
<entry></entry>
|
||||||
@@ -287,34 +291,39 @@ assumes this:
|
|||||||
<entry><emphasis>X1</emphasis></entry>
|
<entry><emphasis>X1</emphasis></entry>
|
||||||
<entry><emphasis>X2</emphasis></entry>
|
<entry><emphasis>X2</emphasis></entry>
|
||||||
<entry><emphasis>X3</emphasis></entry>
|
<entry><emphasis>X3</emphasis></entry>
|
||||||
|
<entry><emphasis>X4</emphasis></entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><emphasis>Y0</emphasis></entry>
|
<entry><emphasis>Y0</emphasis></entry>
|
||||||
<entry>1</entry>
|
<entry><literal>1</literal></entry>
|
||||||
<entry>2</entry>
|
<entry><literal>2</literal></entry>
|
||||||
<entry>3</entry>
|
<entry><literal>3</literal></entry>
|
||||||
<entry>A</entry>
|
<entry><literal>A</literal></entry>
|
||||||
|
<entry><literal>E</literal></entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><emphasis>Y1</emphasis></entry>
|
<entry><emphasis>Y1</emphasis></entry>
|
||||||
<entry>4</entry>
|
<entry><literal>4</literal></entry>
|
||||||
<entry>5</entry>
|
<entry><literal>5</literal></entry>
|
||||||
<entry>6</entry>
|
<entry><literal>6</literal></entry>
|
||||||
<entry>B</entry>
|
<entry><literal>B</literal></entry>
|
||||||
|
<entry><literal>F</literal></entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><emphasis>Y2</emphasis></entry>
|
<entry><emphasis>Y2</emphasis></entry>
|
||||||
<entry>7</entry>
|
<entry><literal>7</literal></entry>
|
||||||
<entry>8</entry>
|
<entry><literal>8</literal></entry>
|
||||||
<entry>9</entry>
|
<entry><literal>9</literal></entry>
|
||||||
<entry>C</entry>
|
<entry><literal>C</literal></entry>
|
||||||
|
<entry><literal>G</literal></entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><emphasis>Y3</emphasis></entry>
|
<entry><emphasis>Y3</emphasis></entry>
|
||||||
<entry>*</entry>
|
<entry><literal>*</literal></entry>
|
||||||
<entry>0</entry>
|
<entry><literal>0</literal></entry>
|
||||||
<entry>#</entry>
|
<entry><literal>#</literal></entry>
|
||||||
<entry>D</entry>
|
<entry><literal>D</literal></entry>
|
||||||
|
<entry><literal>H</literal></entry>
|
||||||
</row>
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
@@ -379,8 +388,9 @@ Y3 o---|<---o o---+----o return line
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
A small extension allows you to switch the backlight of the display on
|
A small extension allows you to switch the backlight of the display on
|
||||||
and off. At the moment only the 4bit and winamp connection types support
|
and off. At the moment only the <code>4bit</code> and <code>winamp</code>
|
||||||
this. The extension uses one output pin, you cannot use that pin for other
|
connection types support this.
|
||||||
|
The extension uses one output pin, you cannot use that pin for other
|
||||||
functions anymore. The wiring looks like this:
|
functions anymore. The wiring looks like this:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@@ -444,54 +454,80 @@ The BC327 transistor has the following connections:
|
|||||||
|
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
<sect3 id="hd44780-4-bit">
|
<sect3 id="hd44780-4bit">
|
||||||
<title>4-bit</title>
|
<title>4bit</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
This is originally based on "lcdtext" (by Matthias Prinke).
|
This is originally based on "lcdtext" (by Matthias Prinke).
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<table id="hd44780-4-bit.base-mapping">
|
<table id="hd44780-4bit.base-mapping">
|
||||||
<title>HD44780: 4-bit Pinouts (1)</title>
|
<title>HD44780: 4bit Pinouts (1)</title>
|
||||||
<tgroup cols="2">
|
<tgroup cols="4" align="left">
|
||||||
|
<colspec colname="lpt1"/>
|
||||||
|
<colspec colname="lpt2"/>
|
||||||
|
<colspec colname="lcd1"/>
|
||||||
|
<colspec colname="lcd2"/>
|
||||||
<thead>
|
<thead>
|
||||||
<row>
|
<row>
|
||||||
<entry>printer port</entry>
|
<entry namest="lpt1" nameend="lpt2" align="center">printer port</entry>
|
||||||
<entry>LCD</entry>
|
<entry namest="lcd1" nameend="lcd2" align="center">LCD</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>name</entry>
|
||||||
|
<entry>pin</entry>
|
||||||
|
<entry>name</entry>
|
||||||
|
<entry>pin</entry>
|
||||||
</row>
|
</row>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<row>
|
<row>
|
||||||
<entry>D0 (2)</entry>
|
<entry>D0</entry>
|
||||||
<entry>D4 (11)</entry>
|
<entry>2</entry>
|
||||||
|
<entry>D4</entry>
|
||||||
|
<entry>11</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>D1 (3)</entry>
|
<entry>D1</entry>
|
||||||
<entry>D5 (12)</entry>
|
<entry>3</entry>
|
||||||
|
<entry>D5</entry>
|
||||||
|
<entry>12</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>D2 (4)</entry>
|
<entry>D2</entry>
|
||||||
<entry>D6 (13)</entry>
|
<entry>4</entry>
|
||||||
|
<entry>D6</entry>
|
||||||
|
<entry>(13)</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>D3 (5)</entry>
|
<entry>D3</entry>
|
||||||
<entry>D7 (14)</entry>
|
<entry>5</entry>
|
||||||
|
<entry>D7</entry>
|
||||||
|
<entry>14</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>D4 (6)</entry>
|
<entry>D4</entry>
|
||||||
<entry>RS (4)</entry>
|
<entry>6</entry>
|
||||||
|
<entry>RS</entry>
|
||||||
|
<entry>4</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>D5 (7)</entry>
|
<entry>D5</entry>
|
||||||
<entry>RW (5) (LCD3 - 6) (optional - pull all LCD RW low (*) )</entry>
|
<entry>7</entry>
|
||||||
|
<entry>RW</entry>
|
||||||
|
<entry>5 (LCD3 - 6) (optional - pull all LCD RW low (*) )</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>D6 (8)</entry>
|
<entry>D6</entry>
|
||||||
<entry>EN (6)</entry>
|
<entry>8</entry>
|
||||||
|
<entry>EN</entry>
|
||||||
|
<entry>6</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>D7 (9)</entry>
|
<entry>D7</entry>
|
||||||
<entry>EN2 (LCD2 - 6) (optional)</entry>
|
<entry>9</entry>
|
||||||
|
<entry>EN2</entry>
|
||||||
|
<entry>(LCD2 - 6) (optional)</entry>
|
||||||
</row>
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
@@ -510,9 +546,9 @@ wire D5 (pin 7) to the enable line (pin 6) of the third LCD. Then for
|
|||||||
displays four to seven use:
|
displays four to seven use:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<table id="hd44780-4-bit.multi-mapping">
|
<table id="hd44780-4bit.multi-mapping">
|
||||||
<title>HD44780: 4-bit Pinouts (2)</title>
|
<title>HD44780: 4bit Pinouts (2)</title>
|
||||||
<tgroup cols="2">
|
<tgroup cols="2" align="left">
|
||||||
<thead>
|
<thead>
|
||||||
<row>
|
<row>
|
||||||
<entry>printer port</entry>
|
<entry>printer port</entry>
|
||||||
@@ -544,9 +580,9 @@ displays four to seven use:
|
|||||||
The optional keypad can be connected as follows:
|
The optional keypad can be connected as follows:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<table id="hd44780-4-bit.keypad-mapping">
|
<table id="hd44780-4bit.keypad-mapping">
|
||||||
<title>HD44780: 4-bit Keypad Pinouts</title>
|
<title>HD44780: 4bit Keypad Pinouts</title>
|
||||||
<tgroup cols="2">
|
<tgroup cols="2" align="left">
|
||||||
<thead>
|
<thead>
|
||||||
<row>
|
<row>
|
||||||
<entry>printer port</entry>
|
<entry>printer port</entry>
|
||||||
@@ -624,70 +660,104 @@ The optional backlight wiring should be connected to D5, pin 7.
|
|||||||
|
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
<sect3 id="hd44780-8-bit-winamp">
|
<sect3 id="hd44780-8bit-winamp">
|
||||||
<title>8-bit "Winamp"</title>
|
<title>8bit "Winamp"</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
This type of connection should work with winamp.
|
This type of connection should work with winamp.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<table id="hd44780-8-bit-winamp.base-mapping">
|
<table id="hd44780-8bit-winamp.base-mapping">
|
||||||
<title>HD44780: "Winamp" wiring</title>
|
<title>HD44780: "Winamp" wiring</title>
|
||||||
<tgroup cols="2">
|
<tgroup cols="4" align="left">
|
||||||
|
<colspec colname="lpt1"/>
|
||||||
|
<colspec colname="lpt2"/>
|
||||||
|
<colspec colname="lcd1"/>
|
||||||
|
<colspec colname="lcd2"/>
|
||||||
<thead>
|
<thead>
|
||||||
<row>
|
<row>
|
||||||
<entry>printer port</entry>
|
<entry namest="lpt1" nameend="lpt2" align="center">printer port</entry>
|
||||||
<entry>LCD</entry>
|
<entry namest="lcd1" nameend="lcd2" align="center">LCD</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>name</entry>
|
||||||
|
<entry>pin</entry>
|
||||||
|
<entry>name</entry>
|
||||||
|
<entry>pin</entry>
|
||||||
</row>
|
</row>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<row>
|
<row>
|
||||||
<entry>D0 (2)</entry>
|
<entry>D0</entry>
|
||||||
<entry>D0 (7)</entry>
|
<entry>2</entry>
|
||||||
|
<entry>D0</entry>
|
||||||
|
<entry>7</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>D1 (3)</entry>
|
<entry>D1</entry>
|
||||||
<entry>D1 (8)</entry>
|
<entry>3</entry>
|
||||||
|
<entry>D1</entry>
|
||||||
|
<entry>8</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>D2 (4)</entry>
|
<entry>D2</entry>
|
||||||
<entry>D2 (9)</entry>
|
<entry>4</entry>
|
||||||
|
<entry>D2</entry>
|
||||||
|
<entry>9</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>D3 (5)</entry>
|
<entry>D3</entry>
|
||||||
<entry>D3 (10)</entry>
|
<entry>5</entry>
|
||||||
|
<entry>D3</entry>
|
||||||
|
<entry>10</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>D4 (6)</entry>
|
<entry>D4</entry>
|
||||||
<entry>D4 (11)</entry>
|
<entry>6</entry>
|
||||||
|
<entry>D4</entry>
|
||||||
|
<entry>11</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>D5 (7)</entry>
|
<entry>D5</entry>
|
||||||
<entry>D5 (12)</entry>
|
<entry>7</entry>
|
||||||
|
<entry>D5</entry>
|
||||||
|
<entry>12</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>D6 (8)</entry>
|
<entry>D6</entry>
|
||||||
<entry>D6 (13)</entry>
|
<entry>8</entry>
|
||||||
|
<entry>D6</entry>
|
||||||
|
<entry>13</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>D7 (9)</entry>
|
<entry>D7</entry>
|
||||||
<entry>D7 (14)</entry>
|
<entry>9</entry>
|
||||||
|
<entry>D7</entry>
|
||||||
|
<entry>14</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>nSTRB (1)</entry>
|
<entry>nSTRB</entry>
|
||||||
<entry>EN (6)</entry>
|
<entry>(1)</entry>
|
||||||
|
<entry>EN</entry>
|
||||||
|
<entry>6</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>nLF (14)</entry>
|
<entry>nLF</entry>
|
||||||
<entry>nRW (5) (EN3 6 - LCD 3) (optional (*) )</entry>
|
<entry>14</entry>
|
||||||
|
<entry>nRW</entry>
|
||||||
|
<entry>5 (EN3 6 - LCD 3) (optional (*) )</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>INIT (16)</entry>
|
<entry>INIT</entry>
|
||||||
<entry>RS (4)</entry>
|
<entry>16</entry>
|
||||||
|
<entry>RS</entry>
|
||||||
|
<entry>4</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>nSEL (17)</entry>
|
<entry>nSEL</entry>
|
||||||
<entry>EN2 (6 - LCD 2) (optional)</entry>
|
<entry>17</entry>
|
||||||
|
<entry>EN2</entry>
|
||||||
|
<entry>6 - LCD 2) (optional)</entry>
|
||||||
</row>
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
@@ -712,9 +782,9 @@ connected to this line.
|
|||||||
The optional keypad can be connected as follows:
|
The optional keypad can be connected as follows:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<table id="hd44780-8-bit-winamp.keypad-mapping">
|
<table id="hd44780-8bit-winamp.keypad-mapping">
|
||||||
<title>HD44780: "Winamp" wiring - Keypad</title>
|
<title>HD44780: "Winamp" wiring - Keypad</title>
|
||||||
<tgroup cols="2">
|
<tgroup cols="2" align="left">
|
||||||
<thead>
|
<thead>
|
||||||
<row>
|
<row>
|
||||||
<entry>printer port</entry>
|
<entry>printer port</entry>
|
||||||
@@ -792,8 +862,8 @@ The optional backlight wiring should be connected to nSEL, pin 17.
|
|||||||
|
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
<sect3 id="hd44780-8-bit-lcdtime">
|
<sect3 id="hd44780-8bit-lcdtime">
|
||||||
<title>8-bit "lcdtime"</title>
|
<title>8bit "lcdtime"</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
This is originally based on "lcdtime" (by Benjamin Tse
|
This is originally based on "lcdtime" (by Benjamin Tse
|
||||||
@@ -819,63 +889,97 @@ winamp or ext8bit wirings, because it only sends 4 bits at a time.
|
|||||||
The LCD connections are:
|
The LCD connections are:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<table id="hd44780-8-bit-lcdtime.base-mapping">
|
<table id="hd44780-8bit-lcdtime.base-mapping">
|
||||||
<title>HD44780: "lcdtime" wiring</title>
|
<title>HD44780: "lcdtime" wiring</title>
|
||||||
<tgroup cols="2">
|
<tgroup cols="4" align="left">
|
||||||
|
<colspec colname="lpt1"/>
|
||||||
|
<colspec colname="lpt2"/>
|
||||||
|
<colspec colname="lcd1"/>
|
||||||
|
<colspec colname="lcd2"/>
|
||||||
<thead>
|
<thead>
|
||||||
<row>
|
<row>
|
||||||
<entry>printer port</entry>
|
<entry namest="lpt1" nameend="lpt2" align="center">printer port</entry>
|
||||||
<entry>LCD</entry>
|
<entry namest="lcd1" nameend="lcd2" align="center">LCD</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>name</entry>
|
||||||
|
<entry>pin</entry>
|
||||||
|
<entry>name</entry>
|
||||||
|
<entry>pin</entry>
|
||||||
</row>
|
</row>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<row>
|
<row>
|
||||||
<entry>D0 (2)</entry>
|
<entry>D0</entry>
|
||||||
<entry>D0 (7)</entry>
|
<entry>2</entry>
|
||||||
|
<entry>D0</entry>
|
||||||
|
<entry>7</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>D1 (3)</entry>
|
<entry>D1</entry>
|
||||||
<entry>D1 (8)</entry>
|
<entry>3</entry>
|
||||||
|
<entry>D1</entry>
|
||||||
|
<entry>8</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>D2 (4)</entry>
|
<entry>D2</entry>
|
||||||
<entry>D2 (9)</entry>
|
<entry>4</entry>
|
||||||
|
<entry>D2</entry>
|
||||||
|
<entry>9</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>D3 (5)</entry>
|
<entry>D3</entry>
|
||||||
<entry>D3 (10)</entry>
|
<entry>5</entry>
|
||||||
|
<entry>D3</entry>
|
||||||
|
<entry>10</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>D4 (6)</entry>
|
<entry>D4</entry>
|
||||||
<entry>D4 (11)</entry>
|
<entry>6</entry>
|
||||||
|
<entry>D4</entry>
|
||||||
|
<entry>11</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>D5 (7)</entry>
|
<entry>D5</entry>
|
||||||
<entry>D5 (12)</entry>
|
<entry>7</entry>
|
||||||
|
<entry>D5</entry>
|
||||||
|
<entry>12</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>D6 (8)</entry>
|
<entry>D6</entry>
|
||||||
<entry>D6 (13)</entry>
|
<entry>8</entry>
|
||||||
|
<entry>D6</entry>
|
||||||
|
<entry>13</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>D7 (9)</entry>
|
<entry>D7</entry>
|
||||||
<entry>D7 (14)</entry>
|
<entry>9</entry>
|
||||||
|
<entry>D7</entry>
|
||||||
|
<entry>14</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>nSEL (17)</entry>
|
<entry>nSEL</entry>
|
||||||
|
<entry>17</entry>
|
||||||
<entry>-</entry>
|
<entry>-</entry>
|
||||||
|
<entry></entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>nSTRB (1)</entry>
|
<entry>nSTRB</entry>
|
||||||
<entry>RS (4)</entry>
|
<entry>1</entry>
|
||||||
|
<entry>RS</entry>
|
||||||
|
<entry>4</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>nLF (14)</entry>
|
<entry>nLF</entry>
|
||||||
<entry>RW (5) (LCD2 - 6) (optional - pull all LCD RW low (*))</entry>
|
<entry>14</entry>
|
||||||
|
<entry>RW</entry>
|
||||||
|
<entry>5 (LCD2 - 6) (optional - pull all LCD RW low (*)</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>INIT (16)</entry>
|
<entry>INIT</entry>
|
||||||
<entry>EN (6)</entry>
|
<entry>16</entry>
|
||||||
|
<entry>EN</entry>
|
||||||
|
<entry>6</entry>
|
||||||
</row>
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
@@ -897,9 +1001,9 @@ connections.
|
|||||||
The optional keypad can be connected as follows:
|
The optional keypad can be connected as follows:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<table id="hd44780-8-bit-lcdtime.keypad-mapping">
|
<table id="hd44780-8bit-lcdtime.keypad-mapping">
|
||||||
<title>HD44780: "lcdtime" wiring - keypad</title>
|
<title>HD44780: "lcdtime" wiring - keypad</title>
|
||||||
<tgroup cols="2">
|
<tgroup cols="2" align="left">
|
||||||
<thead>
|
<thead>
|
||||||
<row>
|
<row>
|
||||||
<entry>printer port</entry>
|
<entry>printer port</entry>
|
||||||
@@ -1154,7 +1258,7 @@ serialLpt wiring supports a keypad. The 3 wires version supports
|
|||||||
|
|
||||||
<table id="hd44780-seriallpt-keypad.mapping">
|
<table id="hd44780-seriallpt-keypad.mapping">
|
||||||
<title>HD44780: Serial LPT - Keypad return lines</title>
|
<title>HD44780: Serial LPT - Keypad return lines</title>
|
||||||
<tgroup cols="2">
|
<tgroup cols="2" align="left">
|
||||||
<tbody>
|
<tbody>
|
||||||
<row>
|
<row>
|
||||||
<entry>nACK (10)</entry>
|
<entry>nACK (10)</entry>
|
||||||
@@ -1242,7 +1346,7 @@ that. The BL output below should be connected to the BL input in the
|
|||||||
<para>
|
<para>
|
||||||
LIS2 from VLSystem (<ulink url="http://www.vlsys.co.kr"></ulink>) is a full featured USB VFD module
|
LIS2 from VLSystem (<ulink url="http://www.vlsys.co.kr"></ulink>) is a full featured USB VFD module
|
||||||
with four channel fan controls. This device can be accessed as a serial device with the
|
with four channel fan controls. This device can be accessed as a serial device with the
|
||||||
help of the kernel modules <filename>ftdi_sio</filename> that map the USB port to a serial port
|
help of the kernel modules <filename>ftdi_sio.ko</filename> that map the USB port to a serial port
|
||||||
(<filename class="devicefile">/dev/ttyUSB<replaceable>x</replaceable></filename>).
|
(<filename class="devicefile">/dev/ttyUSB<replaceable>x</replaceable></filename>).
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@@ -1290,15 +1394,19 @@ See <ulink url="http://www.jepsennet.de/vdr/"></ulink>
|
|||||||
<title>Pertelian X2040 "pertelian"</title>
|
<title>Pertelian X2040 "pertelian"</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The Pertelian X2040 includes an hd44780 display with enclosure and usb
|
The Pertelian X2040 includes an HD44780 display with enclosure and USB
|
||||||
connection. In order to work with lcdproc you need usbserial and
|
connection.
|
||||||
ftdi_sio modules loaded. Display will be available on /dev/ttyUSB0.
|
|
||||||
|
In order to work with <package>LCDproc</package> in Linux you need
|
||||||
|
the <filename>usbserial.ko</filename> and <filename>ftdi_sio.ko</filename>
|
||||||
|
kernel modules loaded. The display will then be available on a
|
||||||
|
serial port <filename>/dev/ttyUSB<replaceable>x</replaceable></filename>.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
See the
|
See the
|
||||||
<ulink url="http://pertelian.com/joomla/index.php?option=com_content&task=view&id=43&Itemid=48">product
|
<ulink url="http://pertelian.com/joomla/index.php?option=com_content&task=view&id=43&Itemid=48">
|
||||||
page</ulink> for more information.
|
X4020 product page</ulink> for more information.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
</sect3>
|
</sect3>
|
||||||
@@ -1311,7 +1419,8 @@ ftdi_sio modules loaded. Display will be available on /dev/ttyUSB0.
|
|||||||
The PIC-an-LCD module is also supported. It is not connected to the LPT port
|
The PIC-an-LCD module is also supported. It is not connected to the LPT port
|
||||||
but to a serial port, which saves you from a lot of potential problems.
|
but to a serial port, which saves you from a lot of potential problems.
|
||||||
To use it, specify the device to which you have connected the module in the
|
To use it, specify the device to which you have connected the module in the
|
||||||
config file with the Device= setting. The default is /dev/lcd.
|
config file with the <command>Device=</command> setting.
|
||||||
|
The default is <filename>/dev/lcd</filename>.
|
||||||
It does not support a keypad nor backlight switching.
|
It does not support a keypad nor backlight switching.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@@ -1328,10 +1437,11 @@ by Dale Wheat.
|
|||||||
<title>LCD serializer device "lcdserializer"</title>
|
<title>LCD serializer device "lcdserializer"</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
LCD serializer connection is technically the same of PIC-an-LCD with the same advantages,
|
LCD serializer connection is technically the same as PIC-an-LCD with the same advantages,
|
||||||
it uses the serial port making things really simple.
|
it uses the serial port making things really simple.
|
||||||
|
Unlike PIC-an-LCD
|
||||||
<ulink url="http://www.mindspring.com/~tcoonan/lcd.html">LCD serializer</ulink>
|
<ulink url="http://www.mindspring.com/~tcoonan/lcd.html">LCD serializer</ulink>
|
||||||
is not a commercial product like PIC-an-LCD, it's just a project found digging on the net and freely available.
|
is not a commercial product. it's just a project found digging on the net and freely available.
|
||||||
You have all the tools and the code to build it yourself and to customize the behaviour of the device.
|
You have all the tools and the code to build it yourself and to customize the behaviour of the device.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@@ -1352,22 +1462,22 @@ You have all the tools and the code to build it yourself and to customize the be
|
|||||||
<title>Burning the PIC</title>
|
<title>Burning the PIC</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
First, you need to download the asm source for your pic and then make the hex:
|
First, you need to download the ASM source for your PIC and then make the hex:
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
<command>
|
|
||||||
gpasm lcd16f84_custom.asm
|
|
||||||
</command>
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<screen>
|
||||||
|
<prompt>$</prompt> <userinput>gpasm lcd16f84_custom.asm</userinput>
|
||||||
|
</screen>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Now the binary is ready to be flashed to the PIC.
|
Now the binary is ready to be flashed to the PIC.
|
||||||
Connect the programmer with the PIC installed and issue the following command to see it burning ;-):
|
Connect the programmer with the PIC installed and issue the following command to see it burning ;-):
|
||||||
</para>
|
</para>
|
||||||
<para>
|
|
||||||
<command>
|
<screen>
|
||||||
picprog --erase --burn --input lcd16f84.hex --pic /dev/ttyS0
|
<prompt>$</prompt> <userinput>picprog --erase --burn --input lcd16f84.hex --pic /dev/ttyS0</userinput>
|
||||||
</command>
|
</screen>
|
||||||
</para>
|
|
||||||
</sect4>
|
</sect4>
|
||||||
|
|
||||||
<sect4 id="hd44780-lcdserializer-runninglcdproc">
|
<sect4 id="hd44780-lcdserializer-runninglcdproc">
|
||||||
@@ -1379,19 +1489,18 @@ remember this driver uses a baud rate of 9600, so JP2 need to be closed.
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Now power on the board. You should see OK. on the LCD screen, otherwise, double-check all the connections.
|
Now power on the board. You should see <computeroutput>OK</computeroutput> on the LCD screen.
|
||||||
|
Otherwise double-check all the connections.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Change LCDd.conf to include the following statments in the hd44780 section:
|
Change <filename>LCDd.conf</filename> to include the following statements in the <code>[hd44780]</code> section:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<programlisting>
|
||||||
<screen>
|
|
||||||
ConnectionType=lcdserializer
|
ConnectionType=lcdserializer
|
||||||
Device=/dev/ttyS0
|
Device=/dev/ttyS0
|
||||||
</screen>
|
</programlisting>
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Finally, start the daemon and relax watching lcdproc running.
|
Finally, start the daemon and relax watching lcdproc running.
|
||||||
@@ -1437,7 +1546,7 @@ value to ARG1, then the value is sent to the LCD. The fourth line delays the exe
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
You don't have to write the ascii values in your modification, gpasm does the translation for you, so
|
You don't have to write the ASCII values in your modification, gpasm does the translation for you, so
|
||||||
if you want to see Booting... at startup, change the code above to look like this:
|
if you want to see Booting... at startup, change the code above to look like this:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@@ -1554,7 +1663,7 @@ Both options expect a number in the range from <literal>0</literal> to <literal>
|
|||||||
<title>Status</title>
|
<title>Status</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The <code>lcd2usb</code> connection type has been written to support displaysi
|
The <code>lcd2usb</code> connection type has been written to support displays
|
||||||
with one and two HD44780 controllers.
|
with one and two HD44780 controllers.
|
||||||
Owing to the lack of a 2-controller display, it has only been tested with a
|
Owing to the lack of a 2-controller display, it has only been tested with a
|
||||||
1-controller display.
|
1-controller display.
|
||||||
@@ -1584,7 +1693,7 @@ port expander there (PCF8574P in this example).
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<figure id="hd44780-i2c.circuit">
|
<figure id="hd44780-i2c.circuit">
|
||||||
<title>HD44780: PCF8574P port expander on I2C bus</title>
|
<title>HD44780: PCF8574P port expander on I<superscript>2</superscript>C bus</title>
|
||||||
<screen>
|
<screen>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
IC1
|
IC1
|
||||||
@@ -1633,7 +1742,7 @@ port expander there (PCF8574P in this example).
|
|||||||
<sect4 id="hd44780-i2c-config">
|
<sect4 id="hd44780-i2c-config">
|
||||||
<title>Configuration</title>
|
<title>Configuration</title>
|
||||||
|
|
||||||
<figure id="hd44780-i2c-config.example">
|
<example id="hd44780-i2c-config.example">
|
||||||
<title>HD44780: Configuration for I<superscript>2</superscript>C with port expander</title>
|
<title>HD44780: Configuration for I<superscript>2</superscript>C with port expander</title>
|
||||||
<screen>
|
<screen>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
@@ -1648,34 +1757,58 @@ DelayMult=1
|
|||||||
Keypad=no
|
Keypad=no
|
||||||
]]>
|
]]>
|
||||||
</screen>
|
</screen>
|
||||||
</figure>
|
</example>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Device is the device file for your I<superscript>2</superscript>C bus (here /dev/i2c-0).
|
The <command>Device=</command> configuration setting denotes the device file
|
||||||
You have to load the kernel standard module i2c-dev and
|
of your I<superscript>2</superscript>C bus (here <filename>/dev/i2c-0</filename>).
|
||||||
the bus driver, but NO i2c chip modules (e.g. pcf8574)!
|
You have to load the kernel standard module <filename>i2c-dev.ko</filename> and
|
||||||
|
the bus driver, but <emphasis>no</emphasis> I<superscript>2</superscript>C
|
||||||
|
chip modules (e.g. <filename>pcf8574.ko</filename>)!
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Port contains the i2c address of the i2c port expander
|
The <command>Port=</command> config option contains the I<superscript>2</superscript>C
|
||||||
(here 0x20, the PCF8574 from the example above, with all address bits set to 0).
|
address of the I<superscript>2</superscript>C port expander
|
||||||
Bit 8 of the address (normally 0 in I2C addresses) given in port is special:
|
(here 0x20, the PCF8574 from the example above, with all address bits set to <literal>0</literal>).
|
||||||
|
|
||||||
|
Bit 8 of the address (normally <literal>0</literal> in I<superscript>2</superscript>C addresses)
|
||||||
|
has a special meaning:
|
||||||
It tells the driver to treat the device as PCA9554 or similar,
|
It tells the driver to treat the device as PCA9554 or similar,
|
||||||
a device that needs a 2-byte command, and it will be stripped
|
a device that needs a 2-byte command, and it will be stripped
|
||||||
off the address.
|
off the address.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<figure id="hd44780-i2c-config.portexpander-address">
|
<table id="hd44780-i2c-config.portexpander-address">
|
||||||
<title>HD44780: Examples of I<superscript>2</superscript>C port expander adresses</title>
|
<title>HD44780: Examples of I<superscript>2</superscript>C port expander addresses</title>
|
||||||
<screen>
|
<tgroup cols="2" align="left">
|
||||||
<![CDATA[
|
<thead>
|
||||||
port=0x20..0x27 PCF8574 with A[012]=0..7
|
<row>
|
||||||
port=0x38..0x3f PCF8574A with A[012]=0..7
|
<entry><command>Port=</command> value</entry>
|
||||||
port=0xa0..0xa7 PCA9554 with A[012]=0..7
|
<entry>Meaning</entry>
|
||||||
port=0xa0..0xa7 PCA9554A with A[012]=0..7
|
</row>
|
||||||
]]>
|
</thead>
|
||||||
</screen>
|
<tbody>
|
||||||
</figure>
|
<row>
|
||||||
|
<entry><literal>0x20</literal>…<literal>0x27</literal></entry>
|
||||||
|
<entry>PCF8574 with A[012]=<literal>0</literal>…<literal>7</literal></entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry><literal>0x38</literal>…<literal>0x3f</literal></entry>
|
||||||
|
<entry>PCF8574A with A[012]=<literal>0</literal>…<literal>7</literal></entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry><literal>0xa0</literal>…<literal>0xa7</literal></entry>
|
||||||
|
<entry>PCA9554 with A[012]=<literal>0</literal>…<literal>7</literal></entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry><literal>0xa0</literal>…<literal>0xa7</literal></entry>
|
||||||
|
<entry>PCA9554A with A[012]=<literal>0</literal>…<literal>7</literal></entry>
|
||||||
|
</row>
|
||||||
|
</tbody>
|
||||||
|
</tgroup>
|
||||||
|
</table>
|
||||||
|
|
||||||
</sect4>
|
</sect4>
|
||||||
|
|
||||||
</sect3>
|
</sect3>
|
||||||
@@ -1722,9 +1855,10 @@ This can be done by specifying <option>--enable-drivers=all</option> or by inclu
|
|||||||
</term>
|
</term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
If you are using a serial connection, you must
|
If you are using a serial connection, you must
|
||||||
set this parameter to the device your lcd is connected to. For
|
set this parameter to the device your LCD is connected to. For
|
||||||
example, if it's connected to the first serial port, you have to
|
example, if the display is connected to the first serial port,
|
||||||
set Device to /dev/ttyS0. The default value is /dev/lcd.
|
you have to set it to <filename>/dev/ttyS0</filename>.
|
||||||
|
The default value is <filename>/dev/lcd</filename>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@@ -1735,8 +1869,8 @@ This can be done by specifying <option>--enable-drivers=all</option> or by inclu
|
|||||||
<group choice="req">
|
<group choice="req">
|
||||||
<arg choice="plain"><literal><emphasis>4bit</emphasis></literal></arg>
|
<arg choice="plain"><literal><emphasis>4bit</emphasis></literal></arg>
|
||||||
<arg choice="plain"><literal>8bit</literal></arg>
|
<arg choice="plain"><literal>8bit</literal></arg>
|
||||||
<arg choice="plain"><literal>serialLpt</literal></arg>
|
|
||||||
<arg choice="plain"><literal>winamp</literal></arg>
|
<arg choice="plain"><literal>winamp</literal></arg>
|
||||||
|
<arg choice="plain"><literal>serialLpt</literal></arg>
|
||||||
<arg choice="plain"><literal>picanlcd</literal></arg>
|
<arg choice="plain"><literal>picanlcd</literal></arg>
|
||||||
<arg choice="plain"><literal>lcdserializer</literal></arg>
|
<arg choice="plain"><literal>lcdserializer</literal></arg>
|
||||||
<arg choice="plain"><literal>los-panel</literal></arg>
|
<arg choice="plain"><literal>los-panel</literal></arg>
|
||||||
@@ -1755,7 +1889,7 @@ This can be done by specifying <option>--enable-drivers=all</option> or by inclu
|
|||||||
Select the type of the wiring / display connection.
|
Select the type of the wiring / display connection.
|
||||||
</para>
|
</para>
|
||||||
<informaltable>
|
<informaltable>
|
||||||
<tgroup cols="2">
|
<tgroup cols="2" align="left">
|
||||||
<thead>
|
<thead>
|
||||||
<row>
|
<row>
|
||||||
<entry>ConnectionType</entry>
|
<entry>ConnectionType</entry>
|
||||||
@@ -1764,59 +1898,59 @@ This can be done by specifying <option>--enable-drivers=all</option> or by inclu
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>4bit</literal></entry>
|
<entry><literal><link linkend="hd44780-4bit">4bit</link></literal></entry>
|
||||||
<entry>HD44780 4bit Wiring (default)</entry>
|
<entry>HD44780 4bit Wiring (default)</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>8bit</literal></entry>
|
<entry><literal><link linkend="hd44780-8bit-lcdtime">8bit</link></literal></entry>
|
||||||
<entry>HD44780 8bit Wiring ("lcdtime")</entry>
|
<entry>HD44780 8bit Wiring ("lcdtime")</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>serialLpt</literal></entry>
|
<entry><literal><link linkend="hd44780-8bit-winamp">winamp</link></literal></entry>
|
||||||
<entry>HD44780 Serial LPT Wiring</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry><literal>winamp</literal></entry>
|
|
||||||
<entry>HD44780 8bit Wiring "winamp" Style</entry>
|
<entry>HD44780 8bit Wiring "winamp" Style</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>picanlcd</literal></entry>
|
<entry><literal><link linkend="hd44780-seriallpt">serialLpt</link></literal></entry>
|
||||||
|
<entry>HD44780 Serial LPT Wiring</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry><literal><link linkend="hd44780-picanlcd">picanlcd</link></literal></entry>
|
||||||
<entry>PIC-an-LCD serial device "picanlcd"</entry>
|
<entry>PIC-an-LCD serial device "picanlcd"</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>lcdserializer</literal></entry>
|
<entry><literal><link linkend="hd44780-lcdserializer">lcdserializer</link></literal></entry>
|
||||||
<entry>LCD serializer "lcdserializer"</entry>
|
<entry>LCD serializer "lcdserializer"</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>los-panel</literal></entry>
|
<entry><literal><link linkend="hd44780-los-panel">los-panel</link></literal></entry>
|
||||||
<entry>LCD on Serial panel device "los-panel" (<ulink url="http://www.xs4all.nl/~mlf/los/"></ulink>)</entry>
|
<entry>LCD on Serial panel device "los-panel" (<ulink url="http://www.xs4all.nl/~mlf/los/"></ulink>)</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>vdr-lcd</literal></entry>
|
<entry><literal><link linkend="hd44780-vdr-lcd">vdr-lcd</link></literal></entry>
|
||||||
<entry>VDR LCD serial device "vdr-lcd"</entry>
|
<entry>VDR LCD serial device "vdr-lcd"</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>vdr-wakeup</literal></entry>
|
<entry><literal><link linkend="hd44780-vdr-wakeup">vdr-wakeup</link></literal></entry>
|
||||||
<entry>VDR-Wakeup module "vdr-wakeup"</entry>
|
<entry>VDR-Wakeup module "vdr-wakeup"</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>pertelian</literal></entry>
|
<entry><literal><link linkend="hd44780-pertelian">pertelian</link></literal></entry>
|
||||||
<entry>Pertelian X2040 LCD display (<ulink url="http://pertelian.com/joomla/index.php?option=com_content&task=view&id=43&Itemid=48"></ulink>)</entry>
|
<entry>Pertelian X2040 LCD display (<ulink url="http://pertelian.com/joomla/index.php?option=com_content&task=view&id=43&Itemid=48"></ulink>)</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>bwctusb</literal></entry>
|
<entry><literal><link linkend="hd44780-bwctusb">bwctusb</link></literal></entry>
|
||||||
<entry>BWCT USB device "bwctusb" (<ulink url="http://www.bwct.de/lcd.html"></ulink>)</entry>
|
<entry>BWCT USB device "bwctusb" (<ulink url="http://www.bwct.de/lcd.html"></ulink>)</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>lcd2usb</literal></entry>
|
<entry><literal><link linkend="hd44780-lcd2usb">lcd2usb</link></literal></entry>
|
||||||
<entry>Tim Harbaum's LCD2USB (<ulink url="http://www.harbaum.org/till/lcd2usb/"></ulink>)</entry>
|
<entry>Tim Harbaum's LCD2USB (<ulink url="http://www.harbaum.org/till/lcd2usb/"></ulink>)</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>lis2</literal></entry>
|
<entry><literal><link linkend="hd44780-lis2">lis2</link></literal></entry>
|
||||||
<entry>LIS2 from VLSystem (<ulink url="http://www.vlsys.co.kr"></ulink>)</entry>
|
<entry>LIS2 from VLSystem (<ulink url="http://www.vlsys.co.kr"></ulink>)</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>i2c</literal></entry>
|
<entry><literal><link linkend="hd44780-i2c">i2c</link></literal></entry>
|
||||||
<entry>LCD driven by PCF8574(A)/PCA9554(A) connected via I<superscript>2</superscript>C</entry>
|
<entry>LCD driven by PCF8574(A)/PCA9554(A) connected via I<superscript>2</superscript>C</entry>
|
||||||
</row>
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
@@ -1857,12 +1991,12 @@ This can be done by specifying <option>--enable-drivers=all</option> or by inclu
|
|||||||
</arg>
|
</arg>
|
||||||
</term>
|
</term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
You need to set this parameter only if you don't have a standard
|
You need to set this parameter only if you do not have a standard
|
||||||
hd44780 display. ea_ks0073 is the charmap for Electronic
|
HD44780 display. <literal>ea_ks0073</literal> is the charmap for Electronic
|
||||||
Assembly's KS0073 based displays. These devices have a richer
|
Assembly's KS0073 based displays. These devices have a richer
|
||||||
charset, including many icons and many more characters of the
|
charset, including many icons and many more characters of the
|
||||||
ISO-8859-1 than standard hd44780s. Refer to hd44780-charset.h
|
ISO-8859-1 than standard HD44780s. Refer to <filename>hd44780-charset.h</filename>
|
||||||
for more informations.
|
for more information.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@@ -1921,7 +2055,7 @@ This can be done by specifying <option>--enable-drivers=all</option> or by inclu
|
|||||||
</term>
|
</term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
Tell if you have the additional output port ("bargraph") and you want to
|
Tell if you have the additional output port ("bargraph") and you want to
|
||||||
be able to control it with the lcdproc OUTPUT command
|
be able to control it with the lcdproc OUTPUT command.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@@ -1936,8 +2070,9 @@ This can be done by specifying <option>--enable-drivers=all</option> or by inclu
|
|||||||
</arg>
|
</arg>
|
||||||
</term>
|
</term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
Specifies if the last line is pixel addressable or it controls an
|
Specifies whether the lowest pixel line of a character is pixel addressable
|
||||||
underline effect. [default: <literal>yes</literal> (= pixel addressable); legal: <literal>yes</literal>, <literal>no</literal>]
|
or if it controls an underline effect.
|
||||||
|
The default is <literal>yes</literal>, meaning a pixel addressable last pixel line.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@@ -2004,8 +2139,9 @@ This can be done by specifying <option>--enable-drivers=all</option> or by inclu
|
|||||||
</term>
|
</term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
If your display is slow and cannot keep up with the flow of data from
|
If your display is slow and cannot keep up with the flow of data from
|
||||||
LCDd, garbage can appear on the LCDd. Set this delay factor to 2 or 4
|
LCDd, garbage can appear on the LCDd. Set this delay multiplier to
|
||||||
to increase the delays. Default: 1.
|
<literal>2</literal> or <literal>4</literal> to increase the delays.
|
||||||
|
The default is <literal>1</literal> for a non-multiplied delay.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@@ -2035,7 +2171,7 @@ This can be done by specifying <option>--enable-drivers=all</option> or by inclu
|
|||||||
Some displays (e.g. <code>vdr-wakeup</code>) need a message from the driver to that it
|
Some displays (e.g. <code>vdr-wakeup</code>) need a message from the driver to that it
|
||||||
is still alive. When set to a value bigger then <literal>0</literal> the character in the
|
is still alive. When set to a value bigger then <literal>0</literal> the character in the
|
||||||
upper left corner is updated every <replaceable>SECONDS</replaceable> seconds.
|
upper left corner is updated every <replaceable>SECONDS</replaceable> seconds.
|
||||||
Default: <literal>0</literal>.
|
The default <literal>0</literal> does not cause any extra updates.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ For further details, please consult the page and the forum at
|
|||||||
</term>
|
</term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
Set the display size. The default <literal>16x2</literal> should be safe
|
Set the display size. The default <literal>16x2</literal> should be safe
|
||||||
for most iif not all users, since the device seeems to be made only with
|
for most if not all users, since the device seeems to be made only with
|
||||||
this one size.
|
this one size.
|
||||||
But who knowns …
|
But who knowns …
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
|
|||||||
@@ -51,8 +51,8 @@ The keys are mapped according to the following table:
|
|||||||
|
|
||||||
<tip>
|
<tip>
|
||||||
<para>
|
<para>
|
||||||
If you have trouble using the IrMan driver, you might try the lirc driver.
|
If you have trouble using the <code>irman</code> driver, you might try the <code>lirc</code> driver.
|
||||||
lirc supports Irman as well.
|
lirc supports IrMan as well.
|
||||||
</para>
|
</para>
|
||||||
</tip>
|
</tip>
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Using the USB LCD with this driver requires the usblcd library from Mini-box.com
|
Using the USB LCD with this driver requires the usblcd library from Mini-box.com
|
||||||
(avaiable at <ulink url="http://www.mini-box.com/picoLCD-20x2-OEM"/>).i
|
(available at <ulink url="http://www.mini-box.com/picoLCD-20x2-OEM"/>).i
|
||||||
The usblcd library
|
The usblcd library
|
||||||
requires libusb and libhcd. Your distribution may or may not already provide
|
requires libusb and libhcd. Your distribution may or may not already provide
|
||||||
these libraries. The only kernel driver required is the USB host controller
|
these libraries. The only kernel driver required is the USB host controller
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
<command>splash</command> command.
|
<command>splash</command> command.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
To use the picolcd with lcdproc, add picolcd to the lcdproc configure drivers option
|
To use the picolcd with LCDproc, add picolcd to the LCDproc configure drivers option
|
||||||
(or use all) and then start LCDd with the "-d picolcd" option. The driver has
|
(or use all) and then start LCDd with the "-d picolcd" option. The driver has
|
||||||
sane default options and the options that are user configurable are limited to mostly
|
sane default options and the options that are user configurable are limited to mostly
|
||||||
simple items, like contrast and which keys to lights up.
|
simple items, like contrast and which keys to lights up.
|
||||||
@@ -62,7 +62,9 @@
|
|||||||
<arg choice="plain"><replaceable>CONTRAST</replaceable></arg>
|
<arg choice="plain"><replaceable>CONTRAST</replaceable></arg>
|
||||||
</term>
|
</term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
Contrast: 0-1000. 0 is visible, and 1000 is not on my M300. Default is 0.
|
Contrast: <literal>0</literal>-<literal>1000</literal>.
|
||||||
|
<literal>0</literal> is visible, and <literal>1000</literal> is not on my M300.
|
||||||
|
Default is <literal>0</literal>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
@@ -90,7 +92,7 @@
|
|||||||
</arg>
|
</arg>
|
||||||
</term>
|
</term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
If Keylights is set, you can disable the directional pad LED by
|
If <command>Keylights</command> is set, you can disable the directional pad LED by
|
||||||
setting this value to <literal>no</literal>. Default is <literal>yes</literal>.
|
setting this value to <literal>no</literal>. Default is <literal>yes</literal>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
@@ -105,7 +107,7 @@
|
|||||||
</arg>
|
</arg>
|
||||||
</term>
|
</term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
If Keylights is set, you can disable the F1 LED by setting this value
|
If <command>Keylights</command> is set, you can disable the F1 LED by setting this value
|
||||||
to <literal>no</literal>. Default is <literal>yes</literal>.
|
to <literal>no</literal>. Default is <literal>yes</literal>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
@@ -120,7 +122,7 @@
|
|||||||
</arg>
|
</arg>
|
||||||
</term>
|
</term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
If Keylights is set, you can disable the F2 LED by setting this value
|
If <command>Keylights</command> is set, you can disable the F2 LED by setting this value
|
||||||
to <literal>no</literal>. Default is <literal>yes</literal>.
|
to <literal>no</literal>. Default is <literal>yes</literal>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
@@ -135,7 +137,7 @@
|
|||||||
</arg>
|
</arg>
|
||||||
</term>
|
</term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
If Keylights is set, you can disable the F3 LED by setting this value
|
If <command>Keylights</command> is set, you can disable the F3 LED by setting this value
|
||||||
to <literal>no</literal>. Default is <literal>yes</literal>.
|
to <literal>no</literal>. Default is <literal>yes</literal>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
@@ -150,7 +152,7 @@
|
|||||||
</arg>
|
</arg>
|
||||||
</term>
|
</term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
If Keylights is set, you can disable the F4 LED by setting this value
|
If <command>Keylights</command> is set, you can disable the F4 LED by setting this value
|
||||||
to <literal>no</literal>. Default is <literal>yes</literal>.
|
to <literal>no</literal>. Default is <literal>yes</literal>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
@@ -165,7 +167,7 @@
|
|||||||
</arg>
|
</arg>
|
||||||
</term>
|
</term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
If Keylights is set, you can disable the F5 LED by setting this value
|
If <command>Keylights</command> is set, you can disable the F5 LED by setting this value
|
||||||
to <literal>no</literal>. Default is <literal>yes</literal>.
|
to <literal>no</literal>. Default is <literal>yes</literal>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|||||||
@@ -56,26 +56,63 @@ LEDs, similar to what the IOWarrior driver does.
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The Pyramid LC-Display exists in two different versions, with 3 and with
|
The Pyramid LC displays come in two different versions, with 3 and with
|
||||||
9 LEDs. 2 of these LEDs can not be controlled by software but are
|
9 LEDs. Two of these LEDs can not be controlled by software but are
|
||||||
usually hard wired to power and HDD. The other 1 or 7 LEDs can now be
|
usually hard wired to power and HDD. The other 1 or 7 LEDs can now be
|
||||||
controlled by sending an "output" command to the server. The one
|
controlled by sending an <code>output</code> command to the server.
|
||||||
argument to the output command is a bitmask that controls the LEDs.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen>
|
<para>
|
||||||
bit 0: LED3
|
The argument to the <code>output</code> command is a bitmask that controls the LEDs
|
||||||
bit 1: LED4
|
according to the table below:
|
||||||
bit 2: LED5
|
|
||||||
bit 3: LED6
|
<table id="pyramid-ledoutput-mapping">
|
||||||
bit 4: LED7
|
<title>Mapping of <code>output</code> bits to LEDs</title>
|
||||||
bit 5: LED8
|
<tgroup cols="2" align="left">
|
||||||
bit 6: LED9
|
<thead>
|
||||||
</screen>
|
<row>
|
||||||
|
<entry>Bit</entry>
|
||||||
|
<entry>LED</entry>
|
||||||
|
</row>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<row>
|
||||||
|
<entry>0</entry>
|
||||||
|
<entry>3</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>1</entry>
|
||||||
|
<entry>4</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>2</entry>
|
||||||
|
<entry>5</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>3</entry>
|
||||||
|
<entry>6</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>4</entry>
|
||||||
|
<entry>7</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>5</entry>
|
||||||
|
<entry>8</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>6</entry>
|
||||||
|
<entry>9</entry>
|
||||||
|
</row>
|
||||||
|
</tbody>
|
||||||
|
</tgroup>
|
||||||
|
</table>
|
||||||
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
There's no way of finding out whether 3 or 9 LEDs are available, so it
|
For the <application>LCDd</application> server there is no way to find out
|
||||||
is up to the software to do the right thing.
|
whether 3 or 9 LEDs are available, so it is up to the client software
|
||||||
|
to do the right thing.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<example id="pyramid-ledoutput.example">
|
<example id="pyramid-ledoutput.example">
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<para>
|
<para>
|
||||||
This section talks about using LCDproc with graphical LCD displays driven by
|
This section talks about using LCDproc with graphical LCD displays driven by
|
||||||
the EPSON/SMOS SED1330 or SED1335 LCD controllers, which may also be known by their
|
the EPSON/SMOS SED1330 or SED1335 LCD controllers, which may also be known by their
|
||||||
new names: S1D13300 (= SED1330) and S1D13305 (SED1335).
|
new names: S1D13300 (= SED1330) and S1D13305 (= SED1335).
|
||||||
|
|
||||||
The displays are driven in text mode using their built-in character generator.
|
The displays are driven in text mode using their built-in character generator.
|
||||||
</para>
|
</para>
|
||||||
@@ -18,74 +18,423 @@ Always consult documentation about the specific display before asuming
|
|||||||
the connections given here are also correct for your display !
|
the connections given here are also correct for your display !
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<table id="sed1330-connections.classic-by-lcd">
|
||||||
|
<title>ConnectionType <literal>classic</literal> ordered by LCD pins</title>
|
||||||
|
<tgroup cols="5" align="left">
|
||||||
|
<colspec colname="lcd1"/>
|
||||||
|
<colspec colname="lcd2" align="right"/>
|
||||||
|
<colspec colname="base" align="center"/>
|
||||||
|
<colspec colname="lpt1" align="right"/>
|
||||||
|
<colspec colname="lpt2"/>
|
||||||
|
<thead>
|
||||||
|
<row>
|
||||||
|
<entry namest="lcd1" nameend="lcd2" align="center" rowsep="0">LCD</entry>
|
||||||
|
<entry morerows="1"><-></entry>
|
||||||
|
<entry namest="lpt1" nameend="lpt2" align="center" rowsep="0">LPT port</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>name</entry>
|
||||||
|
<entry>pin</entry>
|
||||||
|
<entry>pin</entry>
|
||||||
|
<entry>name</entry>
|
||||||
|
</row>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<row>
|
||||||
|
<entry>^RESET</entry>
|
||||||
|
<entry>1</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>1</entry>
|
||||||
|
<entry>^STROBE</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>^RD</entry>
|
||||||
|
<entry>2</entry>
|
||||||
|
<entry>+5V</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>^WR</entry>
|
||||||
|
<entry>3</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>16</entry>
|
||||||
|
<entry>^INIT</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>SEL1</entry>
|
||||||
|
<entry>4</entry>
|
||||||
|
<entry>GND</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>SEL2</entry>
|
||||||
|
<entry>5</entry>
|
||||||
|
<entry>GND</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>^CS</entry>
|
||||||
|
<entry>6</entry>
|
||||||
|
<entry>GND</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>A0</entry>
|
||||||
|
<entry>7</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>17</entry>
|
||||||
|
<entry>^SELECT_IN</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>D0</entry>
|
||||||
|
<entry>8</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>2</entry>
|
||||||
|
<entry>D0</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>D1</entry>
|
||||||
|
<entry>9</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>3</entry>
|
||||||
|
<entry>D1</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>D2 </entry>
|
||||||
|
<entry>10</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>4</entry>
|
||||||
|
<entry>D2</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>D3</entry>
|
||||||
|
<entry>11</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>5</entry>
|
||||||
|
<entry>D3</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>D4</entry>
|
||||||
|
<entry>12</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>6</entry>
|
||||||
|
<entry>D4</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>D5</entry>
|
||||||
|
<entry>13</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>7</entry>
|
||||||
|
<entry>D5</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>D6</entry>
|
||||||
|
<entry>14</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>8</entry>
|
||||||
|
<entry>D6</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>D7</entry>
|
||||||
|
<entry>15</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>9</entry>
|
||||||
|
<entry>D7</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>Vdd</entry>
|
||||||
|
<entry>16</entry>
|
||||||
|
<entry>+5V</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>Vss</entry>
|
||||||
|
<entry>17</entry>
|
||||||
|
<entry>GND</entry>
|
||||||
|
<entry>18..25</entry>
|
||||||
|
<entry>GND</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>V0</entry>
|
||||||
|
<entry>18</entry>
|
||||||
|
<entry>potentiometer</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>Vlc</entry>
|
||||||
|
<entry>19</entry>
|
||||||
|
<entry>-24V (not required for G242C)</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>Frame</entry>
|
||||||
|
<entry>20</entry>
|
||||||
|
<entry>GND</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>10</entry>
|
||||||
|
<entry>^ACK</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>GND</entry>
|
||||||
|
<entry>11</entry>
|
||||||
|
<entry>BUSY</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>12</entry>
|
||||||
|
<entry>PAPEREND</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>13</entry>
|
||||||
|
<entry>^SELECT</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>14</entry>
|
||||||
|
<entry>^LF</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>15</entry>
|
||||||
|
<entry>^ERROR</entry>
|
||||||
|
</row>
|
||||||
|
</tbody>
|
||||||
|
</tgroup>
|
||||||
|
</table>
|
||||||
|
|
||||||
ConnectionType <literal>classic</literal> ordered by LCD pins
|
<table id="sed1330-connections.classic-by-lpt">
|
||||||
<screen>
|
<title>ConnectionType <literal>classic</literal> ordered by LPT port pins</title>
|
||||||
<![CDATA[
|
<tgroup cols="5" align="left">
|
||||||
LCD pin? <---> pin LPT port
|
<colspec colname="lcd1"/>
|
||||||
^RESET 1 1 ^STROBE
|
<colspec colname="lcd2" align="right"/>
|
||||||
^RD 2 +5V
|
<colspec colname="base" align="center"/>
|
||||||
^WR 3 16 ^INIT
|
<colspec colname="lpt1" align="right"/>
|
||||||
SEL1 4 GND
|
<colspec colname="lpt2"/>
|
||||||
SEL2 5 GND
|
<thead>
|
||||||
^CS 6 GND
|
<row>
|
||||||
A0 7 17 ^SELECT_IN
|
<entry namest="lcd1" nameend="lcd2" align="center" rowsep="0">LCD</entry>
|
||||||
D0 8 2 D0
|
<entry morerows="1"><-></entry>
|
||||||
D1 9 3 D1
|
<entry namest="lpt1" nameend="lpt2" align="center" rowsep="0">LPT port</entry>
|
||||||
D2 10 4 D2
|
</row>
|
||||||
D3 11 5 D3
|
<row>
|
||||||
D4 12 6 D4
|
<entry>name</entry>
|
||||||
D5 13 7 D5
|
<entry>pin</entry>
|
||||||
D6 14 8 D6
|
<entry>pin</entry>
|
||||||
D7 15 9 D7
|
<entry>name</entry>
|
||||||
Vdd 16 +5V
|
</row>
|
||||||
Vss 17 GND 18..25 GND
|
</thead>
|
||||||
V0 18 potmeter
|
<tbody>
|
||||||
Vlc 19 -24V
|
<row>
|
||||||
Frame 20 GND
|
<entry>^RESET</entry>
|
||||||
10 ^ACK
|
<entry>1</entry>
|
||||||
GND 11 BUSY
|
<entry></entry>
|
||||||
12 PAPEREND
|
<entry>1</entry>
|
||||||
13 ^SELECT
|
<entry>^STROBE</entry>
|
||||||
14 ^LF
|
</row>
|
||||||
15 ^ERROR
|
<row>
|
||||||
]]>
|
<entry>D0</entry>
|
||||||
</screen>
|
<entry>8</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>2</entry>
|
||||||
|
<entry>D0</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>D1</entry>
|
||||||
|
<entry>9</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>3</entry>
|
||||||
|
<entry>D1</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>D2 </entry>
|
||||||
|
<entry>10</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>4</entry>
|
||||||
|
<entry>D2</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>D3</entry>
|
||||||
|
<entry>11</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>5</entry>
|
||||||
|
<entry>D3</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>D4</entry>
|
||||||
|
<entry>12</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>6</entry>
|
||||||
|
<entry>D4</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>D5</entry>
|
||||||
|
<entry>13</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>7</entry>
|
||||||
|
<entry>D5</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>D6</entry>
|
||||||
|
<entry>14</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>8</entry>
|
||||||
|
<entry>D6</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>D7</entry>
|
||||||
|
<entry>15</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>9</entry>
|
||||||
|
<entry>D7</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>10</entry>
|
||||||
|
<entry>^ACK</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>GND</entry>
|
||||||
|
<entry>11</entry>
|
||||||
|
<entry>BUSY</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>12</entry>
|
||||||
|
<entry>PAPEREND</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>13</entry>
|
||||||
|
<entry>^SELECT</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>14</entry>
|
||||||
|
<entry>^LF</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>15</entry>
|
||||||
|
<entry>^ERROR</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>^WR</entry>
|
||||||
|
<entry>3</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>16</entry>
|
||||||
|
<entry>^INIT</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>A0</entry>
|
||||||
|
<entry>7</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>17</entry>
|
||||||
|
<entry>^SELECT_IN</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>Vss</entry>
|
||||||
|
<entry>17</entry>
|
||||||
|
<entry>GND</entry>
|
||||||
|
<entry>18..25</entry>
|
||||||
|
<entry>GND</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>^RD</entry>
|
||||||
|
<entry>2</entry>
|
||||||
|
<entry>+5V</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>SEL1</entry>
|
||||||
|
<entry>4</entry>
|
||||||
|
<entry>GND</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>SEL2</entry>
|
||||||
|
<entry>5</entry>
|
||||||
|
<entry>GND</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>^CS</entry>
|
||||||
|
<entry>6</entry>
|
||||||
|
<entry>GND</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>Vdd</entry>
|
||||||
|
<entry>16</entry>
|
||||||
|
<entry>+5V</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>V0</entry>
|
||||||
|
<entry>18</entry>
|
||||||
|
<entry>potentiometer</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>Vlc</entry>
|
||||||
|
<entry>19</entry>
|
||||||
|
<entry>-24V (not required for G242C)</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>Frame</entry>
|
||||||
|
<entry>20</entry>
|
||||||
|
<entry>GND</entry>
|
||||||
|
<entry></entry>
|
||||||
|
<entry></entry>
|
||||||
|
</row>
|
||||||
|
</tbody>
|
||||||
|
</tgroup>
|
||||||
|
</table>
|
||||||
|
|
||||||
ConnectionType <literal>classic</literal> ordered by LPT port pins
|
The potentiometer should be connected like this on these display modules:
|
||||||
<screen>
|
|
||||||
<![CDATA[
|
|
||||||
LCD pin? <---> pin LPT port
|
|
||||||
^RESET 1 1 ^STROBE
|
|
||||||
D0 8 2 D0
|
|
||||||
D1 9 3 D1
|
|
||||||
D2 10 4 D2
|
|
||||||
D3 11 5 D3
|
|
||||||
D4 12 6 D4
|
|
||||||
D5 13 7 D5
|
|
||||||
D6 14 8 D6
|
|
||||||
D7 15 9 D7
|
|
||||||
10 ^ACK
|
|
||||||
GND 11 BUSY
|
|
||||||
12 PAPEREND
|
|
||||||
13 ^SELECT
|
|
||||||
14 ^LF
|
|
||||||
15 ^ERROR
|
|
||||||
^WR 3 16 ^INIT
|
|
||||||
A0 7 17 ^SELECT_IN
|
|
||||||
Vss 17 GND 18..25 GND
|
|
||||||
^RD 2 +5V
|
|
||||||
SEL1 4 GND
|
|
||||||
SEL2 5 GND
|
|
||||||
^CS 6 GND
|
|
||||||
Vdd 16 +5V
|
|
||||||
V0 18 potmeter
|
|
||||||
Vlc 19 -24V (not required for G242C)
|
|
||||||
Frame 20 GND
|
|
||||||
]]>
|
|
||||||
</screen>
|
|
||||||
|
|
||||||
The potmeter should be connected like this on these display modules:
|
|
||||||
|
|
||||||
<screen>
|
<screen>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
@@ -97,7 +446,7 @@ The potmeter should be connected like this on these display modules:
|
|||||||
'-'
|
'-'
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
.-.10k potmeter
|
.-.10k potentiometer
|
||||||
| |
|
| |
|
||||||
| |<----------------o V0
|
| |<----------------o V0
|
||||||
| |
|
| |
|
||||||
@@ -243,8 +592,8 @@ use the following circuit.
|
|||||||
</term>
|
</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Type of LCD module. Besised other things (internal setup) this configuration setting
|
Type of LCD module. Besides other things (internal setup) this configuration setting
|
||||||
detrmines the size of the display in pixels.
|
determines the size of the display in pixels.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<informaltable>
|
<informaltable>
|
||||||
@@ -292,7 +641,7 @@ use the following circuit.
|
|||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Contrary to other drivers the character size of an LCD using the sed1330i
|
Contrary to other drivers the character size of an LCD using the sed1330
|
||||||
driver is not given directly.
|
driver is not given directly.
|
||||||
Instead it is determined by the pixel size of the display, which is derived from
|
Instead it is determined by the pixel size of the display, which is derived from
|
||||||
the display type setting and the character cell size.
|
the display type setting and the character cell size.
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ barebones.
|
|||||||
<para>
|
<para>
|
||||||
The LCD modules used on the front side of the Tyan GS10 and GS12 series
|
The LCD modules used on the front side of the Tyan GS10 and GS12 series
|
||||||
barebones consist of an LCD display by Winstar Display Co. LTD
|
barebones consist of an LCD display by Winstar Display Co. LTD
|
||||||
that is 16 characters wide and 2 lines. high.
|
that is 16 characters wide and 2 lines high.
|
||||||
To the right of the display there is a 6 button keypad:
|
To the right of the display there is a 6 button keypad:
|
||||||
4 array buttons and two buttons labeled <literal>C</literal> and <literal>S</literal>.
|
4 array buttons and two buttons labeled <literal>C</literal> and <literal>S</literal>.
|
||||||
</para>
|
</para>
|
||||||
|
|||||||
Reference in New Issue
Block a user