16F872 and LCD


Closed Thread
Results 1 to 40 of 49

Thread: 16F872 and LCD

Hybrid View

  1. #1
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187


    Did you find this post helpful? Yes | No

    Default

    There is nothing wrong whit the code....

    When i put my finger on the LCDs Enable pin everythings become normal, and it´s not a bad soldering, becouse the LCD have tre diffrent connection pionts and everythings become normal when i put my finger of any och the tre connections Enable pin.

    What is wrong?

    A picture of the LCD (OLED)
    http://www.fractronics.com/oled1_b.jpg

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


    Did you find this post helpful? Yes | No

    Default

    Hi Fredrick,
    I had an issue with some "Import" LCD units and I solved it with a bypass capacitor on the power and ground leads, Pin 1, 2 . My issue was similar to yours.
    JS
    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.

  3. #3
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187


    Did you find this post helpful? Yes | No

    Default

    I will try that..

    Btw how do i do if i want to messure both positive and negative temperature?

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Fredrick View Post
    I will try that..

    Btw how do i do if i want to messure both positive and negative temperature?
    Do a search, bunch of code examples here on how to do that.

  5. #5
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187


    Did you find this post helpful? Yes | No

    Default

    A 10Kohms resistor i serie with the enable wire and the code works as normal... strange???

  6. #6
    Join Date
    Apr 2006
    Location
    New Hampshire USA
    Posts
    298


    Did you find this post helpful? Yes | No

    Default also....

    Hi Fredrick,

    Double check that your LCD ground is connected to the PIC Vss (5V common) securely.
    Check that your LCD Plus is connected to the PIC Vdd (5V plus).
    Also check resistor pullup on PIC MCLR to Vdd. as Skimask suggested.

    -Adam-
    Last edited by Pic_User; - 19th January 2008 at 03:59. Reason: added LCD plus line
    Ohm it's not just a good idea... it's the LAW !

  7. #7
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Pic_User View Post
    Hi Fredrick,

    Double check that your LCD ground is connected to the PIC Vss (5V common) securely.
    Check that your LCD Plus is connected to the PIC Vdd (5V plus).
    Also check resistor pullup on PIC MCLR to Vdd. as Skimask suggested.

    -Adam-
    MCLR pull up is ok.

    The LCD is connected to the same voltage regulator as the PIC but not directly connected to the VDD or VSS PIC pin.

    The LCD is connected to this DEV board.
    http://www.olimex.com/dev/pic-p28.html

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