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:metp0000 [2018/12/01 08:38] – tonyelectronic:lcd:metp0000 [2026/09/26 05:12] (current) – tony
Line 1: Line 1:
 {{ :electronic:lcd::pa101833a.jpg?200|METP0000}} {{ :electronic:lcd::pa101833a.jpg?200|METP0000}}
-^<html><p style="text-align:center">LCD Description</p></html>||+^  LCD Description  ||
 ^Model|**METP0000**| ^Model|**METP0000**|
 ^Manufacturer|Mettler  Toledo| ^Manufacturer|Mettler  Toledo|
Line 10: Line 10:
 ^Rows|1| ^Rows|1|
 ^Char matrix|7 segment with decimal point and comma, plus 5 under-bar elements| ^Char matrix|7 segment with decimal point and comma, plus 5 under-bar elements|
-^Driver IC|NEC D7225GB (μPD7225)  (({{:electronic:datasheet:nec:upd7225.pdf}})) (({{electronic:datasheet:nec:upd7225_ap_note.pdf}}))|+^Driver IC|NEC D7225GB (μPD7225)  (({{:electronic:datasheet:nec:upd7225.pdf}})) (({{electronic:datasheet:nec:upd7225_ap_note.pdf}})) (({{https://ia801305.us.archive.org/4/items/bitsavers_necdatabooMicrocontrollerDataBook_57118308/1990_NEC_Single-Chip_Microcontroller_Data_Book.pdf|NEC 1990 Microcontroller Databook, page #826}}))|
 ^Backlight|-| ^Backlight|-|
 ^Arduino driver|[[:arduino:metp0000_driver_library|METP0000 driver library]]| ^Arduino driver|[[:arduino:metp0000_driver_library|METP0000 driver library]]|
Line 17: Line 17:
 ^Pin spacing| | ^Pin spacing| |
  
-^ ^^^^Arduino test rig ((colour coding of wires in a re-purposed ethernet cable))||+^  Connector pin-out  ^^^^  Arduino test rig ((colour coding of wires in a re-purposed ethernet cable))  ||
 ^Pin#^Label^IC pin^Label^Pin^colour| ^Pin#^Label^IC pin^Label^Pin^colour|
-^1|Busy| |~Busy|-|white/orange| +^1|Busy| |~Busy|D10 ((optional when using Arduino driver library))|white/orange| 
-^2|Reset| |~Reset|D7|orange|+^2|Reset| |~Reset|D7 ((not needed by Arduino driver library))|orange|
 ^3|Si| |Si|D5|white/green| ^3|Si| |Si|D5|white/green|
 ^4|SClk| |~SCK|D4|blue| ^4|SClk| |~SCK|D4|blue|
 ^5|CS| |~CS|D8|white/blue| ^5|CS| |~CS|D8|white/blue|
-^6|~C/D| |C/~D|D6|green|+^6|~C/D| |C/~D|D6 ((not needed by Arduino driver library))|green|
 ^7|GND|20|Vss|GND|white/brown| ^7|GND|20|Vss|GND|white/brown|
 ^8|+5V|21|Vdd|+5V|brown| ^8|+5V|21|Vdd|+5V|brown|
 \\ \\
 +
 \\ \\
- 
-R1 across the cl1/cl2 clock generation pins is 200kΩ - nominally about 120kHz clock.\\ 
-Resistor ladder wired for 1/3 bias across the Vlc1,2,3 pins.    COM3 appears to be unconnected, which implies a 3-time sharing type of LCD (using COM0,1,2).\\ 
-Testing was done with mode byte set to 0x48 (=  1/3 bias method,  divide-by-3 time division drive , and a frequency division ratio of 1/2^7  (frame frequency=fCL /(2^7 × 3)).\\ 
-The display consists of six digits. Each digit is made up of 7 segments plus a decimal point and comma on the 2nd through 6th digit (from left to right), plus 5 "underscore" characters evenly spaced below the line of digits.  The decimal point to the right, and the comma to the left of each digit appear to be one unit, except for the first and last digits.  For the first digit an underscore replaces the decimal point element.  And for the last digit, an underscore replaces the comma element. The other 3 underscores are addressed as segments of a 7th phantom digit.\\ 
-So although there seems to be 10 individual elements to each character - 7 segments plus decimal point, comma and underscore, infact there are only 9 different addressable elements, the underscores are actually either repurposed commas and decimal points (as in the first and last characters) or addressed as segments of a seventh, undisplayed, digit.\\ 
-See the illustration below. 
- 
-9 segments can't be addressed through normal writing of 8 bit bytes to the display buffer as 9 bits are needed.  Instead all segments can be addressed by using 3 successive load-data-immediate type instructions, containing 3 data bits each.  
- 
-(On my example board the 4th digit didn't appear to be responding properly, possibly bad connections) 
- 
-Data and control lines are buffered by inverting schmitt triggers (74hc14), so the driver software needs to invert all those signals. 
- 
-The front keypad switches appear to be encoded by a 74HC165 shift register and wire-ORed to the pin 1 output line (also used as the the µPD7225 busy line).\\ 
-{{:electronic:lcd:metp0000_7seg_design.xls|Spreadsheet}}, for designing segment layout.\\ 
-{{:electronic:lcd:metp0000_7seg_design.pdf|Spreadsheet}}, showing segment layout.\\ 
 ---- ----
-===== Examples : =====+===== Examples =====
  
 {{:electronic:lcd:pa101833a.jpg?800|METP0000}} {{:electronic:lcd:pa101833a.jpg?800|METP0000}}