Mike Kowalski
Published © GPL3+

4 Wire LCD Control with BL and Contrast Using Shift Register

Control a 16x2 LCD, including contrast and backlight in code, using a shift register. Includes library with fade and backlight functions.

IntermediateShowcase (no instructions)1 hour5,999
4 Wire LCD Control with BL and Contrast Using Shift Register

Things used in this project

Hardware components

Standard LCD - 16x2 White on Blue
Adafruit Standard LCD - 16x2 White on Blue
×1
General Purpose Transistor NPN
General Purpose Transistor NPN
2N1702N used in prototype.
×1
STMicroelectronics MMBT3904
1AM used in finished product.
×1
Texas Instruments SN74HC595N
Used in prototype.
×1
NXP 74HC595D
Used in finished product.
×1
Resistor 10k ohm
Resistor 10k ohm
Transistor Base Resistor. Used in prototype.
×1
SMD Resistor 10kΩ
Used in finished product.
×1
Resistor 475 ohm
Resistor 475 ohm
Current Limiting for LED backlight. Used in prototype.
×1
SMD Resistor 470Ω
Used in finished product.
×1
Arduino UNO
Arduino UNO
×1
Arduino Nano R3
Arduino Nano R3
×1

Software apps and online services

Arduino IDE
Arduino IDE
Autodesk Eagle
EasyEDA

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
Optional

Story

Read more

Schematics

LCD Using 74HC595 and SPI

Project recreated in Fritzing including breadboard diagram, schematic, and possible PCB design for breakout board.

Code

LiquidCrystal_custom

Modified LiquidCrystal library with the addition of contrast and backlight control, and fade/highlight functions.

Credits

Mike Kowalski

Mike Kowalski

0 projects • 3 followers

Comments