Dot Graphic VFD Module
q q q q q
GU180x32D-K610A4
The module includes the VFD glass, VF drivers and microcontroller, character generation, interface logic and patented transformerless DC/DC converter. The interface type is selected by a pushbutton on the back of the module. Auto key scanning and general I/O is available on port PA0 – PA7. RS232/RS485 options.
2.5 1 13.95 24.0 31.0 6.58
180 x 32 High Brightness Dot Graphic Display Single 5V DC Supply 3 ASCII Fonts ( 5 x 5, 5 x 7, 10 x 14) Asynchronous, SPI & Parallel interfaces Wide Temperature –40 to +85°C
1 19.7 CON4 CON3 CON2 79.05 117.0 124.0
1 18.25 CON1 3.5 3.5 1.6 6.4
Dimensions in mm & subject to tolerances. Mounting holes 3.5mm dia. CON3 & CON4 are not to be used in this implementation. CHARACTER SETS Unit V mA V V V V Condition VSS=0V Vcc=5V All dots VCC=5V VCC=5V IOH = -3mA Vcc=5V IOL = 20mA
MINI FONT (PROPORTIONAL SPACING)
ELECTRICAL SPECIFICATION Parameter Sym Min Supply Voltage Vcc 4.5 Supply Current Icc Logic High Input VIH 3.0 Logic Low Input VIL -0.5 Logic High Output VOH 4.2 Logic Low Output VOL -
Typ 5.0 350 -
Max 5.25 Vcc 1.5 0.6
5x7 & 10x14 FONTS (FIXED SPACING)
ENVIRONMENTAL and OPTICAL SPECIFICATION Parameter Value Display Area (XxY mm) 79.05 x 13.95 Dot Size/Pitch (XxY mm) 0.29 x 0.29/0.44 x 0.44 Luminance 1000 cd/m2 Typ Colour of Illumination Blue-Green (Filter for colours) Operating Temperature -40°C to +85°C Storage Temperature -40°C to +85°C Operating Humidity (non condensing) 10 to 90% @ 25°C SOFTWARE COMMANDS Hex Command 01-07 Run Macro 08 Backspace 09 Horizontal Tab 0A Line Feed 0B Home 0C Vertical Tab 0D Carriage Return 0E Clear End of Line 0F Test 10 + x + y Cursor Position 11 +xl+yt+xr+yb Set Area 12 +xl+yt+xr+yb Clear Area 13 +xl+yt+xr+yb Invert Area 14 +xl+yt+xr+yb Set Outline 15 +xl+yt+xr+yb Clear Outline 16 Set Pixel 17 Clear Pixel 18 + len + data Graphic Write Hex 19 1A + data 1B + macro+len+data 1B + 4D 1B + 4C/55 1B + 43 1B + 50/46 1B + 48/42 1B + 49 + data 1B + 44 + data 1B + 4F + data 1B + 52 1B + 4B 1B + F8-FF 1C / 1D / 1E 1F +xl+yl+xr+yb+data 20 - FF
*1
Command Reset Write Mode - direction Set Macro Erase All Macros Lock/Unlock EEPROM Request Checksum Power On/Off Enable/Disable Hex Write Set Comms Enable I/O Port Set Port Lines Read Port Enable key scanning Brightness Select Font Graphic Area Write*1 Character Write
CON1 Pin Async 1 5V 2 Nc 3 RXD 4 Nc 5 0V 6 Nc 7 TXD 8 /RES 9 MB 10 HB
Nc = Do Not Connect
SPI 5V SCK /SS SIN 0V SOUT /IRQ /RES MB HB
CON2 Pin 1 2 3 4 5 6 7 8 9 10
Signal 0V ENABLE PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7
Applies to version 3 software only.
The module defaults to a 4 line of 30 character display using the 5x7 font with single pixel spacing. The cursor position auto increments after each character write. The bottom left of a character is placed at the cursor x,y. The M(odule) Busy line indicates the module is busy when high. Connect the H(ost) Busy input to the MBusy to disable handshaking. Use the button to select the configuration which is then stored in EEPROM. To send commands as hexadecimal, prefix the 2 bytes using character 60H. Example: `10`3F`01 = Position dot x=64 y=1. To send character 60H to the display, send 60H twice. Subject to change without notice. Doc Ref: 03872 Iss7 10 July 03
Detailed specification, software commands and interface timing are available on request.
CONTACT
Noritake Sales Office Tel Nos N agoya Japan: +81 (0)52-561-9867 Canada: +1-416-291-2946 Chicago USA: +1-847-439-9020 Munchen (D): +49 (0)89-3214-290 Itron UK: +44 (0)1493 601144 Rest Europe: +49 ( 0)61-0520-9220 www.noritake-itron.com
NORITAKE ITRON VFD MODULES
GU180x32D-K610A4
Dot Graphic VFD Module
SOFTWARE COMMANDS
Instruction
Macro Start
(BUSY time depends on contents)
GU180x32D-K610A4
Data Format
01H - 07H 08H 09H 0AH 0BH 0CH 0DH 0EH 0FH 10H + xpos + ypos
Description
Start user defined macro 1-7. Non destructive backspace. Cursor is moved left by the width of the currently select font. If the cursor is at the left end of the display, no cursor movement is made. Cursor is moved right by the width of the currently select font. If the cursor is at the end of the display, no cursor movement is made. Moves the cursor down by the height of the currently selected font. If the cursor is at the bottom of the display, no cursor movement is made. Moves the cursor horizontal position to 00H, the vertical positioning is dependent on the currently selected font, allowing for immediate character writing in the top-left corner of the display. Moves the cursor up one character row. If the cursor is at the top of the top end of the display, no cursor movement is made. Moves the cursor horizontal position to 00H. The vertical position is unchanged. Clear all characters from the current cursor position to the end of the display. Place module into self-test mode. The module will repetitively show a few test screens. The test mode will stop on the next received byte. Set the cursor position.
Backspace
(50ms)
Horizontal Tab
(50ms)
Line Feed
(50us)
Home
(50us)
Vertical Tab
(50us)
Carriage Return
(50us)
Clear EOL
(2.5ms)
Test
(50ms)
Cursor Position
(50us)
Set Area
(50us + 1ms [last byte])
Clear Area
(50us + 1ms [last byte])
Invert Area
(50us + 1ms [last byte])
Set Outline
(50us + 1ms [last byte])
Clear Outline
(50us + 1ms [last byte])
Set Pixel
(50us)
11H + xleft + ytop + xright + ybot Fill specified area. All dots within the specified area are illuminated. Please note that the cursor position is affected with this command. 12H + xleft + ytop + xright + ybot Clear specified area. All dots within the specified area are cleared. Please note that the cursor position is affected with this command. 13H + xleft + ytop + xright + ybot Invert specified area. All dots within the specified area are inverted. Please note that the cursor position is affected with this command. 14H + xleft + ytop + xright + ybot Draw box outline. All dots within the specified outline are unchanged. Please note that the cursor position is affected with this command. 15H + xleft + ytop + xright + ybot Clear box outline. All dots within the specified outline are unchanged. Please note that the cursor position is affected with this command. 16H Illuminate a single pixel at the current cursor position. 17H 18H + len + data 19H 1AH + data Clear a single pixel at the current cursor position. Write graphical data, length len, direct to display. See write mode command (1AH) for graphic orientation and cursor movements. Resets display to power-on defaults: - Display is cleared. 5x7 font selected. Write Mode = 00H Brightness Level = 7. VFD Power = On. Bit 7 = graphic data orientation - 0 = horizontal, 1 = vertical (default = horizontal) Bit 6 = cursor movement - 0 = horizontal, 1 = vertical (default = horizontal) Bit 5 = cursor direction - 0 = forward, 1 = backwards (default = forwards) Bit 4 = underscore cursor - 0 = off, 1 = on (default = off) Bit 3 = underscore cursor - 0 = static, 1 = flash (default = static) Bit 1/0 = pen type - 00 = overwrite, 01 = AND, 02 = OR, 03 = XOR (default = overwrite) Send macro data to EEPROM. macro = 00H - 07H. Macro0 is executed at power-up only. A maximum of 480 bytes is allowed for macro data. The display may flicker whilst writing macro data. Set the display brightness. level = F8H - FFH. F8H = display off. F9H = minimum, FFH = maximum (default). Clear all downloaded macros in EEPROM. Screen may blank momentarily while macro data is being erased. All data contained within the non-volatile EEPROM is locked (4CH), and no changes are possible until the unlock command 55H is executed. All data received is added to the checksum. This command will read the lower 8-bits of that checksum, before being cleared. Please note that the checksum is cleared when executing the test mode. 50H = Turn on VFD power supply (default). 46H = Turn off VFD power supply, display’s contents will be preserved. 48H = Enable hex receive mode, character 60H is interpreted as a hexadecimal prefix. 42H = Disable hex receive mode. Hex mode is enabled at power up. Set asynchronous communication baud rate and parity. Takes effect at power-up or hardware reset. Bit 7 = Automatic I/O send (0=off, 1=on). Bits 1&0 = baud rate (00=4800, 01=9600, 02=19200, 03=38400). Bit 2 = Parity (1=even, 0=none) (factory default = 19200 with no parity, automatic I/O send is off) Set I/O port direction. A ‘1’ indicates an input, a ‘0’ an output. All output lines are immediately set low. All input lines have their pull-ups enabled. This value is stored in EEPROM and will automatically be set at power up. Set Output lines on I/O port, a ‘1’ will set 5V on the output ports, or enable the pull-ups on the inputs. Read current I/O port status. A single byte is transmitted showing the current state of the I/O lines. Set I/O port to key scanning. The I/O ports are continuously scanned for any key press. This mode is stored in EEPROM and will automatically be selected at power up. Select font. 1CH = proportional mini font. 1DH= fixed spaced 5x7 font. 1E = fixed spaced 10x14 font. Write graphic data within defined area. See write mode command (1AH) for graphic orientation and cursor movements. Note: This command is available on software version 3 only. Press setup button to view. Write to the display module using a 2-byte hexadecimal number. dhH = high nibble, dlH = low nibble. E.g. Sending `19 will reset the display. Display character from selected font.
Clear Pixel
(50us)
Graphic Write
(50us + 250us [each data byte])
Reset
(500us)
Write Mode
(50us)
Set Macro
(50us)
1BH + macro + len + data 1BH + level 1BH + 4DH 1BH + 4CH / 55H 1BH + 43H 1BH + 50H / 46H 1BH + 48H / 42H 1BH + 49H + data 1BH + 44H + data 1BH + 4FH + data 1BH + 52H 1BH + 4BH 1CH / 1DH / 1EH 1FH + xl + yt + xr + yb + data 60H + dhH + dlH 20H - FFH
Brightness
(50us)
Erase Macros
(80ms)
Lock/Unlock EEPROM
(50us + 10ms [last byte])
Checksum
(50us)
Power On/Off
(50us)
Hex/Binary Mode
(50us)
Set ASYNC comms
(50us + 10ms[last byte])
Enable I/O Port
(50us + 20ms[last byte])
Set Port Lines
(50us)
Read Port
(50us)
Enable Key Scanning
(50us + 10ms[last byte])
Select Font
(50us)
Graphic Area Write
(50us + 250us [each data byte])
Hex Prefix
(50ms + 50us command BUSY)
Character Write
(400us)
Notes: Busy times are not inclusive of a 100us scan period, this must be taken into consideration. If the cursor is enabled, busy times will increase by a further 50us. All coordinates are absolute. The origin (00H, 00H) is the top left of the display. All data shown is in hexadecimal format.
NORITAKE ITRON VFD MODULES
GU180x32D-K610A4
Dot Graphic VFD Module
GU180x32D-K610A4 SETUP
GU180x32D-K610A4
The VFD module features two serial ports (synchronous & asynchronous) and a parallel port, all interfaces are TTL compatible. Interface selection/set-up can be made using the single push button switch on the back of the module. Pressing the switch for the first time will display the initial configuration menu. On each subsequent switch press the menu pointer will advance. The current menu item will be selected if the switch is not pressed within 2 seconds. To select the required interface, press the switch until the ‘COMMS’ item has been selected. Wait 2 seconds for the communication menu to be displayed. Press the switch until the required interface is selected. The factory default interface is SPI. Wait another 2 seconds to display the related communication settings. The current configuration is displayed first.
Interface selection example.
SYNCHRONOUS SERIAL COMMUNICATION
With synchronous communications enabled, data can be clocked into the VFD module using the rising or falling edge of SCK. This is selectable by the push switch on the rear of the module, which also sets the data order. By default, data is clocked in on the rising edge with the most significant bit sent first. The host must provide adequate delays for the module to process the data, these busy times are specified in the software command section. Alternatively the host can monitor the MB (Module Busy) line.
>125ns
HOST SYSTEM
GND VDD
I/O I/O I/O I/O I/O I/O
SIN SOUT SCK /SS MB /RES
tBUSY + 10us
/SS
GU180x32D-K610A4
>65ns
>125ns
>125ns
SCK (RISING) SCK (FALLING)
VDD GND
SIN (D7-D0) SIN (D0-D7)
D7 D6 D0 D7 D6 D0
D0
D1
D7 125ns
ENABLE (RISING)
HOST SYSTEM
GND VDD
I/O I/O I/O
PA0-7
GU180x32D-K610A4
MB ENABLE VDD GND
ENABLE (FALLING)
>125ns >250ns
D0 - D7
DATA tBUSY 50ns
/RES DATA
30ms
I/O level change interrupt.
KEYBOARD CONTROL
All 8 I/O lines can be configured to scan a key matrix with up to 16 keys. The 1BH + 4BH command will configure the I/O lines to key scan mode. The I/O port status will indicate the row/column position of the pressed key. The ENABLE line acts as hardware scan enable input, and should be tied to ground.
PA0 S1 PA1 S5 PA2 S9 PA3 S10 S11 S12 S6 S7 S8 S2 S3 S4 ENABLE KEY SCANNNG AUTOMATIC I/O SEND
The following example enables the key-scanning mode and the automatic I/O send when using asynchronous communications.
1BH 4BH
1BH 49H 82H
GU180x32D -K610A4
PA4 PA5 PA6 PA7 ENABLE
S13
S14
S15
S16
On each key press, the I/O port status will be sent out of the asynchronous communication port. e.g. pressing key switch 1, the module will send 03H to the host system. When using synchronous serial communication, the /IRQ line will indicate when a key has been pressed, the host should then issue a ‘Read Port’ command to determine the I/O port status.
I/O CONTROL
The module contains simple Input and Output functions for the 8 I/O lines (PA0-PA7). All inputs include an optional pull-up resistor, 30K-120K in value. The outputs can source ~5mA and sink ~30mA. The following example sets up the I/O lines to control the 2 LED’s and provide a pull-up resistor for the switch.
ENABLE I/O MODE P0/1 = OUT, P7 = IN SET I/O LINES ENABLE P7 PULL-UP, TURN ON LED1&2 VDD
GU180x32DK610A4
LED1 LED2 PA0 PA1
1BH 44H 80H
1BH 4FH 80H
With asynchronous communications enabled, the status of PA0-PA7 can be transmitted when a change in level is detected on any pin. This automatic response mode can be enabled by using the ‘UART SETUP’ command. When this mode is enabled, the VFD module can reliably check port changes every 15ms. With auto send disabled (default) a manual read command is required to determine the port status.
READ PORT RESPONSE SW1 CLOSED SW1 OPEN
PA7 SW1 GND
1BH 52H
00H
80H
< 15ms > 1us
When using synchronous serial communications, the host can detect a level change with the /IRQ line on CON1. This allows the host to poll the port status only when needed.
/IRQ PA0 - PA7
I/O level change interrupt.
I/O WRITE
~400ns
I/O READ
~400ns
When I/O control is used, the Enable line can be used as an active low read or write strobe. With the I/O read command, the enable line will clock before the module reads the I/O port status. With the I/O write command, the enable line will clock after the I/O lines have been set.
ENABLE