I've got a low cost application where I want to drive a small LCD ( probably 4 digit ) from a microcontroller.
I looked at the data on the 'bare glass' and there are 32 pins needing driving which doesn't leave enough for my other I/O.
Any suggestions for a cheap and cheerful controller chip ? Or is it cheaper to get a display with integrated driver straight off ?
Graham
Didn't find your answer? Ask the community — no account required.
S
Spehro Pefhany
Does it really have to be fully static? Why not, say, a triplexed display?
Best regards, Spehro Pefhany
"it's the network..." "The Journey is the reward"
speff@interlog.com Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog Info for designers: http://www.speff.com
E
Eeyore
I was simply going with what I initially found.
If you have some specific ideas, I'm all ears. I'm new to driving LCDs.
Graham
D
Dave Platt
Microchip sells a bunch of PIC microcontrollers which are designed specifically to drive LCDs. Ferexample, their PIC16F913 is a 28-pin part which can drive certain LCD configurations having up to 60 addressable segments.
I believe that other micro vendors have similar parts in their stables.
You might be able to use an LCD-capable micro of this sort as your primary programmable device... or, use one as a display-management peripheral, talking to your main micro over a UART or other serial interface.
Dave Platt AE6EO
Hosting the Jade Warrior home page: http://www.radagast.org/jade-warrior
I do _not_ wish to receive unsolicited commercial email, and I will
boycott any company which has the gall to send me such ads!
E
Eeyore
Do you know how they do that ? Presumably there's an app note ?
Ideally I'd like to stick with a member of the 8051 family for familiarity.
Yes, the thought had crossed my mind although I doubt that would be brilliant for cost.
Graham
D
Dave Platt
No doubt - they're quite good about providing howto-doit notes.
I would guess that the LCDs in question are generally multiplexed in a matrixed arrangement, with some fraction being anodes and the rest cathodes.
Philips (now NXP) has always been big in the 8051 architecture. It looks as if the P89LPC94x family might do what you want - it's an 8051 derivative and a "universal LCD controller" integrated into a 64-pin multi-chip module. Toughest part may be trying to get samples, if what I hear about NXP is true.
Dave Platt AE6EO
Hosting the Jade Warrior home page: http://www.radagast.org/jade-warrior
I do _not_ wish to receive unsolicited commercial email, and I will
boycott any company which has the gall to send me such ads!
E
Eeyore
I found some info. It's quite intruiging how the multiplexing works. Not as simple as with LEDS or VFDs by a long shot !
Thanks, I'll check that one out.
TI has one of the MSP430s that could be purpose made for this app too. Shame I'm not familiar with them.
Graham
P
Paul Burke
I'm
Get familiar, free up your brain from juggling with memory spaces and pointer snafus. UARTs and timers are much nicer too. MSPGCC works well, and doesn't cost a lot, and C will (may?) make porting easier (even if you've written your app in assembler). The BIG downside is it's 3.6V max and no 5V compliant IO.
Paul Burke
J
John Fields
Figure out a slick way to drive that 32nd pin and you can use this:
http://www.national.com/pf/MM/MM5483.html
A
Al
Buy this serial LCD display, BPI-216, from:
formatting link
It save you a LOT of trouble. I'm using one now.
Al
S
Spehro Pefhany
4
driving
to
If you use a micro with an on-board controller, you just need to match the driver to the chip and set it up properly. There's a chunk of RAM and you just deposit a bitmap of the desired display pattern. There are flash chips available from TI, Freescale, Microchip and others that will handle displays with multiple backplanes. Offhand I don't recall which 8051 variants have this ability, but I'm sure there are some by now. As the number of backplanes (and the mux ratio) increases, you save pins for the segment drive, but the on/off characteristics suffer (for example, the contrast may be poor, vary from unit-to-unit, shift substantially with temperature or the viewing angle may not be as good as you would like). A triplexed display is almost as good as a static with n/3 + 3 pins used rather than n + 1 pins (for n segments) (if the resistor chain isn't on-chip there might be a couple more pins used).
It's also possible to use an ordinary micro eg. 89S52 to drive even a muxed display but it uses a whack of passives and would only be appropriate where volumes are large and assembly costs small.
A 28-pin PIC16F913 is a comparable chip to many 8051 variants, and can directly drive up to 60 LCD segments, for GBP ~95p in 1K, but feel free to spend a few days searching for the ideal part. It's probably out there somewhere.
Best regards, Spehro Pefhany
"it's the network..." "The Journey is the reward"
speff@interlog.com Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog Info for designers: http://www.speff.com
H
Henry Kiefer
"Al" schrieb im Newsbeitrag news: snipped-for-privacy@news.verizon.net... | Buy this serial LCD display, BPI-216, from: | |
formatting link
| serial_displays.html?L+scstore+vdwc0855+1176439677 | | It save you a LOT of trouble. I'm using one now.
I can't believe it. There are guys who buy it for that price? I can sell you serial LCD 2x40 for $15 with EL backlight.
- Henry
--
formatting link
E
Eeyore
I'm
The PL/M compiler means I never have to consider them anyway.
MSPGCC ?
3.6V isn't a problem here in fact. The same applies to the NXP 89LPC part too.
Why would anyone even use assembler these days for this kind of thing ?
Graham
R
Rich Grise
Do they still make the 8748? As far as I remember, it was like an
8035/8051 core, but with the I/O ports optimized for use as a peripheral. I made a big FIFO once using one to interface to a strip chart recorder.
Or, shop around for one with a built-in controller - that's probably what I'd do in this case.
Good Luck! Rich
J
Joel Kolstad
Sorry, the 8748 is the 8048 with a built-in EPROM. Its CPU core is
*significantly* less capable than the 8031's... it doesn't even have a subtract instruction! (Or a compare instruction for that matter.) I used one in a couple of projects over a decade ago, now, and became quite good as, "add a,#256-32 ;Subtract 32 from a")...
J
John Fields
It just hit me that if you've got 32 pins and you weren't excluding
the backplane, then the MM5483 will do just what you need.
Which display are you planning to use?
E
Eeyore
4
driving
to
Just as a 'first off' that I can easily get from Farnell I'm looking at the VI-402 from Trident Microsytems. I'm sure it'll be a widely '2nd sourced' part. In fact I'm sure Trident will just buy it in to distribute.
Graham
J
John Fields
VI-402
fact I'm
--- Hmm... Farnell rejects that part number. Are you sure it isn't a VI-402 from Varitronix LTD?
formatting link
In any case, no matter who's display it is, if you want to use the National part it'll work because you won't need the decimal points. That is, unless you want to display temperature in degrees and tenths of a degree, and then you'll only need DP3, so worst case would be 28 segments for the digits and the colon, so you'd only need to drive 29 pins.
Incidentally, segment 'f' of digit 1 is never used either (unless you want to arrange your display to display temp on the two left digits, then leave a space, and then display 'C' on the fourth digit and the temp goes above 40C) so you could connect it to the backplane with all the other unused stuff and get by with 28 segments like this Intersil part has available:
formatting link
-- JF
J
John Fields
VI-402
fact I'm
Oops...
That's a BCD to seven-segment driver, and you can't get 'C' out of
it, if that was your plan...
E
Eeyore
VI-402
fact I'm
Same beast.
Very true. I'd like to keep the colon and 1 decimal point so that saves 2 connections.
Neat thinking !
Graham
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.