Arduino Serial LCD-1602 Shield V2.0
LCD screen is a character 1602 which is often used in the production of electronics and of course it's a simulation.It can be used to display two rows of characters, and each row is 16 characters:
However, to control such a common module is not so easy. First of all, we must occupy the corresponding Arduino pin according to its 4 lines work mode or 8 lines work mode, but this actually occupied more digital I/O pin, especially 8 lines connection mode. Second,although there are corresponding libraries to support,but you should pass the debug,and run on Arduino successfully, at the same time it can meet a lot of problems. Finally, the code to control LCD need take up corresponding memory space, which is difficult for 16K memory space of Arduino.
In order to solve these problems, we have designed this type of serial LCD module based on 1602 characters.To compared with the method before,the advantage is obvious:
1、Adopt serial port to control,to cut down the number of cables linking to the hardware;
2、Do not occupy the memory space of Arduino;
3、To minimize the debugging time through successfully verifying the code.
It can be easily connected with Arduino through Arduino Emartee Sensor Shield V5.0 and special sensor cable.
In order to demonstrate its function, you can connected a button module on Arduino Emartee Sensor Shield V5.0, when push the button, Arduino will send corresponding controlling order through serial LCD. When this module is powered ,the effect shown as below:
Specification :
- Interface : Serial Interface
- Pin Definition : VCC、GND、RX、TX
- Back lit (Green with white char color)
- Supply voltage: 5V
- Size : 27.7mm×42.6mm
- Contrast Adjust : Through Potentiometer
- Backlight Adjust : Through Potentiometer
Drive Arduino Serial LCD-1602 Shield V2.0 and Arduino IIC/I2C LCD-1602 Shield at the same time
The referenced Arduino running Code is (This is just for reference)
You can see that all serial port order to control LCD begin with ”$”and end by ”r n” when compared with this code,Both of them is corresponding order and parameters,different commands with different parameters.
"r" means (the current cursor movement to first line , do not move to the next line)
"n" means (the current cursor movement to the next line , do not move to the first line)
Command Definition :
- “GO" is cursor movement.
- “PRINT" is to display the serial characters on the cursor position.
- “CLEAR" is to clear screen .
- ”HOME" is to move the cursor to the initial position of the top left corner of the screen.
- “CURSOR" is to set the effect of cursor, the first parameter is whether display cursor (1 and 0), the second parameter is whether blink cursor (1 and 0).
Command List :
Example :
'IT Tech > Arduino' 카테고리의 다른 글
AppInventor (0) | 2019.03.05 |
---|---|
Arduino 배열을 이용한 LED 제어 (0) | 2019.03.04 |
아두이노 프로젝트 모음 (0) | 2019.03.04 |
Arduino Pin Map (0) | 2019.03.04 |
Secrets of Arduino PWM (0) | 2019.03.04 |