4-bit parallel bus
Transfer the upper nibble first, then the lower nibble. In the write-only circuit, keep R/W low and wait for command completion in firmware. A bidirectional 4-bit interface also uses two E pulses per read.
This 16×2 character module exposes the parallel command and data bus used by the HD44780 controller family.
Logic supply and controller ground.
| Pin | Signal | Direction | Function |
|---|---|---|---|
| 1 | VSS Return | Return | Logic supply and controller ground. |
| 2 | VCC Supply | Supply | 5 V logic supply. |
| 3 | VEE Input | Input | Use a 10–20 kΩ potentiometer between VCC and VSS, with its wiper here. At 5 V and 25 °C, adjust VEE to about 0.2–0.8 V above VSS (0.5 V typical). |
| 4 | RS Input | Input | On writes, low selects instructions and high selects data. On reads, low selects busy flag and address, and high selects DDRAM or CGRAM data. |
| 5 | R/W Input | Input | Low for writes, high for reads. Tie to VSS for write-only wiring or connect to a host output for read/write wiring. |
| 6 | E Input | Input | Enable has no internal pull-up. Hold E low at startup, including while the host pin is high impedance. Writes latch on the falling edge. Sample reads while E is high after the data delay. |
| 7 | DB0 Bidirectional | Bidirectional | Parallel data bit 0. Leave open in 4-bit mode. |
| 8 | DB1 Bidirectional | Bidirectional | Parallel data bit 1. Leave open in 4-bit mode. |
| 9 | DB2 Bidirectional | Bidirectional | Parallel data bit 2. Leave open in 4-bit mode. |
| 10 | DB3 Bidirectional | Bidirectional | Parallel data bit 3. Leave open in 4-bit mode. |
| 11 | DB4 Bidirectional | Bidirectional | Parallel data bit 4. Used in both bus widths. |
| 12 | DB5 Bidirectional | Bidirectional | Parallel data bit 5. Used in both bus widths. |
| 13 | DB6 Bidirectional | Bidirectional | Parallel data bit 6. Used in both bus widths. |
| 14 | DB7 Bidirectional | Bidirectional | Parallel data bit 7. Used in both bus widths. Carries the busy flag when RS is low and R/W is high. |
Transfer the upper nibble first, then the lower nibble. In the write-only circuit, keep R/W low and wait for command completion in firmware. A bidirectional 4-bit interface also uses two E pulses per read.
One E pulse transfers all eight bits after 8-bit initialization (DL = 1). For reads, set R/W high and release DB0–DB7 before raising E.
| Parameter | Limit | Conditions and source |
|---|---|---|
| Module logic supply4.5–5.5 V | 4.5–5.5 V | Specified at 25 °C with VSS at ground. Optrex DMC16230-AAE-DW No. 2000-0270, § 2.2 |
| Logic input levels≤0.6 V low · ≥2.2 V high | ≤0.6 V low · ≥2.2 V high | For a 5 V supply within ±10%. Optrex DMC16230-AAE-DW No. 2000-0270, § 2.2 |
| Read output levelsLOW ≤0.4 V · HIGH ≥2.4 V | LOW ≤0.4 V · HIGH ≥2.4 V | At 25 °C, with IOL = 1.2 mA and IOH = −0.205 mA respectively. Use host inputs that recognize the LCD output levels and tolerate up to the module’s VCC (5 V nominal), or add bidirectional level translation on the data bus. Optrex DMC16230-AAE-DW No. 2000-0270, § 2.2 |
| Read timingE high ≥230 ns · data valid within 160 ns | E high ≥230 ns · data valid within 160 ns | At VCC = 5 V ±10%. Set up RS and R/W ≥40 ns before E rises and hold them ≥10 ns after E falls. Allow ≥500 ns per E cycle. Keep E rise and fall times ≤20 ns. Read data is held for ≥5 ns after E falls. Optrex DMC16230-AAE-DW No. 2000-0270, § 2.3, Fig. 2 |
| LCD drive (contrast)VCC − VEE = 4.2–4.8 V (typ. 4.5 V) | VCC − VEE = 4.2–4.8 V (typ. 4.5 V) | Recommended at 25 °C. With VCC = 5.0 V, VEE is about 0.2–0.8 V above VSS (typ. 0.5 V). Adjust for viewing conditions and temperature. Optrex DMC16230-AAE-DW No. 2000-0270, § 3.1 |
| Contrast potentiometer10–20 kΩ | 10–20 kΩ | Connect between VCC and VSS with its wiper at VEE. Optrex DMC16230-AAE-DW No. 2000-0270, § 4.2 |
The pin map and electrical limits follow the Optrex DMC16230-AAE-DW 14-contact module. The command examples follow the Hitachi HD44780U. Optrex permits an equivalent controller. Backlit modules and bare controller packages use their own mechanical drawings.