Bringup
Open the editor
Behavioural mixed-signal model1602A HD44780lcd_hd44780

LCD 16×2 / 20×4 (HD44780, parallel)

Text LCD with HD44780 controller: 4- or 8-bit bus (RS, E, D4–D7 is enough), R/W to GND. Contrast via V0: VDD − V0 ≈ 4 V (10 kΩ pot between VDD and GND, wiper to V0) – without suitable contrast the display stays blank. Backlight A/K with a 100 Ω series resistor. Commands during BUSY (37 µs, clear/home 1.52 ms) are lost. Drive with LiquidCrystal.

VSSVDDV0RSRWED0D1D2D3D4D5D6D7AK
Schematic symbol

Key data

Category
Modules
Simulation model
Behavioural mixed-signal model
Manufacturer part number
1602A HD44780
Reference prefix
DS
Pins
16
Land pattern
PinHeader_1x16_P2.54mm_Vertical

Simulation model

A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.

Model
lcd_hd44780
Supply pins
VDD / VSS

Pins 16

PinNameUse
VSSVSSGround pinGround
VDDVDDSupply pinSupply 5 V
V0V0Input pinContrast: wiper of a 10 kΩ potentiometer between VDD and GND
RSRSInput pinRegister select: command / data
RWRWInput pinRead/write: tie to GND (write only)
EEInput pinEnable: falling edge latches the data
D0D0Input pinData bit 0: unused in 4-bit mode
D1D1Input pinData bit 1: unused in 4-bit mode
D2D2Input pinData bit 2: unused in 4-bit mode
D3D3Input pinData bit 3: unused in 4-bit mode
D4D4Input pinData bit 4 (4-bit mode)
D5D5Input pinData bit 5 (4-bit mode)
D6D6Input pinData bit 6 (4-bit mode)
D7D7Input pinData bit 7 (4-bit mode)
AASupply pinBacklight anode: through a resistor to 5 V
KKGround pinBacklight cathode: to GND

Parameters 1

Formatsize
Default16x2
16x220x4

PCB

Connector / off-boardPinHeader_1x16_P2.54mm_Vertical

LCD module on a 16-pin header (1 VSS, 2 VDD, 3 V0, 4 RS, 5 RW, 6 E, 7–14 D0–D7, 15 A, 16 K)