SGX-120 120x32 Serial Graphics LCDs
SGX-120s are 120x32-pixel graphics LCDs with an advanced serial interface factory-installed. The LCD displays text received serially, and the interface understands common terminal-style formatting instructions (e.g., carriage return, tab, etc.) In addition, the SGX's graphics capabilities enable multiple font sizes (from four lines of 20 characters to two lines of 10 large characters), bitmap display, plotting lines, points, etc.
SGX-120 Features
- Sharp 120x32-pixel graphics LCD
- 9600bps serial input with 64-byte buffer
- Text displayable in four font sizes
- Flash memory stores font(s) and up to 15 custom, full-screen graphics
- All the text-formatting features of our other BPP- models
- On-the-fly graphics including full-screen recall, plotting points/lines
- Deep inventory for no-lead-time delivery
Basic Specifications
| Power Requirements | 4.8 to 5.5Vdc at 8-10mA (65mA backlight on) |
|---|---|
| User Connector | 5-pin header, 0.025in. posts on 0.10in. centers |
| Connector Pinout | +5V Gnd Serial Gnd +5V |
| Serial Input | 9600bps inverted or non-inverted, jumper configurable |
| *Operating Temperature | 0° to 50° C, contrast compensated |
| LCD Type | Supertwist (STN) yellow-green |
| Optimum View Direction | 6 o'clock |
*NOTE: The SGX-120L v2 can operate without damage in the range -20° to +70° C, but contrast and response speed are compromised at temperature extremes.
Dimensions (in mm)
Total depth (front of screen to tips of interface header pins) is 24mm.
| A | y offset edge to hole center (top & bottom) | 4.00 |
|---|---|---|
| B | y pcb height | 36.00 |
| C | y hole spacing | 28.00 |
| D | y screen opening | 18.50 |
| E1 | y character height (small font) | 3.92 |
| E2 | y character height (large font) | 7.84 |
| F1 | x character width (small font) | 2.94 |
| F2 | x character width (large font) | 5.88 |
| G1 | x offset pcb edge to hole center (bottom) | 2.50 |
| G2 | x offset pcb edge to hole center (top) | 4.00 |
| H | x screen frame | 68.20 |
| I | x screen opening | 60.50 |
| J1 | x hole spacing (bottom) | 75.00 |
| J2 | x hole spacing (top) | 72.00 |
| K | x pcb width | 80.00 |
| L | y frame height | 28.30 |
| - | mounting hole diameter | 2.50 |
| - | screen frame depth | 9.00 |
LCD Instructions
The SGX-120 works like a mini-terminal, displaying text and responding to traditional control characters like linefeeds, carriage returns, tabs, etc. In addition to the standard text features of the BPP- series, the SGX also offers four font sizes and, of course, graphics. Graphics instructions are generally multipart escape-code sequences; see below.
| LCD Instruction (ctrl code) | ASCII | Hex |
|---|---|---|
| Null; ignored but may be used for timing (ctrl-@) | 0 | 0x00 |
| Home cursor (ctrl-A) | 1 | 0x01 |
| Begin inverse (light-on-dark) text (ctrl-B) | 2 | 0x02 |
| End inverse text (ctrl-C) | 3 | 0x03 |
| Ignored (ctrl-D thru G) | 4-7 | 0x04-0x07 |
| Backspace (ctrl-H) | 8 | 0x08 |
| Tab: jump to next multiple-of-4 column (ctrl-I) | 9 | 0x09 |
| Smart linefeed: move down one row (ctrl-J) | 10 | 0x0A |
| Vertical tab: move up one row (ctrl-K) | 11 | 0x0B |
| Formfeed: clear the screen (ctrl-L) | 12 | 0x0C |
| Carriage return: move to beginning of next line (ctrl-M) | 13 | 0x0D |
| Turn backlight on (ctrl-N) | 14 | 0x0E |
| Turn backlight off (ctrl-O) | 15 | 0x0F |
| Accept cursor-position data (next byte) (ctrl-P) | 16 | 0x10 |
| Ignored (ctrl-Q) | 17 | 0x11 |
| Accept right-alignment data (ctrl-R) | 18 | 0x12 |
| Ignored | 19-26 | 0x13-0x1A |
| Escape character: begin multipart instruction* | 27 | 0x1B |
| *See below. | ||
Graphics Escape Sequences
| Escape Sequence | Function |
|---|---|
| ESC A x y | Set screen address to x,y for byte write |
| ESC B n | Write byte n to current screen address |
| ESC D G {data} | Download graphic (480 bytes) to screen |
| ESC E n | Display full screen graphic from EEPROM page n (0-16) |
| ESC F n | Set font size to n (0=small, 1=wide, 2=tall, 3=large) |
| ESC I n | Set ink color for points and lines to n (1=black, 0=white) |
| ESC L x1 y1 x2 y2 | Plot a line from x1, y1 to x2, y2 |
| ESC M n | Set graphics mode to n (1=XOR, 0=OR) |
| ESC P x y | Plot a point at x,y |
| ESC R n | Reverse (invert black/white) text lines by n |
| ESC T x y | Plot a line from last line end to x,y |
| ESC W n | Write configuration data to EEPROM |
| ESC X n | Transfer current screen image to EEPROM page n (0-16) |
Accessories
- BEZ-120 mounting kit with custom Lexan faceplate, hardware
- BSW-CBL wiring harness, 12" power, ground and serial wires to breadboard pins
- PDI-CBL wiring harness, HD-style power connector, DE-9 female for PC internal hookup
- PDX-CBL wiring harness, power, ground wires and DE-9 female for PC external hookup
