LCD1602#
Key Points#
LCD1602直接驱动的方法
LCD1602 I2C驱动的方法
PCF8754x 转接板的原理与连接方法
Review#
驱动 LCD 1602 主要有两种方法,一种是直接驱动,需要占用单片机较多的I/O口;另一种是使用 I2C接口来驱动,一般是用 PCF8754x 芯片做的 I2C转接板。
LCD 1602 的工作模式有4bit模式和8bit 模式两种,前者更节省I/O口,后者更快速。
PCF8754x 在将单片机的控制字 1Byte 转接到 LCD 时,因为同时需要表示 RS、 RW 等控制信号,又要表示命令,所以一般(总是)使用 LCD 1602 的 4bit 工作模式。
注意事项#
PCF8754x 有 PCF8754、PCF8754A 等不同型号,它们的 I2C 地址可能不同。
Library#
LiquidCrystal Library - Arduino Reference
Liquid Crystal Displays (LCD) with Arduino Tutorial| Arduino Documentation
arduino-libraries/LiquidCrystal: Liquid Crystal Library for Arduino
johnrickman/LiquidCrystal_I2C: LiquidCrystal Arduino library for the DFRobot I2C LCD displays
krovma/LCD1602: A full library of LCD1602 on Arduino
Arduino I2C Use | I2C/SPI LCD Backpack | Adafruit Learning System
Arduino - LCD I2C | Arduino Tutorial
Arduino - LCD | Arduino Tutorial
Grove - 16x2 LCD | Seeed Studio Wiki
Character I2C LCD with Arduino Tutorial (8 Examples)
Tutorials#
long Examples#
Arduino 16x2 LCD Tutorial - Interfacing 16x2 LCD with Arduino
Arduino LCD using a 16x2 Liquid Crystal Display - Pi My Life Up
Character I2C LCD with Arduino Tutorial (8 Examples)
Interfacing I2C 16x2 Character LCD with Arduino - Electropeak
LCD1602 RGB Module - Waveshare Wiki
直接驱动 LCD1602
In-Depth Tutorial to Interface 16x2 Character LCD Module with Arduino
I2C驱动LCD1602