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.

Messages - Jack

Pages: [1]
Character LCDs / Re: Help!!-NHD-0216K3Z-FL-GBW-V3 not working
« on: April 25, 2016, 11:31:36 AM »
Hi Paul,

Yes, both R1 and R2 are open. 

I can't confirm that the LCD's baud rate is 9600, actually not sure how to do this. From the data sheets, it states the default is 9600 so that is why I used the "serout N9600" command in the PIC program. 

Not sure how to determine if data is being sent MSB or LSB.  Any guidance, suggestions, reference would be greatly appreciated. 


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]