Text output to graphic LCD


Closed Thread
Results 1 to 33 of 33

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Well, yes and no. This is the one that I'm talking about:
    http://www.sparkfun.com/commerce/pro...roducts_id=569
    That's the one I've been messing around with the code for.
    The hookup boards aren't very cheap ($20 each), but the LCD's themselves can be found on eBay for less than $20...$40 total...and the code, practically free once I get it put up here, except for the pain in learning how to work it...

    (Hotdog vendor? WTH?)

  3. #3
    Join Date
    Jan 2005
    Location
    France
    Posts
    97


    Did you find this post helpful? Yes | No

    Default How to use a GLCD display

    Thanks for coming back
    I didn't see that this thread was so old !
    It is the first time for me with GLCD display
    I have uploaded the PDF, is it suffisant to find which kind of controller it uses ?
    I hope so ..
    Tell me if I am right ...
    I have a process that fill a variable "toto" with a value (let say H for HELLO as a numeric value, because in PBP we can't handle alphanumeric)
    Through a Lookup table (as described in this thread) I will be able so feed a table
    with ROW1 to ROW7 ...(for example)
    I just need to send thoses rows to get the character displayed ?
    That would be nice, is to get a Sub routine (like LCDOUT) and just jump to it with
    the character fill in "toto" .. I am right or outside my shoes ?
    thanks in advance
    Francois F1CHF
    Attached Images Attached Images

  4. #4
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Default

    Hi, François

    On my side ... I've got a turnaround ...

    using a dedicated PIC just to care of big GLCDs ( 128*64 or over ). as it needs some ( LOL ) memory and time to write the whole screen ...

    The project was published in EP issue 279 ..., allows a 9600 Baud serial transmission from the PC or a Pic and the use of simple commands for classical shapes ( point, circle, box ...).

    If you want, I'll post you a copy of the full project ( no more downloadable from the EP site ) ... and "THE" SlotH ( Petter) listing.

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  5. #5
    Join Date
    Apr 2006
    Location
    New Hampshire USA
    Posts
    298


    Did you find this post helpful? Yes | No

    Talking Hot Dog Vender

    Quote Originally Posted by skimask View Post
    …(Hotdog vendor? WTH?)
    Quote Originally Posted by Acetronics View Post
    If that page doesn't give you enough to understand those filters ...

    http://www.cs.unc.edu/~welch/kalman/

    There's no more to do for you than sell hotdogs, bretzels or pizzas ( even donuts ) in the street ...

    I also remember having seen some of these filters used in UAV's ...

    So, I suspect more a SEARCHing problem than an Understanding problem ...

    But it's me ...

    Alain
    Quote Originally Posted by Joe S. View Post
    Hi Alain,
    I looked at the whitepaper on that website . . . is that really math or pop art?
    You wanna buy a hot dog?
    Quote Originally Posted by Acetronics View Post
    Hi, Joe

    Was somewhat like that when I first discovered Fuzzy Logic ...

    You know what ???

    I DO HATE Maths ... But will surely enjoy a good Hotdog !!! _ Making Hoddogs is a full job. Programming Pic too.

    LOL !!!

    Alain
    Gotta use that search engine
    -Adam-
    Ohm it's not just a good idea... it's the LAW !

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by F1CHF View Post
    Tell me if I am right ...
    Francois F1CHF
    You are fairly close in your thinking...
    I don't remember the thread, but there is one floating around here that deals with that 122x32 LCD that I whipped up some PBP code for, including a fairly robust font table.
    Looking at the attached datasheet, with a few changes, it should be easily adaptable to the 128x64 LCD you are talking about (change the maximum's to 128x64 instead of 122x32, change the maximum X,Y for characters from 20x4 to 21x8, all characters are 5x7(6x8 with seperator), and some other minor timing changes.

    Here it is...
    http://www.picbasic.co.uk/forum/show...ghlight=122x32
    Last edited by skimask; - 15th February 2008 at 16:42. Reason: Added thread reference

  7. #7
    Join Date
    Jan 2005
    Location
    France
    Posts
    97


    Did you find this post helpful? Yes | No

    Default

    My god ....not a piece of cake !
    Mister PBP, please create a GLCDOUT command ! hi ...
    thanks or your help
    I must work on now ....
    Francois

  8. #8
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by F1CHF View Post
    My god ....not a piece of cake !
    Mister PBP, please create a GLCDOUT command ! hi ...
    thanks or your help
    I must work on now ....
    Francois
    True, it's not a piece of cake....
    In the end, my code going out to the 122x32 LCD looks like this:
    @ printstr 2 , 1 , "This is a string"

    Prints "This is a string" starting at X position 2 on the 2nd line down from the top.
    You can't get a whole lot easier than that!....well, once the code is in place anyways.

    At any rate, I'll look thru that datasheet a bit harder later on. Like I said, I understand my code (nobody else likes the way I write, but that's ok). If it really is that easy to convert over to the KS type controller, I'll have a go at it sometime this weekend and let you know when I get something done up. - DONE

    See the thread referenced in Post #29 for some code for the 128 x 64 graphic LCDs...and pay heed to the notes contained. I'll start a different thread once that code is tested and verified working.
    Last edited by skimask; - 15th February 2008 at 18:46.

  9. #9
    Join Date
    Jan 2008
    Location
    lincoln uk
    Posts
    20


    Did you find this post helpful? Yes | No

    Default GLCD 132x32 with KS0713 controller

    Are these things hard to drive?
    Can I write, in PBP, simple programs to display text easily, or is it tres dificile?
    I am an Old Timer, born before 1940 but still trying to learn, some people say I am very trying!
    Rgds
    Mike

Similar Threads

  1. Replies: 2
    Last Post: - 5th November 2009, 17:07
  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. Serious Serial Situation Setbacks...
    By Dansdog in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th February 2007, 03:46

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