← AXO-005

Circuit review & bench-test guide

AXO-005 — LCD1602 character LCD PMOD module

Design-stage — board not yet fabricated

Document purpose#

Component-level explanation and bench-test plan for axo-005-lcd1602, from generate_design.py, the module README.md, and the WC1602A/HD44780 and SN74AHCT541 datasheets. Never fabricated; values are verification targets. A mixed-voltage board (5 V LCD, 3.3 V host) — read the sequencing notes.

1. What the board does#

Drives a standard 16×2 HD44780 character LCD in 4-bit mode. The LCD runs at 5 V; its logic VIH (0.7·VDD = 3.5 V) exceeds the FPGA's 3.3 V, so RS/E/D4–D7 are buffered up through a 74AHCT541. R/W is grounded (write-only) so no 5 V signal ever returns toward the host.

PMOD J1  RS/E/D4-D7 ─> U2 74AHCT541 (3.3->5V, VCC=5V) ─> U1 WC1602A
EXT 5V J2 ─> U1 VDD, U2 VCC, backlight ; contrast trimmer -> U1 VO ; R/W -> GND

2. Safety and scope boundaries#

4. Interfaces#

5. Component-by-component review#

6. Datasheet summary (HD44780 / WC1602A)#

74AHCT541: VCC 4.5–5.5 V, TTL inputs, 8 buffered lines, two ~OE.

7. Expected values before bench testing#

8. Manual review checklist#

9. Ordered bench-test procedure#

A. Unpowered: confirm R/W→GND, buffer path host→U2→U1, contrast trimmer connection, backlight resistor; no rail short.

B. Rail sequence + contrast: 3.3 V first, then 5 V. Adjust the trimmer until row 1 shows faint blocks — this alone proves the LCD is powered and contrast is in range.

C. Buffer scope: toggle E from the host; scope U2 input (3.3 V) and output (5 V); confirm clean 5 V edges.

D. Init + text: run the 4-bit init sequence with proper delays; write "HELLO WORLD"; confirm legible characters. (No busy-flag — use datasheet delays.)

E. Cursor/DDRAM: set DDRAM address to line 2 (0xC0); write text; confirm second-row addressing.

F. Backlight: toggle the backlight jumper/enable; confirm on/off and measure backlight current (~120 mA nominal).

10. Troubleshooting map#

11. Bench record template#

Board: axo-005  Contrast blocks visible: [ ]  VO: __ V
U2 output swing: __ V   R/W at GND: [ ]
"HELLO" legible: [ ]   Line-2 addressing OK: [ ]
Backlight current: ____ mA
Notes:

12. Review conclusion#

The engineering content is (1) the 5 V buffer, needed because HD44780 VIH exceeds 3.3 V, and (2) the write-only R/W-grounded choice that removes any 5 V return path at the cost of busy-flag polling. On the bench, contrast-first is the rule that saves the most time — a blank-but-backlit display is almost always VO, not a fault.