Darrel's SPWM and LCDOUT


Closed Thread
Results 1 to 23 of 23

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Maybe just a LCD clear... or PSU noise.. who know?

    LVP_NOT set to OFF.. huh... how bad things could go with it...
    Last edited by mister_e; - 2nd April 2008 at 00:30.
    Steve

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

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    What surprises me is that the entire line changes to a different character.

    If it was a timing problem from the interrupts, I'd think it would be more Random.
    <br>
    DT

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


    Did you find this post helpful? Yes | No

    Default

    Looks like the PIC itself reset here and there... i still bet on some kind of noise... or UFO interferences... stack under/overflow?

    Fishing in the dark..
    Steve

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

  4. #4
    Join Date
    Mar 2008
    Location
    Gerogetown, Texas
    Posts
    94


    Did you find this post helpful? Yes | No

    Default

    Don't the DEFINES have to be in CAPs?

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


    Did you find this post helpful? Yes | No

    Default

    dEFINE, define or else variant will work, what's important it's on the right of it.
    Last edited by mister_e; - 2nd April 2008 at 01:36.
    Steve

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

  6. #6
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    I googled "Optrex DMC20481" and found a post on another forum suggesting that the LCD_COMMANDUS of 2000 was too low for that display. He said that 3000 worked for him.

    I pulled up the datasheet, and there doesn't seem to be any mention of the actual delays required. I guess if they're that bad, I wouldn't want to publish them either.

    Something to try.
    <br>
    DT

  7. #7
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default I had a different problem

    Hi,

    I once found that my LCD was spitting garbage and sometimes went blank. On inspection with the panel itself I found it would happen when a contactor picks up. My experiments.


    1. LCD changed with a different brand --> Reduced frequency of the problem but still exist
    2. LCD timing --> Reduced the missing display
    3. Remove shielding from the LCD mounting --> Problem almost gone

    4. Software measure taken:

    Use the Flag to re-initialize and clear the LCD after contactor pick up/drop.

    So what I mean to say is that in my case the LCD itself was picking up noise and not stable.
    Regards

    Sougata

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