Using Nokia LCD


Closed Thread
Results 1 to 40 of 301

Thread: Using Nokia LCD

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Thanks for repply ! I will try both variants.
    With this :
    DATA @110,$7E,$11,$11,$11,$7E,_ ' 65 A 22
    $7F,$49,$49,$49,$36,_ ' 66 B 23
    $3E,$41,$41,$41,$22,_ ' 67 C 24
    $7F,$41,$41,$22,$1C,_ ' 68 D 25
    $7F,$49,$49,$49,$41,_ ' 69 E 26
    $7F,$09,$09,$09,$01,_ ' 70 F 27
    $3E,$41,$49,$49,$7A,_ ' 71 G 28 etc,etc...
    I have another 25 characters ...enough for me. THANK YOU !
    Last edited by fratello; - 23rd May 2009 at 20:26. Reason: Later edit

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


    Did you find this post helpful? Yes | No

    Default

    This is final version. I try to implement the function of clock (like this : http://www.picbasic.co.uk/forum/show...ght=clock+code ) but, even the code works verry, verry fine alone, I can't put together with my thermo....If somebody can do this...All the best !
    Attached Images Attached Images  

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


    Did you find this post helpful? Yes | No

    Default

    Hello ! Me again... Using PIC 16F628 (or A) with 4 MHz X-tal, one DS18B20 on port RA1, push-button for setting Hours on RB3 and for setting Minutes on RB2, I wrote the code for this thermo_clock. Works verry fine ! All the best !
    Attached Images Attached Images  
    Attached Files Attached Files

  4. #4
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Good to hear Bill.

    But what is the problem with 16f's? Mine compiles without errors for a 16f876a, if I change the ports to match. But I don't have a way to test it here.

  5. #5
    Join Date
    Jun 2005
    Location
    West Australia
    Posts
    116


    Did you find this post helpful? Yes | No

    Default

    Hi Walter,

    Making the appropriate changes per chip (cmcon, adcon, etc.) and my same code with the same INC file as compiles correctly with the 18F252, I have no luck with a 16F648A or 16F876A.

    I thought the INC font string may have been too long also so shortened it to about half its size but no difference. Here is what I get...

    With a 16F648A:
    Error[113] e:\wjs\pbp260\pbppic14.lib 449 : Symbol not previously defined [EEADRH]
    Message[303] e:\wjs\pbp\NOD157~1.ASM 185 : Program word too large. Truncated to core size. (4920)
    too many errors

    With a 16F876A there are 20 lines of:
    Message[303] e:\wjs\pbp\NOD157~1.ASM 187 : Program word too large. Truncated to core size. (4920)

    Does this give you any ideas where my problem with 16F's is? What are the chip requirements for using this macro - codespace, ram size, etc,?

    Thanks and regards,
    Bill

  6. #6
    farhang's Avatar
    farhang Guest


    Did you find this post helpful? Yes | No

    Default Re: Using Nokia LCD

    Hi,could you please send me hex code an schematic for me, my email [email protected] many thanks.

  7. #7
    Join Date
    Nov 2008
    Posts
    96


    Did you find this post helpful? Yes | No

    Default Odd compile error...

    (I see this thread is quite inactive, maybe that means there is another more active ??)

    I am trying out Steves code for driving a 5110 screen (bought here http://dx.com/p/arduino-1-6-lcd-disp...-silver-140226 )
    It works very well, except for one of his examples. In the more complex example called 'USINGGLCDOUT_CMD_16F---' I get an error during compiling, and I've tried a few tricks but nothing has got passed it (I modified it for a 16F819, but other than the pic specific configs and the pins I chose use nothing else is changed).

    Here it is.
    PICBASIC PRO(TM) Compiler 3.0.1.4, (c) 1998, 2011 microEngineering Labs, Inc.
    All Rights Reserved.
    [ERROR] usingglcdout_cmd_16f819.pbp (57) : Reading DEFINE Block

    it comes from this define I think (which works fine in the other less complex examples about using variables and constants).
    DEFINE GLCD_2DEC_USED
    INCLUDE "..\Include\GLCD_NOKIA.PBP" ' Plug the Nokia Driver/Wrapper in here

    If I remark out the define I get this when I compile.
    PICBASIC PRO(TM) Compiler 3.0.1.4, (c) 1998, 2011 microEngineering Labs, Inc.
    All Rights Reserved.
    [ASM ERROR] USINGGLCDOUT_CMD_16F819.ASM (562) : ERROR: (Seems you forgot to add DEFINE GLCD_2DEC_USED to your code...)
    Which you'd expect.

    I can post up the whole example code if anyone wants, but it's right out of Steve's examples.
    I'm wondering if it's something to do with PBP3.

    Anyone got a clue ?
    Keeping in mind that his other examples compile and run fine, and I tried his code with and without my config and pin changes..

    Martin
    Last edited by mr.sneezy; - 27th February 2013 at 08:07.

  8. #8
    Join Date
    Jun 2005
    Location
    West Australia
    Posts
    116


    Did you find this post helpful? Yes | No

    Default Re: Odd compile error...

    Hi Martin,

    Did you receive an answer from Steve on this? Is there another thread?

    Cheers,
    Bill

  9. #9
    Join Date
    Jun 2005
    Location
    West Australia
    Posts
    116


    Did you find this post helpful? Yes | No

    Default Re: Using Nokia LCD

    @ mister_e

    Steve,

    Firstly thanks for all the hard work you put into making the Nokia 3310 Glcd a success. I've only recently discovered it and now use the library a lot.

    May I ask for some advice on how to implement a change from only displaying dec characters to include hex? I've been through the samples and documentation but I don't see anything. Unfortunately I don't have an asm skills yet.

    If this has been achieved by other users or appears elsewhere I'd appreciate some guidance. No rush.

    Kind regards,
    Bill

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


    Did you find this post helpful? Yes | No

    Default Re: Using Nokia LCD

    Old thread ... but nice !
    This is my last soft & hard for interfacing with Nokia display : termo-clock.
    Enjoy !

    Name:  final_termo_clock.jpg
Views: 2531
Size:  282.7 KB
    Attached Files Attached Files

  11. #11
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: Using Nokia LCD

    Nice.
    Can you post proteus and pbp files?

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