Shop OBEX P1 Docs P2 Docs Learn Events
2 line LCD on I2C pins — Parallax Forums

2 line LCD on I2C pins

HollyMinkowskiHollyMinkowski Posts: 1,398
edited 2010-06-07 00:15 in General Discussion
Since you can get a 2 line back lighted LCD on ebay
for 3.50 including postage and a 40pin dip ATmega1284P for
5.00 it seems like you could make a nice package for
< 10.00

Since the pins handling I/O for the eeprom are basically
unusable by the Propeller for any other duties it would
seem adding such an LCD display hooked to these lines
alongside the eeprom would be a good use of resources.

The ATmega has 128kb of flash and since the software to
control the LCD would be rather small then the rest could
be used by the prop as storage. The 20mips of processing
power of the 1284p and many of its I/O pins and peripherals would
also be usable by the prop. If you did a 4bit LCD controller
you would have a lot of 1284p I/O pins left over for other
uses.

This would add lots of I/O, memory, mips and 2line LCD while
using up no extra prop pins. It might be possible to store your Prop
data file inside the 1284p's flash and thereby completely
eliminate the eeprom chip too?

Seems like a good idea for a sub 10.00 booster for the Prop,
Has anyone done something similar?

EDIT:
Just had a thought. If you used a 28pin tiny88 (8kb flash)
and added on a directly wired 1gb microSD card then you
would be adding a gb of flash storage to the prop for roughly
the same price. Not sure about eliminating the eeprom though
since you would only have 8kb of flash in the tiny88 and you
would need to engineer a way to store the Prop's data file
on the microSD and send that to the prop quickly enough
for a normally fast start up.

The tiny88 is just 1.60 The drawback compared to the 1284P
is that you would have fewer I/O pins. And you would be forced
to use a 4bit interface to the LCD to still be able to add some I/O
pins for the Prop. You would also lose a few more of the Tiny's pins to
interface the SD card.

Post Edited (HollyMinkowski) : 6/6/2010 8:31:28 AM GMT

Comments

  • LeonLeon Posts: 7,620
    edited 2010-06-06 16:47
    I've got a two line LCD controlled by an ATtiny2313, with a serial interface, on a small home-made PCB.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Leon Heller
    Amateur radio callsign: G1HSM
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2010-06-07 00:15
    Though I have featured these serial lcd backpacks of mine before it is also worth noting that they can also be driven from the I2C bus. I use a PIC16F690 as they are very cheap (<$2 AUD) plus I run the display in 8-bit mode. The PIC also controls the brightness and the contrast which can also be manually adjusted with the tiny push-button. The serial input automatically selects RS-232 or logic levels and inversion. I have considered many other chips but these are always available from many sources and cheap.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    *Peter*
    320 x 240 - 36K
Sign In or Register to comment.