Arduino Tutorial #4 – Liquid Crystal Display (LCD) – Getting your data onto a screen!

In the fourth Arduino Tutorial we explore the world of Liquid Crystal Displays which are more commonly known are LCDs. These displays allow you to display a certain number of characters directly from your Arduino; they are extremely useful if you want to do any remote sensor monitoring or data retrieval.

Arduino provides a great library for basic displays which use the HD44780 Protocol. It makes it extremely easy to have your display working for your projects.pic1

Arduino LCD Library:

The code I wrote allowed me to have a scrolling text, so feel free to use what I have or to experiment with other functions within the Arduino Library!


#include

LiquidCrystal lcd(12,11,10,9,8,7);

void setup()
{
lcd.begin(16, 2);
lcd.print(“Testing the LCD”);
lcd.autoscroll();

}

void loop()pic2
{
lcd.setCursor(0,1);
lcd.print(” “);
delay(300);
}

Thank you guys for watching and make make sure to comment and subscribe if you enjoyed the video!