Serial GLCD, how?


Closed Thread
Results 1 to 20 of 20
  1. #1
    Join Date
    Mar 2008
    Posts
    43

    Default Serial GLCD, how?

    How can you display a image or text on a GLCD (parallel), with PBP?
    And is it easier if you use a serial converter - this one:
    http://www.mikroe.com/en/tools/glcd/serial/128x64/

    Anyone who has some codesnippets for the Serial Interface?

    Best Regards
    Thomas Jespersen

  2. #2
    Join Date
    Oct 2004
    Location
    North Norfolk UK
    Posts
    146


    Did you find this post helpful? Yes | No

    Default

    Hi

    I haven't been following your threads closely but thought you might like to take a look at these units from 4dsystems

    www.4dsystems.com.au/prod.php?id=10

    mix and match they are very easy to use... good support etc

    worth a look maybe

    Duncan

  3. #3
    Join Date
    Mar 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by duncan303 View Post
    Hi

    I haven't been following your threads closely but thought you might like to take a look at these units from 4dsystems

    www.4dsystems.com.au/prod.php?id=10

    mix and match they are very easy to use... good support etc

    worth a look maybe

    Duncan
    It's because i have bought a 128x64 GLCD KS0108 with TouchScreen: http://www.mikroe.com/en/tools/components/
    But now i don't know how to write to the Display!

  4. #4
    Join Date
    Oct 2004
    Location
    North Norfolk UK
    Posts
    146


    Did you find this post helpful? Yes | No

    Default

    whoooaa

    I cut and pasted this

    128x64 GLCD KS0108
    into google uk home

    and got this back as the very first hit


    www.picbasic.co.uk/forum/showthread.php?t=2879

    any use to you?

    Trying to help

    Duncan

    can cats speed type reliably?

  5. #5
    Join Date
    Mar 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Unhappy

    [QUOTE=duncan303;54401]whoooaa

    I cut and pasted this



    into google uk home

    and got this back as the very first hit


    www.picbasic.co.uk/forum/showthread.php?t=2879

    any use to you?



    Duncan

    can cats speed type reliably?

    Thanks, but it's for paralell GLCD's, as i have bought a serial connerter, it's that i'm asking about.
    But else, thanks!!

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


    Did you find this post helpful? Yes | No

    Default

    I think what Duncan's wanted to show you, is what you'll find at the bottom of the page... a PBP code example. They also explain few things as well.

    http://www.compsys1.com/workbench/On...ontroller.html

    OOOPs sorry... saw you asked for the serial code example... damn...
    Last edited by mister_e; - 15th April 2008 at 06:24.
    Steve

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

  7. #7
    Join Date
    Mar 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    I think what Duncan's wanted to show you, is what you'll find at the bottom of the page... a PBP code example. They also explain few things as well.

    http://www.compsys1.com/workbench/On...ontroller.html

    OOOPs sorry... saw you asked for the serial code example... damn...
    Ohh yes.
    But aren't there anyone who knows the control commands for a MCP23S17 Serial->Parallel chip?

  8. #8
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mindthomas View Post
    But aren't there anyone who knows the control commands for a MCP23S17 Serial->Parallel chip?
    http://ww1.microchip.com/downloads/e...Doc/21952b.pdf

    1st Google hit...

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


    Did you find this post helpful? Yes | No

    Default

    This device can be used in SPI mode. Page 8 of the above PDF show you how to process with.

    Nice starter, is to compare a working code example and modify it for your need. The following is for 93LC56A EEPROMs

    http://www.melabs.com/resources/samples/x1/pbp/mwx.bas

    First i would suggest you to begin with parallel mode, then once you exactly know how your GLCD work, add the serial interface in between (after having done some tests with)
    Steve

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

  10. #10
    Join Date
    Mar 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    Thanks. But how to control a display with that!
    But to you Mister_E - Yes, i will try parallel first, but how could i port that to serial?

    Thanks for all your answers until now.

  11. #11
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mindthomas View Post
    Thanks. But how to control a display with that!
    Small steps...That's how you control a display with that.

    From what I've read, you're trying to build a working Particle Accelerator with duct tape, 2x4's, a shovel, and 3 pounds of cat litter....and make it work on the first try......

    Small steps....
    Build something, get it working, build something onto that, get that working, integrate the two, and so on and so on...

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mindthomas View Post
    Yes, i will try parallel first, but how could i port that to serial?
    Well, let's see. Once you have the parallel thing working, you'll know how the timing is implemented, and how the holly blue beast work... then it's just a matter to change some PORT read/write lines to SHIFTIN/SHIFTOUT statements.

    Be warned... the GLCD refreshing will be slower... or way slower. I never tried any serial thingy until now.

    New Compiler? Well i thought it was you here

    No problem at all, i was just kidding a little bit!
    Steve

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

  13. #13
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,615


    Did you find this post helpful? Yes | No

    Talking

    Hi, Steve

    Don't you think MkB could have the looked-for code snippet ... ???

    Regards from France

    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 " !!!
    *****************************************

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


    Did you find this post helpful? Yes | No

    Default

    Well that have it online on the product page.
    http://www.mikroe.com/zip/adapters/s...d_examples.zip

    Unless you're using their compiler, it's not going to help huh?
    Steve

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

  15. #15
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,615


    Did you find this post helpful? Yes | No

    Talking

    I had a look to what could be done ...

    But, as "minimal" code exceeds 2k ... license is needed just to watch the assembler, as their libraries are not 'readable' ...

    LOL !

    Our friend will have to code serially every GLCD Command ... and then write the full GLCD "user" sequence.
    Good hair pulling sequence in sight !!!

    Do you begin to understand how the 1 Page PbP + Custom libraries limit is a problem ???
    Everything is to do by one's own ... here.

    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 " !!!
    *****************************************

  16. #16
    Join Date
    Mar 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics View Post
    I had a look to what could be done ...

    But, as "minimal" code exceeds 2k ... license is needed just to watch the assembler, as their libraries are not 'readable' ...

    LOL !

    Our friend will have to code serially every GLCD Command ... and then write the full GLCD "user" sequence.
    Good hair pulling sequence in sight !!!

    Do you begin to understand how the 1 Page PbP + Custom libraries limit is a problem ???
    Everything is to do by one's own ... here.

    Alain
    Do you have a code, cause i have a licensed version of Pic Basic Pro??

  17. #17
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,615


    Did you find this post helpful? Yes | No

    Angry

    Thomas

    You should be DUMB and BLIND ... no such code available "already cooked' aboard this forum ... we might know it !!!

    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 " !!!
    *****************************************

  18. #18
    Join Date
    Oct 2004
    Location
    North Norfolk UK
    Posts
    146


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mindthomas View Post
    Do you have a code, cause i have a licensed version of Pic Basic Pro??
    All the guys trying to help you out are doing so out of pure kindness and generosity, you might be (are) misinterpreting this.

    The forum appears to have no association with MeLabs, if you have any feeling that you should be supported and have your code written for you, simply because you have purchased PBP then you should maybe think about emailing MeLabs and taking this matter up with them directly.

    I sense that you are maybe a very young chap who wants to get a piece of kit going urgently so that you can place a demo on youtube, well there is nothing wrong with that at all. Any young person wanting to get into electronics has to be music to anybody's ears, and should be encouraged.

    However.............................unless you manage to find either a benefactor/mentor, or you pay somebody, or (best choice) take it very slow and learn how to do it gradually yourself.....

    its looking very much like your project simply just ain't going to happen mate.



    ________________________

  19. #19
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by duncan303 View Post
    All the guys trying to help you out are doing so out of pure kindness and generosity, you might be (are) misinterpreting this........
    its looking very much like your project simply just ain't going to happen mate.
    You have quite possibly found the very nicest way of saying what I've been thinking....
    But I surely wasn't going to say it like you did in such a polite tone! (Actually I was going to say it, but you beat me to it!)
    Maybe the title of the thread should've been...."Serial GLCD, gimme?"
    Last edited by skimask; - 16th April 2008 at 13:43.

  20. #20
    Join Date
    Mar 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    I understand. I will try the Parallel first from Compsys and then build it to my own requirements!
    Then i could ask in the future about Serial Interface...

    Thanks!

Similar Threads

  1. Replies: 33
    Last Post: - 19th March 2010, 03:02
  2. A Serial GLCD 128x64 Simple Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 8th March 2010, 20:58
  3. Dynamic USB Serial Number (PIC18F4550)
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 16th July 2009, 17:03
  4. PIC18F4680 to PC via MAX232 (RS232 serial) no output
    By opticsteam1 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th April 2008, 20:39
  5. interfacing to the pc serial port
    By kelangfei in forum General
    Replies: 4
    Last Post: - 7th October 2007, 22:35

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