NHD-0220DZW-AY5 Newhaven Display, NHD-0220DZW-AY5 Datasheet - Page 18
NHD-0220DZW-AY5
Manufacturer Part Number
NHD-0220DZW-AY5
Description
DISPLAY OLED CHAR 2X20 YLW
Manufacturer
Newhaven Display
Datasheet
1.NHD-0220DZW-AY5.pdf
(21 pages)
Specifications of NHD-0220DZW-AY5
Viewing Area (w X H)
85 mm x 18.6 mm
Operating Voltage
5 V
Operating Current
35 mA
Maximum Operating Temperature
+ 80 C
Minimum Operating Temperature
- 40 C
Illumination Color
Yellow
Viewing Angle
80 deg
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
How to use CGRAM
The Character Generator RAM (CGRAM) is used to generate custom 5x8 character patterns. There are 8 available
addresses: CGRAM Address 0x00 through 0x08.
Character Code
DDRAM address on Font
Table used to write
CGRAM character to
display
Notes:
“‐“ = Not used
The cursor line position can be used, it will be displayed as a logic‐OR if the cursor is turned ON.
CGRAM is stored in positions 0x00 through 0x07 of the font table. Therefore, to write the first CGRAM character to the
display, you would move the cursor to the desired DDRAM location on the display and write character data 0x00.
0x02..0x06
0x00
0x01
0x07
CGRAM Address
5
0
0
1
.
.
.
.
4
0
0
1 1
.
.
.
.
3
0
1
.
.
.
.
2
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
.
.
.
.
1 0
0 0
0 1
1 0
1 1
0 0
0 1
1 0
1 1
0 0
0 1
1 0
1 1
0 0
0 1
1 0
1 1
0 0
0 1
1 0
1 1
0 0
0 1
1 0
1 1
.
.
.
.
.
.
.
.
Character Patterns
(CGRAM data)
7 6 5 4 3 2 1 0
‐ ‐ ‐ 1 1 1 1 0 Character pattern #0
‐ ‐ ‐ 1 0 0 0 1
‐ ‐ ‐ 1 0 0 0 1
‐ ‐ ‐ 1 1 1 1 0
‐ ‐ ‐ 1 0 1 0 0
‐ ‐ ‐ 1 0 0 1 0
‐ ‐ ‐ 1 0 0 0 1
‐ ‐ ‐ 0 0 0 0 0
‐ ‐ ‐ 1 0 0 0 1 Character pattern #1
‐ ‐ ‐ 0 1 0 1 0
‐ ‐ ‐ 1 1 1 1 1
‐ ‐ ‐ 0 0 1 0 0
‐ ‐ ‐ 1 1 1 1 1
‐ ‐ ‐ 0 0 1 0 0
‐ ‐ ‐ 0 0 1 0 0
‐ ‐ ‐ 0 0 0 0 0
‐
‐
‐
‐
‐ ‐ ‐ 0 0 0 0 0 Character pattern #7
‐ ‐ ‐ 0 1 0 1 0
‐ ‐ ‐ 0 0 0 0 0
‐ ‐ ‐ 0 0 0 0 0
‐ ‐ ‐ 1 0 0 0 1
‐ ‐ ‐ 0 1 1 1 0
‐ ‐ ‐ 0 0 1 0 0
‐ ‐ ‐ 0 0 0 0 0
‐
‐
‐
‐
[18]
‐
‐
‐
‐
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Character Patterns
(CGRAM data)
Cursor position
Cursor position
Cursor position