Running Text LCD – LCD 16×2 (Liquid Crystal Display) merupakan modul penampil data yang mempergunakan kristal cair sebagai bahan untuk penampil data yang berupa tulisan maupun gambar. Pengaplikasian pada kehidupan sehari – hari yang mudah dijumpai antara lain pada kalkulator, gamebot, dan lain-lain.
1. Skema Rangkaian

Gambar rangkaian Running Text LCD
Keterangan Sambungan :
Dapatkan akses ratusan video tutorial dan pembelajaran dengan registrasi melalui tombol di bawah!
Baca Juga : Penggaris Digital Dengan Tampilan LCD 16×2
Pin pada LCD :
- Pin VSS – Ground
- Pin VDD – 5V
- Pin VO – Potensio
- Pin RS – Pin 12 Arduino
- Pin R_W – Ground
- Pin E – Pin 11 Arduino
- Pin DB4 – Pin 5 Arduino
- Pin DB5 – Pin 4 Arduino
- Pin DB6 – Pin 3 Arduino
- Pin DB7 – Pin 2 Arduino
- Pin A – 5V
- Pin K – Ground
Baca Juga : Tutorial Membuat Jam Digital Menggunakan Arduino
2. Alat / Bahan
- Arduino : 1 buah
- Breadboard : 1 buah
- LCD 16×2 : 1 buah
- Potensiometer 10kΩ : 1 buah
3. Sketch Program
/*
Program Running Text LCD
dibuat oleh Indobot
*/
#include <LiquidCrystal.h> //Pendeklarasian Library
const int PIN_RS = 12; // Pemilihan Pin dan pendeklarasian variabel
const int PIN_E = 11;
const int PIN_DB_4 = 5;
const int PIN_DB_5 = 4; /
const int PIN_DB_6 = 3;
const int PIN_DB_7 = 2;
LiquidCrystal lcd(PIN_RS, PIN_E, PIN_DB_4, PIN_DB_5, PIN_DB_6,
PIN_DB_7);
void setup() {
lcd.begin(16, 2); //Pengaturan LCD
}
void loop() { //Perulangan Program
int i;
lcd.setCursor(0, 0);
lcd.print("Halo!"); //Kata yang Berjalan
for (i = 0 ; i < 16; i++)
{
lcd.scrollDisplayRight();
delay(250);
}
}







Warning: Undefined variable $req in /www/wwwroot/blog.indobot.co.id/wp-content/themes/generatepress/functions.php on line 162
Warning: Undefined variable $commenter in /www/wwwroot/blog.indobot.co.id/wp-content/themes/generatepress/functions.php on line 163
Warning: Trying to access array offset on value of type null in /www/wwwroot/blog.indobot.co.id/wp-content/themes/generatepress/functions.php on line 163
Warning: Undefined variable $aria_req in /www/wwwroot/blog.indobot.co.id/wp-content/themes/generatepress/functions.php on line 163
Warning: Undefined variable $req in /www/wwwroot/blog.indobot.co.id/wp-content/themes/generatepress/functions.php on line 167
Warning: Undefined variable $commenter in /www/wwwroot/blog.indobot.co.id/wp-content/themes/generatepress/functions.php on line 168
Warning: Trying to access array offset on value of type null in /www/wwwroot/blog.indobot.co.id/wp-content/themes/generatepress/functions.php on line 168
Warning: Undefined variable $aria_req in /www/wwwroot/blog.indobot.co.id/wp-content/themes/generatepress/functions.php on line 169