画像は参考までに、仕様書を参照してください

lankamicro 1602 5V 3.3V 80X36mm 162 LCM COB SPI OLED 1602 Panel 16x2 Character lcd IC module display

メーカー: Lanka Micro
対象品目: development-ali-new
データシート: lankamicro 1602 5V 3.3V 80X36mm 162 LCM COB SPI OLED 1602 Panel 16x2 Character lcd IC module display
説明:
rohs地位: rohs化
属性 属性値
Manufacturer Part Number 1114-Blue
タイプ integrated circuit, Drive IC
Place Of Origin Guangdong, China
Brand Name lankamicro
電圧-衰弱 standard
周波数-切替 standard
(ワット) standard
作動温度 standard, -40C ~ 125C
取付タイプ standard
電圧-供給(分) standard
電圧-電源(Max) standard
電圧出力100 standard
电流-アウトプット/チャネル standard
周波数 standard
アプリケーション standard
電流-出力(Max) standard
現在-供給 standard
電圧-供給 standard
周波数本 standard
-マックス standard
電流-ピーク出力 standard
電圧-順方向(Vf) (Typ) standard
现在- DCフォワード(If)(マックス) standard
入力タイプ standard
出力種別 standard
現在の移籍率(Min) standard
現在の移籍比率(Max−1) standard
電圧-出力(最大) standard
電圧オフ状態 standard
静的dv / dt(分) standard
现行・発光トリガー(Ift) (Max standard
現在・オン状態(It (RMS)) (Max) standard
インピーダンス-不均衡/均衡 standard
lo周波数 standard
rf周波数 standard
取込範囲 standard
出力電力 standard
(低/高)周波数帯 standard
仕様 standard
サイズ/次元 standard
変調またはプロトコル standard
インターフェース standard
力-出力 standard
Dissipation Power 1W-6W
アプリケーション Watch
供給電圧 1.5V-6V
delay circuit
ブランド MIC

lankamicro 1602 5V 3.3V 80X36mm 162 LCM COB SPI OLED 1602 Panel 16x2 Character lcd IC module display

 

 Standard 16X2 LCD character module (Backlight / blue screen)

1602 using a standard 16-pin interface, wherein:

Pin 1: VSS to power

Pin 2: VDD connected to 5V positive power supply

Pin 3: V0 LCD display contrast adjustment terminal, connected to the positive power supply weakest contrast, grounded power contrast, the contrast is too high will produce "ghosting", when used by a 10K potentiometer to adjust the contrast

Pin 4: RS for register selection, the selection of high data registers, instruction register is low.

Pin 5: R / W for read and write signal line, high read, low write operation. When the RS and RW is low can be written instructions or display the address can be read, when RS is low RW is high busy signal, data can be written when RS is high RW is low.

Pin 6: E end to enable end, When E Duanyou high jump becomes low, the LCD module execute the command.

7 to 14 feet: D0 to D7 for 8-bit bidirectional data line.

15 feet: Backlight positive power supply

16 feet: backlight negative power supply

1602 character LCD module internal memory (CGROM) has stored 160 dot matrix character graphics, such as shown in Table 1, these characters are: Arabic numerals, the case of the letters of the alphabet, commonly used symbols, and Japanese kana , we can see the letters "A, each character has a fixed code, for example, the uppercase letters of the alphabet" A "code is 01000001B (41H), dot matrix character pattern in the address 41H in the display module to display . "

ORG 0000H following procedures to display the letter "A" in the first character position of the second row of the LCD module:

RS EQU P3.7; determine the specific hardware connection
RW EQU P3.6; determine the specific hardware connection
E EQU P3.5; determine the specific hardware connection

MOV P1, # 00000001B; clear the screen and reset the cursor
ACALL ENABLE; write command subroutine call

MOV P1, # 00111000B; Set Display Mode: 8 2 lines 5x7 dot matrix
ACALL ENABLE; write command subroutine call

MOV P1, # 00001111B; display on, cursor on, allows the cursor to blink
ACALL ENABLE; write command subroutine call

MOV P1, # 00000110B; text does not move the cursor automatically to the right
ACALL ENABLE; write command subroutine call

MOV P1, # 0C0H; written to the display start address (the first position of the second row)
ACALL ENABLE; write command subroutine call

MOV P1, # 01000001B; letters A code

SETB RS; RS = 1
CLR RW; RW = 0; ready to write data
CLR E; E = 0; command is executed
ACALL DELAY; determine whether LCD module is busy?
SETB E; E = 1; showing completion procedures Parking

ENABLE:
CLR RS; write control command subroutine
CLR RW
CLR E
ACALL DELAY
SETB E
RET

DELAY:
MOV P1, # FFH; determine whether the liquid crystal display busy subroutine
CLR RS
SETB RW
CLR E
NOP
SETB E
JB P1.7 DELAY; P1.7 is high to indicate a busy loop waiting for
RET

END

Program at the beginning of the function of the LCD module initialization settings, have agreed on the display format. Note that the character the cursor is automatically shifted to the right, without human intervention, each time you enter the command first call to determine whether the LCD module busy subroutine DELAY, and then enter the displayed location address 0C0H last input of characters to display A code 41H .


SMC1602A (16 * 2) analog line port wiring
Connect the chart:
-------------------------------------------------- -
| The LCM ----- 51 | LCM ----- 51 | LCM ------ 51 |
------------------------------------------------ |
| DB0 ----- P1.0 | DB4 ----- P1.4 | RW ------- P2.0 |
DB1 ----- P1.1 DB5 ----- P1.5 | RS ------- P2.1 |
| DB2 ----- P1.2 DB6 ----- P1.6 | E -------- P2.2 |
DB3 ----- P1.3 DB7 ----- P1.7 | VLCD 1K resistor connect to GND |
-------------------------------------------------- -

 

[Note: the AT89S52 to use 12M crystal]
================================================== =========== * /

# Define LCM_RW P2_0 / / define the pin
# Define LCM_RS P2_1
# Define LCM_E P2_2
# Of define LCM_Data P1
# Define Busy 0x80 / / status word used to detect LCM Busy logo

# I nclude <at89x51.h>

void WriteDataLCM (unsigned char WDLCM);
void WriteCommandLCM (unsigned char WCLCM, BuysC);
unsigned char ReadDataLCM (void);
unsigned char ReadStatusLCM (void);
void LCMInit (void);
void DisplayOneChar (unsigned char X, unsigned char Y, unsigned char DData);
void DisplayListChar (unsigned char X, unsigned char Y, unsigned char code * DData);
void Delay5Ms (void);
void Delay400Ms (void);

unsigned char code uctech [] = {"uctech"};
unsigned char code net [] = {"uctech.icpcn.com"};

void main (void)
{
Delay400Ms (); / / start wait, the LCM speak into working condition
LCMInit (); / / LCM initialization
Delay5Ms (); / / delay a moment (but do not)

DisplayListChar (0, 5, uctech);
DisplayListChar (0, 0, net);
The ReadDataLCM () ;/ / test is meaningless sentence
while (1);
}

/ / Write data
void WriteDataLCM (unsigned char WDLCM)
{
ReadStatusLCM (); / / detect busy
LCM_Data = WDLCM;
LCM_RS = 1;
LCM_RW = 0;
LCM_E = 0; / / crystal speed too high after add a small delay
LCM_E = 0; / / delay
LCM_E = 1;
}

/ / Write instructions
the void WriteCommandLCM (unsigned char WCLCM, BuysC) / / BuysC 0:00 busy detection is ignored
{
if (BuysC) ReadStatusLCM (); / / needed to detect busy
LCM_Data = WCLCM;
LCM_RS = 0;
LCM_RW = 0;
LCM_E = 0;
LCM_E = 0;
LCM_E = 1;
}

/ / Read data
unsigned char ReadDataLCM (void)
{
LCM_RS = 1;
LCM_RW = 1;
LCM_E = 0;
LCM_E = 0;
LCM_E = 1;
return (LCM_Data);
}

/ / Read status
unsigned char ReadStatusLCM (void)
{
LCM_Data = 0xFF;
LCM_RS = 0;
LCM_RW = 1;
LCM_E = 0;
LCM_E = 0;
LCM_E = 1;
while (LCM_Data & Busy); / / detect busy signal
return (LCM_Data);
}

the void LCMInit (void) / / LCM initialization
{
LCM_Data = 0;
WriteCommandLCM (0x38, 0); / / cubic display mode is set, the busy signal is not detected
Delay5Ms ();
WriteCommandLCM (0x38, 0);
Delay5Ms ();
WriteCommandLCM (0x38, 0);
Delay5Ms ();

WriteCommandLCM (0x38, 1); / / display mode is set, began requiring each time it detects a busy signal
WriteCommandLCM (0x08, 1); / / turn off the display
WriteCommandLCM (0x01, 1); / / clear the screen
WriteCommandLCM (0x06, 1); / / move the cursor settings
WriteCommandLCM the (0x0C 1); / / display on and set the cursor
}

/ / At the specified location display a character
void DisplayOneChar (unsigned char X, unsigned char Y, unsigned char DData)
{
Y & = 0x1;
X & = 0xF; / / limit can not be greater than 15 X, Y can not be greater than 1
if (Y) X | = 0x40; / / if you want to display the second row address code +0 x40;
X | = 0x80; / / calculate the script
WriteCommandLCM (X, 0); / / here does not detect busy signal, send the address code
WriteDataLCM (Ddata);
}

/ / String of characters according to the specified location
void DisplayListChar (unsigned char X, unsigned char Y, unsigned char code * DData)
{
unsigned char ListLength;

ListLength = 0;
Y & = 0x1;
X & = 0xF; / / limit can not be greater than 15 X, Y can not be greater than 1
the while (Ddata listlength]> 0x20) / / If you reach the end of the string to exit
{
if (X <= 0xF) / / the X coordinates should be less than 0xF
{
DisplayOneChar (X, Y, DData [ListLength]); / / display a single character
ListLength + +;
X + +;
}
}
}

/ / 5ms delay
void Delay5Ms (void)
{
unsigned int TempCyc = 5552;
the while (TempCyc -);
}

/ / 400ms delay
void Delay400Ms (void)
{
unsigned char TempCycA = 5;
unsigned int TempCycB;
the while (TempCycA -)
{
TempCycB = 7269;
the while (TempCycB -);

在庫が 3568 pcs

いや「参考価格 ($) 1 pcs 100 pcs 500 pcs
$0.10 $0.10 $0.10
最小: 1

要求引用

下の書類に記入して、できるだけ早くご連絡します

Bargain Finds