I want to use Nokia LCD 5110 which is (I think) a graphic and text display, having resolution of 84x48 dots. Serial (SPI) protocol. My intention is just to write texts (i.e, YY/MM/DD and so on) in it, basically, 16 characters per row. After revising in this forum I couldn't fix my doubts:
1. What MikroC functions do I have to use?
- Normal "SPI Library" doesn't have function like LCD_OUT("sometext") used similarly for normal character LCD displays, but only commands to send and receive bytes.
- "SPI_Graphic_LCD_Library" seems be devoted to 128x64 dots.
- "SPI_LCD_Library" seems be dedicated to just LCD characters LCDs (I use them in other boards with normal characters LCD).
I'd like just to use simple programming, i.e, command similar to SPI_WRITE("thistext") ...
2. Google photos show 14 characters per line. Could somebody tell me how to change font for writting 16 characters/lien? Some programming examples, please?
LCD Nokia 5110 display: Libraries to use?
Re: LCD Nokia 5110 display: Libraries to use?
There's some example code for this display at https://www.sparkfun.com/products/10168 but you will need to port it to MikroC
Re: LCD Nokia 5110 display: Libraries to use?
Hello,
Check this thread:
http://www.mikroe.com/forum/viewtopic.p ... nokia+5110
Best regards,
Peter
Check this thread:
http://www.mikroe.com/forum/viewtopic.p ... nokia+5110
Best regards,
Peter
Re: LCD Nokia 5110 display: Libraries to use?
I already revised viewtopic.php?f=88&t=51527&hilit=nokia+5110 and others links... but they didn't say what libraries to use
And I'm afraid to have to send each character indidually to LCD to get a full text written there !
And I'm afraid to have to send each character indidually to LCD to get a full text written there !
Re: LCD Nokia 5110 display: Libraries to use?
JoseD wrote:I already revised viewtopic.php?f=88&t=51527&hilit=nokia+5110 and others links... but they didn't say what libraries to use
And I'm afraid to have to send each character indidually to LCD to get a full text written there !
Hello,
It is SPI Library.
SPI Library (Hardware)
http://www.mikroe.com/download/eng/docu ... ibrary.htm
Software SPI Library
http://www.mikroe.com/download/eng/docu ... ibrary.htm
Best regards,
Peter
Re: LCD Nokia 5110 display: Libraries to use?
thanks tptar
But, How can I then to write a string in a row and column?, i.e, SPI_WRITE(row, column, "string")
But, How can I then to write a string in a row and column?, i.e, SPI_WRITE(row, column, "string")
Re: LCD Nokia 5110 display: Libraries to use?
Hi,JoseD wrote:thanks tptar
But, How can I then to write a string in a row and column?, i.e, SPI_WRITE(row, column, "string")
If you want that or similar syntax for routine, it is best to write a new library for this purpose which will support Nokia 5110 LCD. Currently, what I know there is no MikroC libraries for Nokia displays.
I recommend standard 128x64 GLCD (price 15-16eur) or EasyTFT.
EasyTFT Board
http://www.mikroe.com/add-on-boards/display/easytft/
Best regards,
Peter
-
- Posts: 1544
- Joined: 24 Jun 2007 19:27
- Location: 01800 St Maurice de Gourdans France
- Contact:
Re: LCD Nokia 5110 display: Libraries to use?
Hello,
i ordered a nokia5110 , delivery for next week..
so il will also do some test on it..
maybe this can help you.. but for nokia 3310JoseD wrote:I already revised viewtopic.php?f=88&t=51527&hilit=nokia+5110 and others links... but they didn't say what libraries to use
And I'm afraid to have to send each character indidually to LCD to get a full text written there !
i ordered a nokia5110 , delivery for next week..
so il will also do some test on it..
Re: LCD Nokia 5110 display: Libraries to use?
Thanks to all.
The documents and links you told me are helping me a lot.
In summary I'll have to translate to PIC the routines that others have coded..., but at least they're clear.
The nasty problem is I have to code a full table of characters (96 bytes ) because each character must be painted dot by dot, one dot each time, so I'm running out of memory...
I'll tell my results.
The documents and links you told me are helping me a lot.
In summary I'll have to translate to PIC the routines that others have coded..., but at least they're clear.
The nasty problem is I have to code a full table of characters (96 bytes ) because each character must be painted dot by dot, one dot each time, so I'm running out of memory...
I'll tell my results.
Re: LCD Nokia 5110 display: Libraries to use?
The Nokia 5110 is a basic graphic LCD screen for lots of applications. It was originally intended to be used as a cell phone screen. This one is mounted on an easy to solder PCB.
It uses the PCD8544 controller, which is the same used in the Nokia 3310 LCD. The PCD8544 is a low power CMOS LCD controller/driver, designed to drive a graphic display of 48 rows and 84 columns. All necessary functions for the display are provided in a single chip, including on-chip generation of LCD supply and bias voltages, resulting in a minimum of external components and low power consumption. The PCD8544 interfaces to microcontrollers through a serial bus interface.
Nokia 8 Dubai
It uses the PCD8544 controller, which is the same used in the Nokia 3310 LCD. The PCD8544 is a low power CMOS LCD controller/driver, designed to drive a graphic display of 48 rows and 84 columns. All necessary functions for the display are provided in a single chip, including on-chip generation of LCD supply and bias voltages, resulting in a minimum of external components and low power consumption. The PCD8544 interfaces to microcontrollers through a serial bus interface.
Nokia 8 Dubai