DIYables LCD 20x4 Display I2C Interface for Arduino, ESP32, ESP8266, Raspberry Pi

LCD 20x4 Display I2C Interface for Arduino, ESP32, ESP8266, Raspberry Pi
LCD 20x4 Display I2C Interface for Arduino, ESP32, ESP8266, Raspberry Pi
LCD 20x4 Display I2C Interface for Arduino, ESP32, ESP8266, Raspberry Pi
LCD 20x4 Display I2C Interface for Arduino, ESP32, ESP8266, Raspberry Pi
LCD 20x4 Display I2C Interface for Arduino, ESP32, ESP8266, Raspberry Pi
LCD 20x4 Display I2C Interface for Arduino, ESP32, ESP8266, Raspberry Pi
LCD 20x4 Display I2C Interface for Arduino, ESP32, ESP8266, Raspberry Pi
LCD 20x4 Display I2C Interface for Arduino, ESP32, ESP8266, Raspberry Pi

DESCRIPTION

The package includes a LCD 20x4 with I2C Interface for Arduino, ESP32, ESP8266, Raspberry Pi, or any 5V or 3.3V microcontroller..

SPECIFICATION

  • LCD 20x4 with I2C interface (4 wires, 20 columns 4 rows)
  • Adjustable contrast via a built-in potentiometer
  • Backlight can be turned on/off programmably
  • Supply voltage: +5V
  • Works with Arduino, ESP32, ESP8266, Raspberry Pi, or any 5V or 3.3V microcontroller.
  • Background color: Blue
  • Character color: White
  • LCD 20x4 for Arduino, ESP32, ESP8266, Raspberry Pi, or any 5V or 3.3V microcontroller.
  • Tutorials for Arduino, ESP32 and ESP8266 are provided

Arduino Example Code

/* * This code is created by DIYables.io * This code is released in the public domain * For more detail, visit https://diyables.io/products/lcd-20x4-display-i2c-interface */ #include <LiquidCrystal_I2C.h> LiquidCrystal_I2C lcd(0x27, 20, 4); // I2C address 0x27, 20 column and 4 rows void setup() { lcd.init(); // initialize the lcd lcd.backlight(); lcd.setCursor(0, 0); // move cursor the first row lcd.print("LCD 20x4"); // print message at the first row lcd.setCursor(0, 1); // move cursor to the second row lcd.print("I2C Address: 0x27"); // print message at the second row lcd.setCursor(0, 2); // move cursor to the third row lcd.print("DIYables"); // print message at the third row lcd.setCursor(0, 3); // move cursor to the fourth row lcd.print("www.diyables.io"); // print message the fourth row } void loop() { }