Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino UNO I2C 20x4 LCD Display Project

View and Edit Project In Cirkit DesignerImage of Arduino UNO I2C 20x4 LCD Display Project

Circuit Documentation

Summary

This circuit involves an Arduino UNO microcontroller connected to a 20x4 I2C LCD display. The Arduino UNO provides power and communication to the LCD display, allowing it to display messages.

Component List

Arduino UNO

Lcd 20x4 I2C

Wiring Details

Arduino UNO

Lcd 20x4 I2C

Code Documentation

Arduino UNO Code

#include <Wire.h>
#include <LiquidCrystal_I2C.h>

// Initialize the LCD with address 0x3F and 20x4 dimensions
LiquidCrystal_I2C lcd(0x3F, 20, 4);

void setup() {
  lcd.init();          // Initialize the LCD
  lcd.backlight();     // Turn on the LCD backlight
  lcd.setCursor(0, 0); // Set the cursor to column 0, row 0
  lcd.print("I2C Address: 0x3F");
  
  lcd.setCursor(0, 1); // Move to row 1
  lcd.print("20x4 LCD Display");
  
  lcd.setCursor(0, 2); // Move to row 2
  lcd.print("Row 3 Testing...");
  
  lcd.setCursor(0, 3); // Move to row 3
  lcd.print("Arduino Ready!");
}

void loop() {
  // No dynamic updates in this example
}

This code initializes the LCD display, turns on the backlight, and prints messages on each row of the 20x4 display. The setup function handles the initialization and printing, while the loop function is empty as there are no dynamic updates in this example.