Spark Logic

HD44780 character LCD module interface pinout

This 16×2 character module exposes the parallel command and data bus used by the HD44780 controller family.

Optrex DMC16230-AAE-DW

14 contacts Current package

Optrex / Hitachi· Fourteen-contact LCD module interface.

Optrex DMC16230-AAE-DW pinout

Optrex DMC16230-AAE-DW
Contact sequence in the module drawing. Identify the board’s pin 1 marker before wiring.
Selected pin details

1 · VSS

Return · Ground

Logic supply and controller ground.

Optrex DMC16230-AAE-DW No. 2000-0270, § 4.1

Electrical limits · Link to this pin

Wire power and contrast

  • 5 V logic
    • 5 V supply
    • RV1 high
    • C1.1
  • Ground
    • Supply return
    • Controller ground
    • RV1 low
    • C1.2
  • Contrast bias
    • →
    • RV1 wiper
  • Enable
    • →
    • Controller E output (low at startup)
C1 100 nF between 5 V logic and Ground5 V logicC1 100 nFGround

Connection guide

All 14 pins

PinSignalDirectionFunction
1VSS ReturnReturn Logic supply and controller ground.
2VCC SupplySupply 5 V logic supply.
3VEE InputInput 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).
4RS InputInput On writes, low selects instructions and high selects data. On reads, low selects busy flag and address, and high selects DDRAM or CGRAM data.
5R/W InputInput Low for writes, high for reads. Tie to VSS for write-only wiring or connect to a host output for read/write wiring.
6E InputInput 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.
7DB0 BidirectionalBidirectional Parallel data bit 0. Leave open in 4-bit mode.
8DB1 BidirectionalBidirectional Parallel data bit 1. Leave open in 4-bit mode.
9DB2 BidirectionalBidirectional Parallel data bit 2. Leave open in 4-bit mode.
10DB3 BidirectionalBidirectional Parallel data bit 3. Leave open in 4-bit mode.
11DB4 BidirectionalBidirectional Parallel data bit 4. Used in both bus widths.
12DB5 BidirectionalBidirectional Parallel data bit 5. Used in both bus widths.
13DB6 BidirectionalBidirectional Parallel data bit 6. Used in both bus widths.
14DB7 BidirectionalBidirectional Parallel data bit 7. Used in both bus widths. Carries the busy flag when RS is low and R/W is high.

Signal assignments

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.

Electrical limits

ParameterLimitConditions and source
Module logic supply4.5–5.5 V4.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 VLOW ≤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 nsE 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

Models and documents

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.

DMC16230-AAE-DW
16 characters × 2 lines, fourteen electrical contacts.
  • Optrex DMC16230-AAE-DW No. 2000-0270· Module DC levels and bus timing (§§ 2.2–2.3), contrast (§ 3.1), pin assignment and power circuit (§§ 4.1–4.2).
  • Hitachi HD44780U data sheet· Bus instructions (Table 6), 8-bit and 4-bit initialization (Figs. 23–24), and read timing (Fig. 26).
  • Source register· Document revisions, applicable order codes, consulted sections and available file checksums.