> Michael,
> driving a raw LCD with a PIC is easy and fun!
> First, is your LCD multiplexed? and by how much? How many segments
> are there? and how many pins? The easiest is a 2:1 multiplexed scheme.
> if your doing HH:MM:SS I would guess you have 6x7=42 segments plus one
> for the colons = 43 plus 2 commons = 45, make that 46, divide by 2
> ... Does your raw LCD have 23 or so pins? then it's 2:1.
> you need to provide 2 square waves to the commons that have 3 states to
> them.
> low, high (5v) and middle (2.5v). No sweat, put a resistor divider network
> on 2 pins, say 10k, that way for 0V, make the pin an output and low, for
> 5V, set the pin high and for 2.5V make the pin an input.....
> for the correct sequence and get a good explanation with diagrams
> look in a Hitachi data book for LCD chips....
> You figure out the segments to light with a look up table, then
> you have to send that data, then the compliment to create an AC drive.
> Any DC component will degrade the LCD life....
> do this from an interrupt to only change the LCD states at 30hz or so and
> your done. Works great....
> good luck
> Jason Wolfson
>
EraseMEjason
lipidex.com
>