Instructables
loading
loading
Picture of Sainsmart LCD Shield
This instructable will show you how to use a SainSmart LCD keypad shield.


You will need:

- An Arduino Uno

- SainSmart Keypad shield

Get one here: Here
- USB cable
 
Remove these adsRemove these ads by Signing Up

Step 1: Setting Up

Picture of Setting Up
Place the Shield onto the Uno, and plug it in.

Step 2: The Code

Make sure you have the LiquidCrystal library installed.

// LiquidCrystal Print
// by Parzivail
#include
LiquidCrystal lcd(8, 13, 9, 4, 5, 6, 7);

void setup()
{
lcd.clear();
lcd.begin(16, 2);

}

void loop()
{
lcd.setCursor(0, 0);
lcd.print("Hello, World!");

}

Step 3: Done!

Picture of Done!
Congrats, you have a working LCD shield.
Doctorcraft773 made it!23 days ago

Thanks, so much I tried everything to try to get it to work, and nothing but yours worked!

picture_8.png
KyleM33 months ago

Thanks I had troubles right away. This is the EXACT code that worked for me.

#include <LiquidCrystal.h>

// LiquidCrystal Print

// by Parzivail

LiquidCrystal lcd(8, 13, 9, 4, 5, 6, 7);

void setup()

{

lcd.clear();

lcd.begin(16, 2);

}

void loop()

{

lcd.setCursor(0, 0);

lcd.print("<3 You Angela");

}

BallscrewBob10 months ago

hmmm no button control ?