Hack star
Published © MIT

Driving LCD with ATTiny85 - Wokwi Arduino simulator project

In this project, ATtinyCore is used to drive a 4 rows LCD2004 module with ATtiny85. Let us begin

BeginnerProtip1 hour1,702

Things used in this project

Story

Read more

Schematics

Attiny85 and LCD arduino simulator

Code

ATtiny85 Arduino simulator LCD project code

Arduino
#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
  // Print a message to the LCD.
  lcd.backlight();
  lcd.setCursor(3, 0);
  lcd.print("Hello, world!");
  lcd.setCursor(2, 1);
  lcd.print("LiquidCrystal_I2C");
  lcd.setCursor(1, 2);
  lcd.print("Running on ATtiny85");
  lcd.setCursor(2, 3);
  lcd.print("using ATTinyCore");
}


void loop()
{
}

Credits

Hack star
75 projects • 141 followers
an Arduino enthusiast and an electronic hobbyist
Contact

Comments

Please log in or sign up to comment.