2x16 LCD Graphics :)


Closed Thread
Results 1 to 40 of 52

Hybrid View

  1. #1
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: 2x16 LCD Graphics :)

    Thanks Robert, I combined everything into one retro demo:



    I robbed the circle drawing from a GLCD code sample here, and added a bit more.
    There are 10 sections to the demo, but they only last a few seconds each.
    The trick at the end is what I should have started with to trick people to thinking
    I had the entire display

    It is almost ready to go, I just have to make sense of the source for others.
    Last time I released a project, there were three different revisions of matching
    hardware and software improvements with schematics,
    and although others got it working, it caused confusion, and years of follow up for me.
    Being mindful of that this time round, the schematic is in the PBP manual



    The only differences are this is a 16F628A (instead of 16F84/A in the manual),
    the LCD backlight is powered by the pic (RB6) for the strobe effect in the video,
    and the pic is driven with an 8MHz crystal to match the speed in the video.
    The clock speed is not critical though.
    The serial Rx pin in the familiar looking diagram is not implemented.

    If you make a board for this, it's still tentative.
    LCD R/W pin may need to be accessed later, so it might pay to wire
    it to somewhere accessible before wiring it to ground to mod later
    (I heard you can rip all of the character graphics from the LCD itself).
    It should also get a couple of buttons.
    Cheers, Art.

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,154


    Did you find this post helpful? Yes | No

    Default Re: 2x16 LCD Graphics :)

    WARNING: Video may trigger epyleptic seizure in some viewers.

    Use 3D glasses under welding goggles as protection.



    Awesome stuff Art.

    Robert
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  3. #3
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: 2x16 LCD Graphics :)

    Here it is:
    http://www.freewebs.com/defxev/LC2D.zip

    Interestingly... I realised this is one of the two LCDs I bought off Melanie here ages ago:
    http://www.picbasic.co.uk/forum/show...=2298#post2298
    Funny that. There was not much fancier at the time, but now the options are endless.

    I always get that last little nice feature working AFTER the distribution

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


    Did you find this post helpful? Yes | No

    Default Re: 2x16 LCD Graphics :)

    Pretty fancy stuff there Art, He He Imagine that display on the bank's ATM machine, make a good video.
    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.

  5. #5
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: 2x16 LCD Graphics :)

    Forgot this:

    Credit to Centrex of Whirlpool forum (Australia).
    Suitable for this, and whatever logging LCD circuit based on the PBP manual LCDOUT example circuit.

    I will do a more bare source code, more intended for people using their own programs,
    and am also getting an 8x1 or 8x2 LCD so I either get a whole line or a whole display to work with.
    The reason being, I hear by connecting the LCD R/W line to an IO pin, you can access the
    LCD's CGROM, and rip the character set. That would be great for the pixel perfect text scroller.

    Up until now, the character data has been stored on EEPROM or on-chip EEPROM for these sort of tricks.

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default Re: 2x16 LCD Graphics :)

    You are kidding me, right?

    Unbelievable graphics on this LCDs!!! Wow, Art. Supercalifragilisticexpialidocious!

    Ioannis

  7. #7
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: 2x16 LCD Graphics :)

    Quote Originally Posted by Ioannis View Post
    You are kidding me, right?

    Unbelievable graphics on this LCDs!!! Wow, Art. Supercalifragilisticexpialidocious!

    Ioannis
    Thanks

    I always get that last little nice feature working AFTER the distribution
    Happens every time on every platform.
    I suggest, if you would like some cool new feature in a program you write,
    that you upload a distribution, and give it away to the public.
    Then within a day or two, you have changed the way you think about it,
    and have a moment of insight Oh, and the implementation is a breeze also.

Similar Threads

  1. Need advice with LCD 2x16
    By fratello in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 26th April 2011, 06:58
  2. 2x16 lcd problem
    By k3v1nP in forum mel PIC BASIC
    Replies: 11
    Last Post: - 30th October 2008, 04:46
  3. graphics lcd with lcdout style serial??
    By reaper0995 in forum Serial
    Replies: 4
    Last Post: - 27th March 2008, 19:57
  4. small 2X16 LCD
    By Ron Marcus in forum Off Topic
    Replies: 2
    Last Post: - 26th October 2007, 20:37
  5. OT: KS0108 Graphics LCD control question
    By Archilochus in forum General
    Replies: 2
    Last Post: - 18th December 2004, 18:23

Members who have read this thread : 0

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