Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Jack

Pages: [1]
Character LCDs / Help!!-NHD-0216K3Z-FL-GBW-V3 not working
« on: April 10, 2016, 03:48:05 PM »

I have a Newhaven LCD (NHD-0216K3Z-FL-GBW-V3 ) that I can't get working.  I am using a PIC 16F84A to simply write "Hello World" to the LCD.  All that is displayed are unrecognizable characters.  My PIC program is written in Basic and is as follows:

'LCD Test
Pause 1000
Serout 1, N9600, (254, 1) 'Inverted TTL at 9600 baud
Pause 1
Serout 1, N9600, ("Hello World!")

The program was taken from a PIC microcontroller project book. 

R1 and R2 are open on the LCD.  I am trying to communicate serially via RS-232.  I have  wired a connection from RB1 (pin 7) of the PIC to pin 1 (P1) of the LCD. 

What am I missing?  Is there additional code that needs to be written to initialize the LCD?

Thank you!!

Pages: [1]