My Projects

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
electronic:lcd:m299 [2023/03/06 10:54] – tonyelectronic:lcd:m299 [2026/09/26 08:29] (current) – tony
Line 1: Line 1:
 {{ :electronic:lcd:m299.jpg?200|LMCCAT299C}} {{ :electronic:lcd:m299.jpg?200|LMCCAT299C}}
 ^  LCD Description  || ^  LCD Description  ||
-^Model|LMCCAT299C| +^Model|**LMCCAT299C**| 
-^Manufacturer|NAN YA Plastics Corp (Taiwan)| +^Manufacturer|[[https://web.archive.org/web/20210411170952/https://www.npc.com.tw/j2npc/enus/prodcate/Electronic%20Material|NAN YA Plastics Corp]] (Taiwan)| 
-^Recovered from|Wayfarer TGX 13722 1)|+^Recovered from|Wayfarer TGX 13722 ((Wayfarer Transit Systems Ltd, England))|
 ^Board IDs|M299- Rev.A, D36072B1J, M299-GA, 36171103M336, LMCCAT299C| ^Board IDs|M299- Rev.A, D36072B1J, M299-GA, 36171103M336, LMCCAT299C|
 ^LCD type|positive| ^LCD type|positive|
Line 64: Line 64:
 ^FS1|9|1| ^FS1|9|1|
 not sure what FS0 connects to, if Vdd then 5x8 font => 160 horizontal dots, if Vss then 6x8 font =>192 horizontal dots (but again not enough control chips to handle it).\\ not sure what FS0 connects to, if Vdd then 5x8 font => 160 horizontal dots, if Vss then 6x8 font =>192 horizontal dots (but again not enough control chips to handle it).\\
-Markus confirms FS0 is connect to Vss, which would imply that it is 192 dots wide.  But there are not enough driver chips to handle more than 160 columns, so the above analysis is wrong.  From the t6963 datasheet the scanning frequency is independent of font width.+Markus confirms FS0 is connect to Vss, 6x8 font => 192 dots wide.  But there are not enough driver chips to handle more than 160 columns, so the above analysis is wrong.  From the t6963 datasheet the scanning frequency is independent of font width.
 So I must conclude that we have only 160 dots across to play with as the driver chips can't handle more. So I must conclude that we have only 160 dots across to play with as the driver chips can't handle more.
-\\+ 
 +A photo of a similar display in a Wayfarer TGX150 shows a text display of 27 columns by 16 rows of 7×8 characters. Actually 26 columns plus 4 pixels wide, so we have a 160 x 128 pixel display.  
 +  
 +{{electronic:lcd:wayfarer-tgx150-standalone-bus-ticket-machine-printing-tickets-a.jpg|Example of similar display installed in a TGX150}} 
 +|web.archive.org/web/20210119204556/https://www.picclickimg.com/d/w1600/pict/154290931017_/Wayfarer-TGX150-Standalone-Bus-Ticket-Machine-Printing-Tickets.jpg 
 + 
 +It turns out, that with the T6963C controller, the graphics pixel addressing mirrors the text rendering display buffer addressing.  A side effect is that in graphics mode it is also only displaying the same number of bits per byte as for displaying text.  So if the display is set to 6 bit (pixel) wide characters, it also only displays 6 bits of every byte in graphics mode.  Anyway the U8G2Lib expects T6963C based displays to have 8x8 font set, so short of re-writing the appropriate U8G2 Library, we need to switch this to 8x8 fonts by tying FS1 to ground.  Markus informs me that we need to lift this pin, rather than just cutting tracks, and then connect it to Vss (to Pin 8, FS0).  
 \\ \\
 ===== Additional info ===== ===== Additional info =====
Line 75: Line 82:
   * Explanation of difference in U8GLib and U8G2Lib parameters [[https://github.com/olikraus/u8g2/issues/169]] for T6963 displays   * Explanation of difference in U8GLib and U8G2Lib parameters [[https://github.com/olikraus/u8g2/issues/169]] for T6963 displays
  
 +\\
 ---- ----
-===== Examples : =====+===== Examples =====
  
 {{:electronic:lcd:m299.jpg?800|LMCCAT299C front}} {{:electronic:lcd:m299.jpg?800|LMCCAT299C front}}
Line 87: Line 95:
 |{{:electronic:lcd:.jpg?200|LMCCAT299C pixel layout}} |{{:electronic:lcd:.jpg?200|LMCCAT299C pixel layout}}
 |{{:electronic:lcd:.jpg?800|LMCCAT299C circuit}} |{{:electronic:lcd:.jpg?800|LMCCAT299C circuit}}
- 
-  * [[https://web.archive.org/web/20210119204556/https://www.picclickimg.com/d/w1600/pict/154290931017_/Wayfarer-TGX150-Standalone-Bus-Ticket-Machine-Printing-Tickets.jpg|Example of similar display installed in a TGX150]]