SED1335 320x240 LCD


Results 1 to 5 of 5

Threaded View

  1. #3
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default

    Ok, the LCDs came in and I figured out all the system settings.

    LCD datasheet here (if you can call it that):
    http://www.qingyun-it.com/products/y...LCM3202401.pdf

    SED1335 controller datasheet here:
    http://www.compsys1.com/support/docs/sed1330.pdf

    I am driving it with a PIC 16F877 at 20MHz. Every thing goes fine, I can reprogram it over and over and change the text at will. But if I power OFF and back ON again the LCD goes crazy. It's like a TV that loses vertical control, just a blur of lines going super fast. If I wait 7 seconds or more before powering back ON everything boots up normal.

    This is the 1st type of LCD controller that's ever done that to me and this is the 4th type I've tried so far. Has anyone ever encountered a similar problem? I'm guestimating that this particular controller requires a short break between power OFF and ON for some technical reason, why? No idea but that's what it looks like.

    The initialization routine in the PIC seems fine 'cause it works perfectly if I wait 7 seconds or more. I can pull-down /MCLR as often as I want, the PIC resets fine and the LCD displays properly.

    My rookie solution would be to control the power-up of the LCD with the PIC instead of feeding it directly from the supply line. A 10 second 'warm-up' period with a flashing LED and probably a transistor to power the LCD. The LCD datasheet says 90-100mA, that's more than what a PIC pin can drive (25mA if I read the datasheet properly). I was thinking of having the VDD direct to the LCD logic, and placing a transistor on the Vss like so (just to confirm I have my head on straight):

    Base: control pin on PIC via a resistor, not sure what size but I know I need one.
    Collector: LCD logic
    Emitter: VSS

    Does that make sense?

    Robert
    Attached Images Attached Images  
    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!

Similar Threads

  1. Is this code not initialising the LCD properly?
    By Platypus in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 30th January 2010, 20:14
  2. 16f688 LCD what have I done wrong
    By spitfiredriver in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th August 2009, 20:54
  3. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 17:56
  4. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 03:30
  5. SED1335 320x240 graphic LCD
    By Demon in forum Code Examples
    Replies: 16
    Last Post: - 5th June 2006, 13:04

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