NHDEVDEVELOPMENTBOARD 数据手册
LCD-OLED Development Board – User Manual
Newhaven Display International, Inc
2661 Galvin Ct.
Elgin, IL 60124
847-844-8795
nhtech@newhavendisplay.com
© 2015 Newhaven Display International, Inc
Page |1
Rev. 8.30.18
List of Supported Displays
TFTs
NHD-1.8-128160EF-C series
NHD-2.4-240320CF-C series
NHD-2.4-240320SF-C series
NHD-3.5-320240MB-A series *
NHD-3.5-320240MF-A series *
NHD-4.3-480272EF-A series *
NHD-4.3-480272MB-A series *
NHD-4.3-480800EF-C series
NHD-5.0-800480MB-A series *
NHD-5.0-800480TF-A series *
NHD-5.7-320240WFB-A series *
NHD-5.7-320240WFB-C series
NHD-5.7-320240WFB-E series
NHD-5.7-640480WF-C series
NHD-7.0-800480EF-A series
NHD-7.0-800480MB-A series *
NHD-7.0-800480WF-C series *
* : Controller Board Required
Graphic Modules
NHD-12232AZ series
NHD-12232DZ series
NHD-12864WX series
NHD-12864MZ series
NHD-12864WG-B series
NHD-12864WG-C series
NHD-12864AZ series
NHD-14432WG-A series
NHD-14432WG-B series
NHD-16032AZ series
NHD-16032BZ series
NHD-160128WG series
NHD-19232WG series
NHD-24064CZ series
NHD-24064WG series
NHD-240128WG-A series
NHD-240128WG-B series
NHD-320240WG-B series
NHD-320240WG-C series
NHD-320240WX series
OLED Displays
NHD-0216CW series
NHD-0216KZW series
NHD-0216SZW series
NHD-0220CW series
NHD-0220DZW series
NHD-0420CW series
NHD-0420DZW series
NHD-2.23-12832UC series
NHD-2.7-12864WD series
NHD-2.8-25664UC series
NHD-3.12-25664UC series
NHD-1.27-12896UGC3
NHD-1.5-128128UGC3
NHD-1.69-160128UGC3
Character Modules
NHD-0108 series
NHD-0112 series
NHD-0116 series
NHD-0208 series
NHD-0212 series
NHD-0216 series
NHD-0220 series
NHD-0224 series
NHD-0240 series
NHD-0416 series
NHD-0420 series
NHD-0440 series
NOTE: Serial displays not supported
Chip-On-Glass
NHD-C0216AZ series
NHD-C0216CZ series
NHD-C0220AA series
NHD-C0220AZ series
NHD-C12832A1Z series
NHD-C12864A1Z series
NHD-C12864B2Z series
NHD-C12864CR series
NHD-C12864GG series
NHD-C12864KGZ series
NHD-C12864LZ series
© 2015 Newhaven Display International, Inc
Page |2
Rev. 8.30.18
VFD Modules
M0116SD-161SDBR1-1
M0216SD-162SDAR2-1
M0216SD-162SDAR1
M0216SD-162SDAR8
M0216MD-162MDBR2-J
M0220SD-202SDAR1
M0220SD-202SDAR1-1G
M0220MD-202MDAR1-3
M0420SD-204SDAR1-3
M0420SD-204MDAR1-C
NHD-C12864M1R series
NHD-C12864WC series
NHD-C12864WO series
NHD-C12865AR series
NHD-C12865BR series
NHD-C128128BZ series
NHD-C160100AZ series
NHD-C160100CZ series
NHD-C160100DiZ series
© 2015 Newhaven Display International, Inc
Page |3
Rev. 8.30.18
Introduction
The NHDev is a development board for evaluating or prototyping
Newhaven Display’s OLED, TFT, COG, Graphic, and Character LCD
displays. This development board is based on the STM32F103 CortexM3 microcontroller. The device has been preprogrammed to support
most of Newhaven’s display modules. The board includes a SD Card
with preloaded images and text files for the supported displays and
can be reloaded or edited using a PC to evaluate the supported
displays using custom designed images or text.
Features
•
•
•
•
•
•
•
•
•
•
•
•
CPU: STM32F103RET6 ARM 32 bit Cortex-M3
2.54mm (0.1”) pitch LCD development output pins and thru-holes
PCB dimensions: 100 x 95mm
SD Card storage with preloaded images and text files
NHD-C0216CZ-FSW-FBW display
3 pushbutton user interface
6VDC power supply, jumper to select +5V, 3.3V LCD power supply.
Jumper to select input to V0 potentiometer, either VSS or VEE (external
voltage).
Variable resistor to adjust contrast
Backlight Enable switch
MPU reset switch
JTAG connection with ARM2x10 pin layout for programming
© 2015 Newhaven Display International, Inc
Page |4
Rev. 8.30.18
Block Diagram
STM32F103
+6VDC
Power
Supply
+3.3V
Regulator
+5.0V
Regulator
Cortex-M3
CPU
2x16 COG LCD
Development
Display
Output Pins
SD Card Input
Pushbutton
Inputs
JTAG
input
Warning of Use
The NHDev board is shipped in protective anti-static packaging.
General practice for working with static sensitive devices should be
applied when working with this board.
The NHDev board is designed to be used as a learning tool and method
to achieve quick-to-market product decisions. The programming and
timing used may not completely match the requirements as stated in
the product specifications, but can be used as general guidelines.
Though it may work, the NHDev board is not designed to be used with
other manufacturer’s displays. Consult the product specification to
ensure no damage will be caused to the display or the NHDev board.
Damage to the NHDev board or evaluated display caused by improper
wiring or testing sequence is not covered under warranty.
© 2015 Newhaven Display International, Inc
Page |5
Rev. 8.30.18
Board Use Requirements
•
•
•
•
Power Supply: 6VDC, 600mA wall transformer included.
SD Card: 128MB card with default files included.
Jumper shunts: 3 included for VDD, V0, Backlight power select
LCD interface cable: sold separately or build-your-own
Interface Introduction
© 2015 Newhaven Display International, Inc
Page |6
Rev. 8.30.18
Output Pin Description
Pin
1
2
3
Symbol
VSS
VDD
V0
Level
GND
5V / 3.3V
Variable
4
5
6
VEE
RS or A0
R/W or /WR
Input
H/L
H/L
7
E or /RD
H/L
8
9
10
E2
/CS1
/CS2
or DISP or IMO
H/L
H/L
H/L
11
12
13-16
17-20
21-28
29
30
31
32
33-36
37-40
/RES
BLE
DB0 – DB3
DB4 – DB7
DB8 – DB15
SDI or SDA
SCK or SCL
SPISS
BLE
VDD
VSS
H/L
5V / 3.3V
H/L
H/L
H/L
H/L
H/L
H/L
5V / 3.3V
5V / 3.3V
GND
Description
Ground
Selectable 5V, 3.3V Logic Power Supply
LCD Contrast adjustment voltage selectable between VSS to VDD or VSS
to VEE
LCD voltage input (selected with J2)
Register Select. H=Data, L= Instruction
R/W in M6800 interface. H=Read, L=Write
/WR in I8080 interface. H=Write Inactive, L=Write Active
E in M6800 interface. H->L = Enable Strobe
/RD in I8080 interface. H=Read Inactive, L=Read Active
H-> L = Enable Strobe for second controller
Chip Select. L=Chip Active
Chip Select-Second Controller. L=Chip Active
DISP=Display ON signal
IMO= Interface Mode select
Reset. L=Reset controller.
Backlight power switch (SW5)
Bi-directional 3-state data bus lines. Not used in 4-bit mode.
Bi-directional 3-state data bus lines.
Bi-directional 3-state data bus lines.
Serial Data In
Serial Clock
Serial Slave Select
Backlight power switch (SW5)
Selectable 5V, 3.3V Logic Power Supply
Ground
© 2015 Newhaven Display International, Inc
Page |7
Rev. 8.30.18
Jumper Pin Description
Pins
Name
CN2
SUPPLY SELECT
Level
5V
3.3V
Output
VDD and
logic pins
VDD
CN4
V0 SELECT
VEE
V0
(pin 3)
5V
CN3
BACKLIGHT
SUPPLY SELECT
3.3V
SW5
(pins 12,32)
Description
Select 5V as VDD for the display and logic
Select 3.3V as VDD for the display and logic
Select contrast voltage between VDD and VSS. (For a
Positive LCD voltage).
Adjustable via VR1 potentiometer.
Select contrast voltage between VSS and VEE. (For a
Negative LCD voltage).
VEE must be supplied externally onto PIN4.
Adjustable via VR1 potentiometer.
Select 5V as voltage supply for LED backlight.
External current limiting resistor may be required.
Select 3.3V as voltage supply for LED backlight.
External current limiting resistor may be required.
© 2015 Newhaven Display International, Inc
Page |8
Rev. 8.30.18
Development Board Firmware Description
The
NHDev
Development
Board
comes
programmed
with
demonstration firmware for all of the Newhaven Display modules listed
above. By selecting the desired part number from the NHDev user
interface, one is able to quickly demonstrate and evaluate any of these
display modules. Prior to selecting the appropriate firmware, the
display module must be wired to the NHDev board by matching the
display’s pin description to the NHDev output pin description. Then,
when the firmware is selected by the display’s part number the display
is initialized and demonstration text or images is read from the SD
Card and sent onto the display. The demonstration text and images
can be edited or replaced in order to see the many capabilities of each
display module.
Current Version: V2.10
NHDev Welcome Message
Structure of the Demonstration Menu
Category Select
Display Model Select
Display SD Card
demo files
© 2015 Newhaven Display International, Inc
Page |9
Rev. 8.30.18
Running the Development Board
1. Wire the display by matching the pin descriptions of the display module to
the NHDev output pin description.
See http://www.newhavendisplay.com/nhdev/NHDev_Wiring_Diagram.php or display
datasheet for reference.
2. Select either 5V or 3.3V Power Supply for the display being evaluated. This is
determined based on the specification of the desired display.
3. Select either VDD or VEE for the V0 Power Supply for the display being
evaluated. This is determined based on the specification of the desired
display.
• If the display has a VEE Voltage Output connected to Pin 4, you should
select VEE.
• If the display’s V0 (Contrast Voltage) is negative, you should select
VEE.
• If the display’s V0 (Contrast Voltage) is greater than VDD, you should
select VEE.
• If the display’s V0 (Contrast Voltage) is between VDD and 0V, you
should select VDD.
4. Select either 5V or 3.3V for the Backlight Supply voltage. This is determined
based on the specification of the desired display. If the backlight of the
display requires any voltage other than 5V or 3.3V, select the greater voltage
and include a current limiting resistor in line with the backlight when wiring.
© 2015 Newhaven Display International, Inc
P a g e | 10
Rev. 8.30.18
5. Push ON J1 and J2 (push buttons are clicked down)
6. Make sure the SD Card is inserted into the NHDev board.
7. Apply power to NHDev board. A 6.0V DC wall transformer is included. On
power up, the NHDev built-in display will show the current program revision.
8. The NHDev display will then show “Press UP to select type”. Pressing the UP
and DOWN buttons will cycle through the available display categories that
NHDev is programmed to demonstrate. Pressing the SEL button will enter
that category and begin listing specific part number models.
© 2015 Newhaven Display International, Inc
P a g e | 11
Rev. 8.30.18
9. The NHDev display will show the first part number model in the selected
category. Pressing UP and DOWN buttons will cycle through the available
part number models that NHDev is programmed to demonstrate. When the
desired part number model is reached, stop pressing buttons.
10. Press the SEL button to initialize the selected display and begin the
demonstration program.
11. When prompted, press the SEL button to continue the demonstration
program and scroll through the corresponding files on the SD Card. See
Appendix B for SD Card file formatting and editing. You may see a blink on
the display as the SD Card is being read and the display is being re-initialized
and written.
12. To evaluate another display, reset power and repeat all steps.
© 2015 Newhaven Display International, Inc
P a g e | 12
Rev. 8.30.18
SD Card File Format
For each display model, the demonstration program will attempt to
read a default file. The default file must be saved on the SD Card and
be readable or the NHDev program will error and halt.
The default file is always signified by a 0 (zero) immediately before the
.BMP or .TXT file format.
After reading and displaying the default file, if the SEL button is
pressed, the next file, if available and readable, will be read and
displayed. If no additional files are available, the default file will be
displayed again.
The next file is determined by incrementing the number or letter
immediately before the .BMP or .TXT.
✓ Char2x16_0.txt
➢ Char2x16_1.txt
➢ Char2x16_2.txt
…
➢ Char2x16_9.txt
➢ Char2x16_A.txt
➢ Char2x16_B.txt
…
➢ Char2x16_Y.txt
➢ Char2x16_Z.txt
✓ Char2x16_0.txt
➢ Char2x16_1.txt
You may edit the contents of any of the provided files or create your
own according to the following table.
Model No.
Resolution
File Type
Default File Name
(***Required File***)
TFTs
NHD-1.8-128160EF-C
NHD-2.4-240320CF-C
NHD-2.4-240320SF-C
NHD-3.5-320240MB-A
NHD-3.5-320240MF-A
NHD-4.3-480272EF-A
NHD-4.3-480272MB-A
NHD-4.3-480800EF-C
NHD-5.0-800480MB-A
NHD-5.0-800480TF-A
NHD-5.7-320240WFB-A
NHD-5.7-320240WFB-C
NHD-5.7-320240WFB-E
NHD-5.7-640480WF-C
NHD-7.0-800480EF-A
NHD-7.0-800480MB-A
NHD-7.0-800480WF-C
128x160
240x320
240x320
320x240
320x240
480x272
480x272
480x800
800x480
800x480
320x240
320x240
320x240
640x480
800x480
800x480
800x480
pixels
pixels
pixels
pixels
pixels
pixels
pixels
pixels
pixels
pixels
pixels
pixels
pixels
pixels
pixels
pixels
pixels
24-bit
24-bit
24-bit
24-bit
24-bit
24-bit
24-bit
24-bit
24-bit
24-bit
24-bit
24-bit
24-bit
24-bit
24-bit
24-bit
24-bit
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
© 2015 Newhaven Display International, Inc
1_8_128160EF_0.bmp
2_4_240320CF_0.bmp
2_4_240320SF_0.bmp
3_5_320240MF_0.bmp
3_5_320240MF_0.bmp
4_3_480272EF_0.bmp
4_3_480272EF_0.bmp
4_3_480800EF_0.bmp
5_0_800480TF_0.bmp
5_0_800480TF_0.bmp
5_7_320240WFB_0.bmp
5_7_320240WFB_0.bmp
5_7_320240WFB_0.bmp
5_7_640480WF_0.bmp
7_0_800480EF_0.bmp
7_0_800480EF_0.bmp
7_0_800480WF_0.bmp
P a g e | 13
Rev. 8.30.18
Character Modules
NHD-0108
NHD-0112
NHD-0116
NHD-0208
NHD-0212
NHD-0216
NHD-0220
NHD-0224
NHD-0240
NHD-0416
NHD-0420
NHD-0440
8 characters
12 characters
16 characters
16 characters
24 characters
32 characters
40 characters
48 characters
80 characters
64 characters
80 characters
160 characters
NHD-12232AZ
NHD-12232DZ
NHD-12864WX
NHD-12864MZ
NHD-12864WG-B
NHD-12864WG-C
NHD-12864AZ
NHD-14432WG-A
NHD-14432WG-B
NHD-16032AZ
NHD-16032BZ
NHD-160128WG
NHD-19232WG
NHD-24064CZ
NHD-24064WG
NHD-240128WG-A
NHD-240128WG-B
NHD-320240WG-B
NHD-320240WG-C
NHD-320240WX
122x32 pixels
122x32 pixels
128x64 pixels
128x64 pixels
128x64 pixels
128x64 pixels
128x64 pixels
144x32 pixels
144x32 pixels
160x32 pixels
160x32 pixels
160x128 pixels
192x32 pixels
240x64 pixels
240x64 pixels
240x128 pixels
240x128 pixels
320x240 pixels
320x240 pixels
320x240 pixels
NHD-C0216AZ
NHD-C0216CZ
NHD-C0220AA
NHD-C0220AZ
NHD-C12832A1Z
NHD-C12864A1Z
NHD-C12864B2Z
NHD-C12864CR
NHD-C12864GG
NHD-C12864KGZ
NHD-C12864LZ
NHD-C12864M1R
NHD-C12864WC
NHD-C12864WO
NHD-C12865AR
NHD-C12865BR
NHD-C128128BZ
NHD-C160100AZ
NHD-C160100CZ
NHD-C160100DiZ
32 characters
32 characters
40 characters
40 characters
128x32 pixels
128x64 pixels
128x64 pixels
128x64 pixels
128x64 pixels
128x64 pixels
128x64 pixels
128x64 pixels
128x64 pixels
128x64 pixels
128x65 pixels
128x65 pixels
128x128 pixels
160x100 pixels
160x100 pixels
160x100 pixels
.TXT
.TXT
.TXT
.TXT
.TXT
.TXT
.TXT
.TXT
.TXT
.TXT
.TXT
.TXT
Char1x8_0.txt
Char1x12_0.txt
Char1x16_0.txt
Char2x8_0.txt
Char2x12_0.txt
Char2x16_0.txt
Char2x20_0.txt
Char2x24_0.txt
Char2x40_0.txt
Char4x16_0.txt
Char4x20_0.txt
Char4x40_0.txt
Graphic Modules
Monochrome
Monochrome
Monochrome
Monochrome
Monochrome
Monochrome
Monochrome
Monochrome
Monochrome
Monochrome
Monochrome
Monochrome
Monochrome
Monochrome
Monochrome
Monochrome
Monochrome
Monochrome
Monochrome
Monochrome
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
bitmap
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
12232_0.bmp
12232_0.bmp
12864_0.bmp
12864_0.bmp
12864_0.bmp
12864_0.bmp
12864_0.bmp
14432_0.bmp
14432_0.bmp
16032_0.bmp
16032_0.bmp
160128_0.bmp
19232_0.bmp
24064_0.bmp
24064_0.bmp
240128_0.bmp
240128_0.bmp
320240_0.bmp
320240_0.bmp
320240_0.bmp
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
.BMP
Char2x16_0.txt
Char2x16_0.txt
Char2x20_0.txt
Char2x20_0.txt
C12832_0.bmp
12864_0.bmp
12864_0.bmp
12864_0.bmp
12864_0.bmp
12864_0.bmp
12864_0.bmp
12864_0.bmp
12864_0.bmp
12864_0.bmp
12865_0.bmp
12865_0.bmp
C128128_0.bmp
C160100_0.bmp
C160100_0.bmp
C160100_0.bmp
COG Modules
.TXT
.TXT
.TXT
.TXT
Monochrome bitmap
Monochrome bitmap
Monochrome bitmap
Monochrome bitmap
Monochrome bitmap
Monochrome bitmap
Monochrome bitmap
Monochrome bitmap
Monochrome bitmap
Monochrome bitmap
Monochrome bitmap
Monochrome bitmap
Monochrome bitmap
Monochrome bitmap
Monochrome bitmap
Monochrome bitmap
OLED Modules
NHD-0216CW
NHD-0216KZW
NHD-0216SZW
NHD-0220CW
NHD-0220DZW
NHD-0420CW
32
32
32
40
40
80
characters
characters
characters
characters
characters
characters
.TXT
.TXT
.TXT
.TXT
.TXT
.TXT
© 2015 Newhaven Display International, Inc
Char2x16_0.txt
Char2x16_0.txt
Char2x16_0.txt
Char2x20_0.txt
Char2x20_0.txt
Char4x20_0.txt
P a g e | 14
Rev. 8.30.18
NHD-0420DZW
NHD-2.23-12832UC
NHD-2.7-12864WD
NHD-2.8-25664UC
NHD-3.12-25664UC
NHD-1.27-12896UGC3
NHD-1.5-128128UGC3
NHD-1.69-160128UGC3
80 characters
128x32 pixels
128x64 pixels
256x64 pixels
256x64 pixels
128x96 pixels
128x128 pixels
160x128 pixels
.TXT
Monochrome bitmap .BMP
Monochrome bitmap .BMP
Monochrome bitmap .BMP
Monochrome bitmap .BMP
24-bit bitmap .BMP
24-bit bitmap .BMP
24-bit bitmap .BMP
Char4x20_0.txt
OLED_12832_0.bmp
OLED_12864_0.bmp
OLED_25664_0.bmp
OLED_25664_0.bmp
OLED_12896_0.bmp
OLED_128128_0.bmp
OLED_160128_0.bmp
VFD Modules
M0116SD-161SDBR1-1
M0216SD-162SDAR2-1
M0216SD-162SDAR1
M0216SD-162SDAR8
M0216MD-162MDBR2-J
M0220SD-202SDAR1
M0220SD-202SDAR1-1G
M0220MD-202MDAR1-3
M0420SD-204SDAR1-3
M0420SD-204MDAR1-C
16
32
32
32
32
40
40
40
80
80
characters
characters
characters
characters
characters
characters
characters
characters
characters
characters
.TXT
.TXT
.TXT
.TXT
.TXT
.TXT
.TXT
.TXT
.TXT
.TXT
© 2015 Newhaven Display International, Inc
Char4x20_0.txt
Char4x20_0.txt
Char4x20_0.txt
Char4x20_0.txt
Char4x20_0.txt
Char4x20_0.txt
Char4x20_0.txt
Char4x20_0.txt
Char4x20_0.txt
Char4x20_0.txt
P a g e | 15
Rev. 8.30.18