Darrel's SPWM and LCDOUT


Closed Thread
Results 1 to 23 of 23

Hybrid View

  1. #1
    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

  2. #2
    Join Date
    Feb 2007
    Posts
    37


    Did you find this post helpful? Yes | No

    Default

    I would make two things before posting the entire program.

    1- Change DEFINE LCD_COMMANDUS 2000 to 3000.

    2- If point 1 not fix the trouble, reduce the program to minimum in order to have the repeatability of the trouble with minimum statements.

    I will make this activity this evening (Italian time).

    Ciao

    Leo

  3. #3
    Join Date
    Feb 2007
    Posts
    37


    Did you find this post helpful? Yes | No

    Default

    Hi,

    the fail seems disappeared. I do not have made nothing!

    The only difference between yesterday and today in that yesterday was the first od April!!!

    Is almost tree hours that is running without any trouble on the LCD display.

    Attached there are the "failing" program.

    I leave running the program for the entire night.

    Ciao

    Leo
    Attached Files Attached Files

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


    Did you find this post helpful? Yes | No

    Default

    Steve

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

  5. #5
    Join Date
    Feb 2007
    Posts
    37


    Did you find this post helpful? Yes | No

    Default

    Ha ha ha ....

    seriously speaking, for the entire night have runned without display alterations or reset.

    .... mmmm ...

    Stange ... very strange. In the previous day I have loaded almost 20 .. 30 different version of the program and when it was running, after some minute the LCD show improper display, also using different brand of LCD.

    Also I have changed the PIC.

    Doule checking of the power supply and it is very good (7805 feeded with 12 Volt) and its stability is cecked wit a scope.

    I esclude some kind of reset because before entering into the LCD write loop, some other items is done and some writing is made on the serial port.

    I will inform you if the problem reappear.

    Ciao

    Leo

  6. #6
    Join Date
    Feb 2007
    Posts
    37


    Did you find this post helpful? Yes | No

    Default

    Hi,
    just to infom; no fail show up to date.
    Ciao

    Leo

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