Hooking up a parallel LCD to an Arduino

 

 

I have a little compass sensor, and what I want out of that is to make a hand held electronic compass, but I needed something to do some displaying.  Found some examples with parallel LCDs, so decided to give that a shot.  This doesn’t do much, but it will get you going with this LCD.

LCD: Newhaven NHD-0216K1Z-FSB-FBW-L
Datasheet: http://www.newhavendisplay.com/specs/NHD-0216K1Z-FSB-FBW-L.pdf

Here are all of the connections I made. 

LCD Pins

Assignment

Arduino Pins

Wire Color (That I Used)

1

GND

GND

Black

2

VDD

5V

Red

3

V0

10k Pot  (Contrast)

Blue

4

RS

11

Green

5

RW

GND

Black

6

E

12

Yellow

7

DB0

 

 

8

DB1

 

 

9

DB2

 

 

10

DB3

 

 

11

DB4

7

Green

12

DB5

8

Yellow

13

DB6

9

Green

14

DB7

10

Yellow

15

A

5V (Backlight)

Red

16

K

GND?

Black

Note that one side lead from the pot goes to ground, the other side to 5v, and the middle lead on the pot goes to the blue wire from the table above.  

The excellent tutorial on ladyada.net will get you through the code.  I won’t repeat that here. 

http://www.ladyada.net/learn/arduino/lcd.html

A very short video: 

Arduino-LCD.wmv (2.03 mb)

Leave a Reply

Your email address will not be published. Required fields are marked *