Loading...

0

You have no items in your shopping cart.

 
 
 
×

Registration

Profile Informations

Login Datas

or login

First name is required!
Last name is required!
First name is not valid!
Last name is not valid!
This is not an email address!
Email address is required!
This email is already registered!
Password is required!
Enter a valid password!
Please enter 6 or more characters!
Please enter 16 or less characters!
Passwords are not same!
Terms and Conditions are required!
Email or Password is wrong!
Captcha is required!
Captcha is wrong!

UART Serial LCD Module

Character LCM screen is a common display device, we provide 16×2, 8×2, 20×4 with Yellow / Blue black light LCD on iStore. But these LCD need more than 6 pins for controlling and you need to know the control register and time series.

It’s a bit difficult for beginners to familiar registers and timing, so here we provide the UART Serial LCD module. It can be controlled easily by serial commands, and just need 2 data pins for connection.

We provide 7 commands to control the LCD display, Each command is composed by CMD+[Parameter]+’ ; ‘ . The [parameter] is optional but the ‘ ; ‘  is necessary.

1. Clean the Screen
CMD : sc  Parameter : Null;
Example : sc; [ Screen clean ]
 
2. Set backlight
CMD : sb  Parameter :1 or 0 [1: Set the backlight on; 0: Set the backlight off ]
Example :
sb1; [ Backlight on ]
sb0; [ Backlight off ]
 
3. Set coordinate
CMD : sd  Parameter :C,R [C: the column (C = [0:1]); R: the row (R = [0:15])]
Example :
sd0,0;  [ move the coordinate to column 0 and row 0 ]
sd1,15;  [ move the coordinate to column 1 and row 15 ]
 
4. Send string
CMD : ss  Parameter : Char String
Example:
ss12345;  [ Send the char string and display on LCD ]
 
5. Set the cursor on/off
CMD su Parameter: 0/1 [0: Set the cursor off, 1: Set the cursor on]
Example:
su0; [ Cursor off ]
su1; [ Cursor on ]
 
6. Set the cursor type
CMD sf, Parameter: 0/1 [0: Set the cursor blink off, 1: Set the cursor blink on]
Example:
sf0; [ Set the cursor blink off ]
sf1; [ Set the cursor blink on ]
 
7. Move the cursor
CMD sm  Parameter: 0/1 [0: Move the cursor left , 1: Move the cursor right ]
Example:
sm0; [ shift left ]
sm1; [ shift right ]

After you send the command, the LCD module will return the message of execution results – ‘O’ means action complete ; ‘E’ means command error. You should send the new command after you receiving the reply massage for LCD module.

It’s very easy to show the string on UART serial LCD module:

void setup()
{
  Serial.begin(9600);
  Serial.print("sc;");
  delay(10);
  Serial.print("sd0,0;");
  delay(10);
  Serial.print("ssItead Studio;");
  delay(10);
  Serial.print("sd1,0;");
  delay(10);
  Serial.print("ssSrial 1602 LCD;");
}

Download the datasheet of these UART Serial LCD module here.