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

Arduino UNO I2C LCD Display: 'Hello, World!' Project

View and Edit Project In Cirkit DesignerImage of Arduino UNO I2C LCD Display: 'Hello, World!' Project

Circuit Documentation

Summary

This circuit consists of an Arduino UNO microcontroller connected to an MKE-M08 LCD2004 I2C Module. The Arduino UNO provides power and communication to the LCD module, which displays the message "Hello, World!".

Component List

Arduino UNO

MKE-M08 LCD2004 I2C Module

Wiring Details

Arduino UNO

MKE-M08 LCD2004 I2C Module

Code

/*
 * This Arduino Sketch displays 'Hello, World!' on a 16x2 I2C LCD.
 */

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

// Set the LCD address to 0x27 for a 16 chars and 2 line display
LiquidCrystal_I2C lcd(0x27, 16, 2);

void setup() {
  // Initialize the LCD
  lcd.init();
  // Turn on the backlight
  lcd.backlight();
  // Print a message to the LCD
  lcd.setCursor(0, 0);
  lcd.print("Hello, World!");
}

void loop() {
  // Nothing to do here
}

File Name: sketch.ino

This code initializes the LCD module, turns on the backlight, and displays the message "Hello, World!" on the LCD. The setup() function is used to set up the LCD, while the loop() function remains empty as no continuous operation is required.