#LetsDriveLCD [17] – Free 12864 Screen

2015-10-01

WDG1206

Shenzhen Anxin (an LCD module reseller) was giving away some LCD screens (without documentation). So I got them at the price of shipping. And… here it is.

One comes broken, so I started with that one. ITO traces cannot overlap, means it has to follow the sequence of the COG chip.

FPC

The pinout of ST7565 die is cs1 cs2 vdd rst a0 rw rd vdd d0-d7 vdd vss vout n*vcap v1-v5 c86 ps

So we can guess the thick pin 2 is VDD, one CS, one not connected might be RST, then A0, RW, RD.

VIA

Note the RD ended with an via. Now we basically have the pinout. Just try to drive it and see if it works. And it turns out it worked.

WD-G1206

Specification

Pinout

  1. GND
  2. RST
  3. CS
  4. A0
  5. WR
  6. D0
  7. D1
  8. D2
  9. D3
  10. D4
  11. D5
  12. D6
  13. D7
  14. RD
  15. VDD
  16. NC
  17. LEDA
  18. LEDK
  19. NC
  20. GND

Initialization

  LCD_WriteCmd(0xe2);
  Delayms(50);   
  LCD_WriteCmd(0xa2);
  LCD_WriteCmd(0xa0);
  LCD_WriteCmd(0xc8);
  LCD_WriteCmd(0x26);
  LCD_WriteCmd(0x81);
  LCD_WriteCmd(0x20);
  LCD_WriteCmd(0x2f);
  Delayms(50);
  LCD_WriteCmd(0xaf);
  LCD_WriteCmd(0xf8);
  LCD_WriteCmd(0x00);

FPC692A

Specification

Pinout

  1. NC
  2. CS
  3. RST
  4. A0
  5. RW
  6. E
  7. D0
  8. D1
  9. D2
  10. D3
  11. D4
  12. D5
  13. D6
  14. D7
  15. VCC
  16. GND
  17. NC
  18. BK
  19. BK
  20. NC