Using Nokia LCD


Closed Thread
Results 1 to 40 of 301

Thread: Using Nokia LCD

Hybrid View

  1. #1
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    ok, here are some links:

    http://serdisplib.sourceforge.net/ser/pcd8544.html
    http://sandiding.tripod.com/lcd.html
    http://67.15.78.55/~spiral/colorlcd/colorlcd.html
    http://nokiaport.de/pinouts/pinouts.htm

    most of the monochrome NOKIA LCDs have an embedded PCD8544 controller (PHILIPS)

    If you google for NOKIA LCD you'll find many more.
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  2. #2
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    and here is yet another working piece of code.

    dependend on your LCD
    you will have to adjust the values in the LCD_Init Routine
    Attached Files Attached Files
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  3. #3
    Join Date
    Jul 2005
    Posts
    65


    Did you find this post helpful? Yes | No

    Thumbs up

    Hello

    I need a complete PICBasic Pro code for controlling Nokia 3310 LCDs, as I have plenty of those, can any one post it here please, also I need this LCD datasheets.

    Thanks in advance

  4. #4
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Crematory,

    Pleas read this thread from the beginning.
    There are several code examples and linlt to DataSheets etc.
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  5. #5
    Join Date
    Dec 2006
    Posts
    10


    Did you find this post helpful? Yes | No

    Default Can you help me about Nokia 3310 pin connection ?

    i could not tied the connection. Can you help me ?

    1-Vdd-------- 5V
    2-SCK--------Portb.4
    3-SDIN-------
    4-D/C--------Portb.6
    5-SCE--------
    6-GND--------GND
    7-Vop--------
    8-RES--------Portb.7

    DEFINE LOADER_USED 1
    DEFINE OSC 20

    DC VAR PortB.6
    DTA VAR PortB.5
    RST VAR PortB.7
    CLK VAR PortB.4

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    1-Vdd-------- 5V
    2-SCK--------Portb.4
    3-SDIN-------PORTB.5
    4-D/C--------Portb.6
    5-SCE--------
    6-GND--------GND
    7-Vop--------
    8-RES--------Portb.7

    DEFINE LOADER_USED 1
    DEFINE OSC 20

    DC VAR PortB.6
    DTA VAR PortB.5
    RST VAR PortB.7
    CLK VAR PortB.4

    Datasheet => http://www.myplace.nu/mp3/files/pcd8544.pdf

    http://www.picbasic.co.uk/forum/show...7&postcount=40
    Last edited by mister_e; - 9th December 2006 at 20:35.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  7. #7
    Join Date
    Dec 2006
    Posts
    10


    Did you find this post helpful? Yes | No

    Default 3310 Lcd

    Thanks for your tip. Lcd is working.

  8. #8
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by pcbb View Post
    Thanks for your tip. Lcd is working.
    This wouldn't be the practically the same LCD as the one found at Sparkfun is it?
    http://www.sparkfun.com/commerce/pro...oducts_id=569#

  9. #9
    szovertoplcd's Avatar
    szovertoplcd Guest


    Did you find this post helpful? Yes | No

    Default

    If you try to get the datasheets, I suggest you following datasheets center:

    www.pdfsea.com

  10. #10
    Join Date
    Dec 2007
    Location
    Finland
    Posts
    191


    Did you find this post helpful? Yes | No

    Post Nokia 3310 and 7110 LCD command libraries

    I don't know how many is still using old (monochrome) Nokia LCD displays, but I do.

    To make it easier to write code for both 3310 LCD (PDC8544) or variants (Nokia 8210...) and 7110 LCD (SED1565), I made a common command library for both LCD types. So you can use same commands in your program and only change display and link right library file (see attachement for more info). Of cource there are more pixels in 7110 and therefore you must do some fine tuning for character/picture positions, but anyway it will work with a minimum effort. At least I hope so.

    I use this by including it to main program
    Code:
    '----- LCD Setup -----
    include "LCD_3310.pbp"
    or
    Code:
    '----- LCD Setup -----
    include "LCD_7110.pbp"
    Most of the code is already posted here earlier (BIG thanks for that!), something is modified and something new.

    -Gusse-
    Attached Files Attached Files

  11. #11


    Did you find this post helpful? Yes | No

    Default

    Just what I was looking for, thanks!

    Questions:

    (1) How do you recommend writing entire words "Hello World...". Do we really have to loop through every letter? Would be nice to issue a Lcd_Send_This("Hello World")

    (2) Do you use a large LOOKUP table or CASE for A-Z ??

    Right now I have a LOOKDOWN table for A-Z that gets the position and then uses that num*6 to LOOKUP the bits in my huge table (no eeprom here).

    (thoughts) Looking ahead I worry about not being able to use a VAR in LOOKUP. In the end, isn't that what I really want to display?

    Thanks again.

  12. #12
    Join Date
    Dec 2007
    Location
    Finland
    Posts
    191


    Did you find this post helpful? Yes | No

    Post

    (1) How do you recommend writing entire words "Hello World...". Do we really have to loop through every letter? Would be nice to issue a Lcd_Send_This("Hello World")
    Check page 22 from Philips PCD8544 datasheet. It shows how characters are formed to LCD. If you are using 8x6 pixel fonts then you have to do 6 write operations (each of 6 column separately). This can be combined to one loop, so it writes one character or graphics at the same time. Yes, You have to loop through every letter.
    (2) Do you use a large LOOKUP table or CASE for A-Z ??

    Right now I have a LOOKDOWN table for A-Z that gets the position and then uses that num*6 to LOOKUP the bits in my huge table (no eeprom here).

    (thoughts) Looking ahead I worry about not being able to use a VAR in LOOKUP. In the end, isn't that what I really want to display?

    Thanks again.
    LOOKUP table or CASE are good options, even IF - THEN can be used. I have tried all of them, now using LOOKUP2. If you don't need all alphabets then some limited table or direct data to LCD can be an option. With direct data I mean that you make characters like a graphics, turning on/off DB7:0 data bits.
    In case you need A-Z and a-z then LOOKUP or CASE needs twice more space. Then external EEPROM becomes very handy.

    BR,
    -Gusse-
    Last edited by Gusse; - 17th March 2009 at 11:06.

  13. #13
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default

    Hi to all !
    I use the hardware from here : http://www.picbasic.co.uk/forum/show...a+3310+display.
    I try to modify the code of N3310+PIC 12F675+DS18B20 for using PIC 16F628A, like in attachament. But...nothing on display ! Can someone tell me what I do wrong ? Thanks in advance !
    Attached Files Attached Files

  14. #14
    Join Date
    Nov 2005
    Posts
    36


    Did you find this post helpful? Yes | No

    Default

    Hi!
    If you followed my schematic exactly, try the attached code.
    It works fine for me.
    Notice : Cs (PortB.3) must be Low ; Rst(PortA.4) needs a pullup ; Mode is disabled (you need another pin)
    Regards
    Gianni
    Attached Files Attached Files

  15. #15
    varunksr's Avatar
    varunksr Guest


    Did you find this post helpful? Yes | No

    Default Re: Using Nokia LCD

    hi
    can anyone please send info regarding interfacing the nokia 6610 display with 8051..

  16. #16
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default Re: Using Nokia LCD

    You're probably out of luck on a Microchip PIC oriented forum like here, but
    http://www.google.ca/search?q=nokia+...w=1366&bih=596

    then
    http://www.lcdinterfacing.info/Nokia...-Interface.php
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  17. #17
    Join Date
    Oct 2010
    Posts
    413


    Did you find this post helpful? Yes | No

    Default Re: Using Nokia LCD

    Hi Steve,

    i'm looking forward to see the new driver.

    I have 5 of the Nokia 5110 and i would like to play with them.

    I'm sure you did a good work.

  18. #18
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default Re: Using Nokia LCD

    You can work with them right now, everything here work as long as you're aware of some Macro limitations. Which PIC do you plan to use ???

    BTW, I'll take no credits, all the job have been done here and well done. I just put some of my spices in, some user configurables settings and some ease of use. It will be like my Keypad routine.

    Still working on the final touch, code optimisation, documentation, some code example, basic schematics... fun job.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Nokia COLOR LCD PicBasicPro 2.50a example code
    By skimask in forum Code Examples
    Replies: 49
    Last Post: - 28th September 2011, 01:43
  2. 16f688 LCD what have I done wrong
    By spitfiredriver in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th August 2009, 19:54
  3. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 16:56
  4. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 26th June 2007, 23:07
  5. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 02:30

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts