hollobon / 1602a_lcd

Simple example of driving a 1602a LCD with a shift register

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example of how to drive a 1602a LCD from an AVR ATmega32u4 with a 74HC595 shift register.

Wiring

32u4 PD0 - 1602a E
32u4 PD1 - 1602a RS
ground   - 1602a R/W
32u4 PE6 - 74HC595 DS
32u4 PB5 - 74HC595 SHCP
32u4 PB4 - 74HC595 STCP
pull up  - 74HC595 !MR
ground   - 74HC595 !OE

The 74HC595 should have Q0-Q7 wired to D0-D7 on the LCD board.

Example

alt text

Datasheet

Hitachi HD44780U.

About

Simple example of driving a 1602a LCD with a shift register


Languages

Language:Makefile 84.0%Language:C 16.0%