Pinout
16×2 character LCD (HD44780, 16-pin) pinout

Pins
- 1: VSS (GND)
- 2: VDD (+5V)
- 3: V0 (contrast — via a trim pot to GND)
- 4: RS (register select — data vs. command)
- 5: R/W (read/write — tie low to always-write)
- 6: E (enable strobe)
- 7-14: D0-D7 (data bus — only D4-D7 are wired in the common 4-bit mode)
- 15: A (backlight anode, +5V through a resistor)
- 16: K (backlight cathode, GND)
Specifications
| Controller | HD44780 or compatible |
|---|---|
| Display | 16 characters × 2 lines, 5 × 8 dot cells |
| Supply voltage | 5 V (3.3 V versions exist) |
| Logic level | 5 V (TTL) |
| Interface | Parallel, 4-bit or 8-bit |
| Custom characters | 8 (CGRAM) |
| Contrast | V0 via 10 kΩ trim pot |
| Backlight | LED on pins 15/16, through a resistor |
| I2C backpack (optional) | PCF8574 at 0x27, PCF8574A at 0x3F |






