+ Reply to Thread
Results 1 to 9 of 9

Thread: Unicorn Oscilloscope running GLCD 128x64 & Photo

  1. #1
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,696
    Blog Entries
    5

    Default Unicorn Oscilloscope running GLCD 128x64 & Photo

    Steve the friendly fellow whom runs the site www.semifluid.com was kind enough to modify his source code to work on the Unicorn. The GLCD looks awsome in reality, my photo skills for LCDs are minimal.


    And Steves Original
    Last edited by blueroomelectronics; 9th June 2007 at 03:17 AM.
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/


  2. #2
    Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent
    Join Date
    Mar 2005
    Location
    Brisbane Australia
    Posts
    6,789

    Default

    Very nice. I received my boards today and have a GLCD on order. Hopefully I'll have something running by the end of the week.

    Mike.

  3. #3
    3v0
    3v0 is offline
    3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent
    Join Date
    Jul 2006
    Location
    USA
    Posts
    6,463
    Blog Entries
    11

    Default

    It keeps getting better. Very nice.
    Please post questions to the forums. PM's are for personal communication.

    BCHS/3v0's Tutorials
    Junebug USB PIC programmer kit., USB Bit Whacker,
    The 15 Minute Printed Circuit Board! (+drill time)

  4. #4
    Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent
    Join Date
    Mar 2005
    Location
    Brisbane Australia
    Posts
    6,789

    Default

    Finally got around to having a play with this. The Graphic LCD is actually easier to initialise than the character based ones but a bit trickier to use. The really tricky bit is finding fonts. Managed to find a nice proportional one though. I'll post some code when I get time to tidy and comment it.

    Mike.
    Attached Images
    Last edited by Pommie; 6th July 2008 at 04:13 PM.

  5. #5
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,696
    Blog Entries
    5

    Default

    Nice work Mike. Is that a font or bitmap image? I've been wanting to do a Conways Life on one.

    Here's the hex file for the scope, I'll ask permission to post the modifed C source.
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

  6. #6
    3v0
    3v0 is offline
    3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent
    Join Date
    Jul 2006
    Location
    USA
    Posts
    6,463
    Blog Entries
    11

    Default

    Do I need to get a GLCD with a specific controller ?
    Which and what source would you suggest ?
    I see that futurlec has one for about $20.
    Please post questions to the forums. PM's are for personal communication.

    BCHS/3v0's Tutorials
    Junebug USB PIC programmer kit., USB Bit Whacker,
    The 15 Minute Printed Circuit Board! (+drill time)

  7. #7
    Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent
    Join Date
    Mar 2005
    Location
    Brisbane Australia
    Posts
    6,789

    Default

    The one I have is the $20 one from futurelec. It uses the KS0107/8 controller.
    I connected the backlight to the 5V on con1 via a 220Ω resistor.

    Mike.

  8. #8
    Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent
    Join Date
    Mar 2005
    Location
    Brisbane Australia
    Posts
    6,789

    Default

    Bill,
    The font is just of the internet. As it's proportional, I put it all in a 7 wide array and put 0x55 in unused locations. It ended up like,
    Code:
    const rom unsigned char Font[96][7]={
    	255,255,255,85,85,85,85,
    	255,160,255,85,85,85,85,
    	248,255,248,85,85,85,85,
    	235,128,235,128,235,85,85,
    	217,182,128,182,205,85,85,
    
    I found that the display is (in my mind) reversed and have inverted the font and fill with 0xff to clear screen.

    Hopefully, I'll get some more time tomorrow to get a more usable print routine.

    Mike.

  9. #9
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,696
    Blog Entries
    5

    Default

    Quote Originally Posted by 3v0
    Do I need to get a GLCD with a specific controller ?
    Which and what source would you suggest ?
    I see that futurlec has one for about $20.
    The code was written for a 128x64 GLCD that is KS0108 compatible and the 20pin connector on the bottom.
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

+ Reply to Thread

Similar Threads

  1. The Oscilloscope
    By ElectroMaster in forum Electronic Theory
    Replies: 12
    Latest: 3rd February 2008, 01:45 PM

Tags for this Thread