Blog:

DISPLAY COMPATIBILITY LIST

Port mapping:

TWILCD Standard version

Pin 2x7
PinFunctionComment
1GNDVSS2
2VCCVDD2
3V0Contrast (software)
4RS
5RW
6E
7DB0
8DB1
9DB2
10DB3
11DB4
12DB5
13DB6
14DB7
2 VCC and GND are possible to switch with a solder bridge on the back of the PCB.
Pin 1x14+2 and 1x16
PinFunctionComment
15+5VPWM to backlight1
16GNDGND to backlight1
1GNDVSS
2VCCVDD
3V0Contrast (software)
4RS
5RW
6E
7DB0
8DB1
9DB2
10DB3
11DB4
12DB5
13DB6
14DB7
15+5VPWM to backlight
16GNDGND to backlight
1 for 15,16,1-14 pin displays

TWILCD 40x2/40x4/RGB version

Pin 2x9
PinFunctionComment
1DB7
2DB6
3DB5
4DB4
5DB3
6DB2
7DB1
8DB0
9E
10RW
11RS
12V0Contrast (software)
13GNDVSS
14VCCVDD
15E2
16-Not connected
17+5VPWM to backlight
18GNDGND to backlight
Pin 1x18
PinFunctionComment
1GNDVSS
2VCCVDD
3V0Contrast (software)
4RS
5RW
6E
7DB0
8DB1
9DB2
10DB3
11DB4
12DB5
13DB6
14DB7
15LED -GND to backlight
16+ REDPWM to backlight
17+ GREENPWM to backlight
18+ BLUEPWM to backlight
Pin 2x8
PinFunctionComment
1GNDVSS
2VCCVDD
3V0Contrast (software)
4RS
5RW
6E
7DB0
8DB1
9DB2
10DB3
11DB4
12DB5
13DB6
14DB7
15+5VPWM to backlight
16GNDGND to backlight

Examples:

Simple: