PIC + LCD 2x16..

Discussion about projects that used PIC Microcontroller, Hardware Interface, Programming Algorithm and etc......

Re: PIC + LCD 2x16..

Postby robosang » Fri Jan 20, 2012 11:21 am

Have you download the program into the PIC? A picture of your project will help us to help you 8-)
robosang
Expert
 
Posts: 1239
Joined: Wed Jun 10, 2009 5:37 pm

Re: PIC + LCD 2x16..

Postby takao21203 » Wed Mar 21, 2012 6:02 am

I have some links on my web domain + working LCD code for 16F PIC (4bit mode).
There are many different ways to use these LCDs actually.
http://pic.hitechworld.org/pic-microcon ... expansion/

What is well known: Direct 8 bit mode

Also 4 bit mode seems to be common.

There is possibility to use shifting register, only for data, or also for the control signals.
74hc595 is better since you can also use it for the E line!

Some circuits even reduce the clock+data to one line only, using a RC circuit.
But it's not so good to manage I think.

There is more. The LCD has two different supplies so most of these HItachi LCDs actually can work downto 2.5 volts!
But the LCD glass needs more voltage. It's possible to drive a charge pump from the microcontroller, but
extra charge pump IC is better (lower voltage possible). They are not expensive.

Combining all these improvements, I want to drive such a LCD using 4 bit mode, a 74hc164 (need to drive reset line),
and charge pump for the LCD glass.

Some datasheet even have wrong flowchart for the 4bit mode, replying on power-on reset, but that is not guaranteed.
Actually the LCD in the photo previously was attached to a magnet-wire circuit (messy) in 8bit mode, using 2 buffers.
It stopped working correctly. So maybe it's even broken. I was not able to figure out if there is the circuit bug, or the LCD fault.

For this reason I soldered small wire pieces, from LED leads, to the LCD. If it does not work, I can cut it off quickly.
I have many row connectors but they are hard to solder using tin solder, adding small wire pieces is faster for 4 pins only.

P3201013.jpg
User avatar
takao21203
Discoverer
 
Posts: 111
Joined: Mon Mar 19, 2012 7:52 pm
Location: Ireland, Europe

Previous

Return to PIC Microcontroller

Who is online

Users browsing this forum: No registered users and 3 guests