(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
(50µs + 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
GU144x40D-K610A4
Dot Graphic VFD Module
GU144x40D-K610A4 SETUP
GU144x40D-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
GU144x40D-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
<10us
D0
D1
D7
The /SS pin can be used as an enable pin if other devices are
connected to the serial line, and also allows byte synchronisation.
The use of the /SS line is optional, and can be permanently pulled
low if required.
MB
TTL Synchronous serial communication.
ASYNCHRONOUS SERIAL COMMUNICATION
The asynchronous communication speed and parity can be set with the push switch on the rear of the module, or with the ‘SET ASYNC COMMS’
command. The default settings are 19200 baud with no parity. Again the host most provide adequate delays for the module to process the
command and data. The module busy line (MB) will go high when data is currently being processed.
<10us
tBUSY
HOST
SYSTEM
GND VDD
TXD
RXD
I/O
I/O
I/O
RXD
TXD
HB
MB
/RES
RXD
START
D0
D1
D2
D3
D4
D4
D5
D6
D7
PARITY
STOP
GU144x40D-K610A4
MB
TTL Asynchronous serial communication from host system to VFD module.
VDD GND
TXD
HB
>2us
START
D0
D1
D2
D3
D4
D4
D5
D6
D7
PARITY
STOP
The host busy line (HB) stops the module from sending data to
the host until the line falls. The use of the HB and MB lines are
optional, and can be connected together if not required.
TTL Asynchronous serial communication from VFD module to host system.
PARALLEL COMMUNICATION
The 8 I/O lines can be configured as a slow parallel interface. Data on PA0-7 is clocked into the module with the Enable line, this can be set to
either a rising or falling edge trigger by the push switch on the back of the module. The host must keep the data stable for the time period indicated
in the timing diagram. The module busy line (MB) can be used in parallel communication mode.
>125ns
ENABLE (RISING)
HOST
SYSTEM
GND VDD
I/O
I/O
I/O
PA0-7
GU144x40D-K610A4
MB
ENABLE
VDD GND
ENABLE (FALLING)
>125ns
>250ns
D0 - D7
DATA
tBUSY
<10us
MB
Parallel Communication.
NORITAKE ITRON VFD MODULES
GU144x40D-K610A4
Dot Graphic VFD Module
RESET TIMING
The module is reset when a low-level signal is applied to the /RES line. This will cause the
module to clear the display, initialise the communication settings and set all power-up
defaults. During this initialisation period, the user must delay any transmission to the module.
GU144x40D-K610A4
>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
GU144x40D
-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
GU144x40D-
K610A4
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
GND
SW1
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
<250ns
<250ns
PA0 - PA7
I/O Write & Read.
NORITAKE ITRON VFD MODULES
GU144x40D-K610A4
Dot Graphic VFD Module
DISPLAYING TEXT
The module contains 3 font sizes, a proportional mini-font, 5x7 pixel, and a 10x14 pixel font.
Characters of any size can be written to any part of the display. All data sent to the module from
20H to FFH is treated as character data. Characters are positioned above the current cursor
position, see Fig1. Each character written will include a one pixel space on the right side of the
character. After each character is written to the display, the cursor position is automatically
advanced. If the cursor position reaches the end of the display, the host must reposition to the
next line.
GU144x40D-K610A4
0,0
0,7
6,7
The following example displays two text messages in the center of the display.
5x7 FONT
SET CURSOR
DISPLAY TEXT
SET CURSOR
DISPLAY TEXT
Cursor Positioning, example of writing 2 characters
from cursor position 0,7.
1DH 10H 1EH 13H ‘NORITAKE ITRON’
10H 27H 1BH ‘VFD MODULES’
Displaying text in the small 5x7 font.
The next example displays one line of text using the 10x14 font.
10x14 FONT
SET CURSOR
DISPLAY TEXT
1EH 10H 27H 1BH ‘144x40’
The module can display a cursor to aid character positioning and text input. The
size of the cursor depends upon the currently selected font, and can be set to flash
or remain static.
5x7 FONT
SET CURSOR
DISPLAY TEXT
ENABLE FLASHING CURSOR
Displaying text in the large 10x14 font.
1DH 10H 0DH 0EH ‘ENTER NAME: ’ 1AH 18H
DISPLAYING GRAPHICS
Using the cursor to aid user input.
Graphical images can be displayed on the VFD module in either a horizontal or vertical byte orientation. After each graphical data write, the cursor
is automatically advanced, depending upon the direction selected in the ‘Write Mode’ command. The most significant bit is positioned to the top
(vertical data) or to the left (horizontal data).
The following example displays a simple graphical image using horizontal graphic data. The write mode
is first set to horizontal data format, with a vertical cursor movement. The cursor is positioned before
sending the 8 byte of graphical data using the graphics command.
SET HORIZONTAL WRITE MODE
SET CURSOR
GRAPHIC WRITE
LENGTH
GRAPHIC DATA
MSB
-
-
-
-
-
-
-
-
1CH
5CH
48H
3EH
1DH
1DH
14H
36H
Graphic Image using horizontal data
1AH 40H
10H 28H 10H 18H 08H
1CH 5CH 48H 3EH 1DH 1DH 14H 36H
MSB
The next example displays a simple graphical image using vertical graphical data. The write mode is
first set to vertical data format, with a horizontal cursor movement. The cursor is positioned, then the
top 20 bytes are sent using the graphic write command. The cursor is then repositioned to send the