LCD1602 initialization flow chart and two methods of the program

The display program edited by the user must be initialized at first, otherwise the module cannot be displayed normally. The following two initialization methods are introduced:

1. Initialize with internal reset circuit

The following instructions are executed during the initialization process.

Clear screen (DISPLAY CLEAR);

Function setting (FUNCTION SET);

DL = 1: 8Bit interface data;

N = 0: 1 line display;

F = 0: 5 & TImes; 7dot glyphs;

Display on/off control (DISPLAY ON/OFF CONTROL)

D = 0: display off; C = 0: cursor off; B = 0: blanking off

Input mode setting (ENTRY MODE SET )

I/D = 1: (incremental): S = 0: no shift:

2. Software reset

If the circuit power supply cannot meet the requirements of the reset circuit, then the initialization is implemented by software. The process is as follows:

Eight-bit interface initialization flow chart

Eight-bit interface initialization flow chart

Printed Circuit Board Assembly

Printed Circuit Board Assembly,High Conductivity Aluminum Substrate,High Precision Pcb Circuit Board,Pcb Processing Circuit Board

Shenzheng Weifu Circuit Technology Co.Ld , https://www.viafoem.com