BS2 and PCF8558 LCD controller (ericsson mobile phone)
jokerswild
Posts: 31
Hi,
I have a graphics LCD from an A1018s ericsson mobile·phone and was wondering if anyone has had luck in interfacing this with a BS2? I believe the LCD is controlled by the Philips PCF8558 and have read the datasheet for this IC but I would like to see someones PBasic code as I am relatively new to this. I don't have any experience in I2C protocol.
·
Thanks anyone who can help!
I have a graphics LCD from an A1018s ericsson mobile·phone and was wondering if anyone has had luck in interfacing this with a BS2? I believe the LCD is controlled by the Philips PCF8558 and have read the datasheet for this IC but I would like to see someones PBasic code as I am relatively new to this. I don't have any experience in I2C protocol.
·
Thanks anyone who can help!
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't visit my new website...
http://www.semiconductors.philips.com/pip/PCF8558.html
Datasheet link.
http://www.semiconductors.philips.com/acrobat/datasheets/PCF8558_2.pdf
If you want to output text on it, you'll first have to create bitmaps of the characters, then dump them to the controller, using I2C commands. (I don't use I2C myself, so can't help with that point)
It's a big help if you have a BS2p/BS2pe/BS2px model as these have I2C commands built-in, and doesn't have to 'bit-bang'.
They also have multiple PROGRAM and DATA banks of 2KB each, which means they have enough room for a decent character-map or two.
Doing any graphics, though is a bit more difficult as there are no commands in the chip for it.
horisontal and vertical lines, filling and anything mapped into 8x8 pixels should be easy enough, but diagonals and circles will be a lot of work.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't visit my new website...
I'm going to use the display to show two different sized text. I worked out i need a minimum of 62 unique characters which i can handle programming but·i'm not sure if the standard BS2 will be able to handle 62 8x5 characters. Also i dont know how to use I2C, yet??
Basically i'm making a small display for my motorbike to·show·selected gear,·odometer, hour meter etc.
Post Edited (jokerswild) : 3/25/2006 1:08:46 PM GMT
If I were approaching a project like this, I'd probably opt for an LCD display like this SEETRON G12032 text and graphics display which Parallax offers:
http://www.parallax.com/detail.asp?product_id=27936
That would permit multiple fonts on multiple lines, as well as custom graphics, with no worries about whether you have sufficient space in or on the PBASIC Stamp, since the special characters and graphics are kept onboard the LCD in non-volatile memory. A small, simple PBASIC program could be used to create these necessary special characters and graphics, and pre-load them onto the LCD, for later use by the operational program.
Here is more information on that LCD from the manufacturer's web site, including some applications notes and examples:
http://www.seetron.com/sgx120_1.htm
and
http://www.seetron.com/lcd_andex.htm
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
Post Edited (Bruce Bates) : 3/25/2006 1:56:41 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
I had some time at lunch today and found a couple of other posts where you have given help on this subject too.
Thanks again.