WINTEK WM-C1604M LCD

The WINTEK WM-C1604M LCD is 100 % compatible with the routine . The pinout data and the cursor position " memory map " is also included . BEWARE that this particular display has a MEMORY OFFSET used in the 3rd and 4th character lines . ( Examine the Memory Map )

Pin # 1 - Ground
Pin # 2 - VCC + 5 Volts
Pin # 3 - RESET ( Active LOW )
Pin # 4 - RS ( 1 = DATA , 0 = Command )
Pin # 5 - R / W
Pin # 6 - Enable
Pin # 7 - D0 ( Not Used )
Pin # 8 - D1 ( Not Used )
Pin # 9 - D2 ( Not Used )
Pin # 10 - D3 ( Not Used )
Pin # 11 - D4
Pin # 12 - D5
Pin # 13 - D6
Pin # 14 - D7

Pins # 15 and # 16 are normally for the BACK LIGHT option .

MEMORY MAP ( Cursor Position )

COLUMNS

0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 LINE # 1
0 . 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 LINE # 2
-4 , -3 , -2 , -1 , 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 . 9 . 10 , 11 LINE # 3
-4 , -3 , -2 , -1 , 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 LINE # 4

Therfore , the FIRST position of the cursor for each line is :

( 0 , 0 ) Line # 1
( 0 , 1 ) Line # 2
(-4 , 2 ) Line # 3
(-4 , 3 ) Line # 4

Hope this helps as these displays seem to be readily employed in desktop telephone sets .

BEWARE that this particular display has a MEMORY OFFSET used in the 3rd and 4th character lines . ( Examine the Memory Map )

EVERY 16x4 has this memory map. It is the LiquidCrystal library that does not correctly implement the cursor positioning.

Don