Arnov Sharma
Published © CC BY

Ike, the Liquid Crystal Display Robo

With zero's, o's and few dashes, we can animate an LCD to make a retro-ish face that has blinking eyes and stuff.

BeginnerFull instructions provided15 minutes10,945
Ike, the Liquid Crystal Display Robo

Things used in this project

Story

Read more

Schematics

Schematics

Code

Code

C/C++
#include <Wire.h> 
#include <LiquidCrystal_I2C.h>

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

void setup()
{
  lcd.init();                      // initialize the lcd 
  lcd.init();
  // Print a message to the LCD.
  lcd.backlight();

}


void loop()
{
    lcd.setCursor(5,0);
  lcd.print("|O   O|");
  lcd.setCursor(7,1);
  lcd.print("---");
  delay(1000);
    lcd.setCursor(5,0);
  lcd.print("|-   -|");
  lcd.setCursor(7,1);
  lcd.print("---");
  delay(1000);
    lcd.setCursor(5,0);
  lcd.setCursor(7,1);
  lcd.print("---");
 
  delay(1000);
    lcd.setCursor(5,0);
  lcd.print("|-   -|");
  lcd.setCursor(7,1);
  lcd.print("---");
  delay(1000);

  lcd.setCursor(5,0);
  lcd.print("|O   O|");
  lcd.setCursor(7,1);
  lcd.print("---");
  delay(4000);



  
}

Credits

Arnov Sharma
352 projects • 360 followers
I'm Arnov. I build, design, and experiment with tech—3D printing, PCB design, and retro consoles are my jam.

Comments