bkidney@gmail.com (Brian Kidney) wrote in
Hi,
I am looking to start a project using a monochrome LCD with touch
capibiliies. I am wondering what sort of microcontroller I will need.
Will be able to get away with using a PIC or will I need something
with a little more power? Anyone have any idea what sort of program
space I will need? There will be no animation and mostly graphic
buttons and text.
Thanks,
Brian
Hi Brian,
I'm currently working on an control-interface for an 640x480 stn color
lcd. As I didn't have any knowledge on driving such lcds before, I had to
learn a lot.
Depending on the size of your lcd microcontrollers like pic or atmega
will be to "small". It starts with the ammount of ram they provide. Just
calculate the memory needed to represent one frame on your display. The
other side is the timing for driving the lcd. It might be possible to do
with fast microcontrollers, but not even easy.
There are some controller-chips out there which are able to interface
lcds directly. I currently work on an EPSON S1D13A04, which does the
whole driving/interfacing timing of the lcd. It has buildin RAM and some
graphics-functions. Just have a look at the datasheet for details. On the
other side it has some kind of "universal" host-controller interface,
which you are able to connect to a wide range of microcontrollers/cpus.
My project for example is based on a Freescale/Motorola ColdFire.
Using a touchscreen is another story. There are touchscreens with mainly
three different interfaces out there: 4-wire, 5-wire and 8-wire. Second
they differ in technology, which will also require a different
controller. Most touchscreen are resistive.
There also exist a lot of controller chips or even ready controller
boards which can be interfaced to RS232 or USB for example. National
provides such controller chips with LM8300/LM8500. As I know 3M
manufactures controllers boards. There are also a few other manucatureres
of those chips/board.
If you have some knowledge of electronic engineering and some programming
skills it will be easy to build your own touchscreen controller with a
microcontroller with buildin a/d converter, as resistive touchscreens are
really easy to measure/interface. You will find some of the offerend
ready controller chips aren't anymore than a standard microcontroller
with builtin adc.
As I use a touchscreen in my project too, I use an Atmel ATmega16 to
interface between touchscreen and host.
Hope that helps you.
Marco.