Thursday, May 23, 2013

Arduino + LCD


In this post I talk briefly about how to use the JHD 162A LCD module which connects to Arduino and powered by Seller LiquidCrystal.

The diagram is used to connect the following.

After configuring the electrical circuit, the programming side will do the same and tell the Arduino pin will be used so that, after that a message is displayed on the screen as show the following code example showing the famous Hello World :
#include

LiquidCrystal lcd(12,11,5,4,3,2);

void setup(){
  lcd.begin(16,2);
  pinMode(13,OUTPUT);
  digitalWrite(13, HIGH);
  Serial.begin(9600);
}

void loop(){
  LCD.write("Hola Mundo");
}


Cheers,

Ujjwal Soni

No comments: