LCD Display not working - PIC heating...


Closed Thread
Results 1 to 33 of 33

Hybrid View

  1. #1
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by flotulopex
    Any other idea?
    You say in your first post that you are using 16F88

    Try adding the line....

    ANSEL = %00000000 ' Disable Analogue Inputs

    ..to disable the analogue inputs which are on by default.

    Regards
    Keith

    www.diyha.co.uk
    www.kat5.tv

  2. #2
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    Hello again,

    DEFINES are not DEFAULTS. Defaults are part of the 16F88.inc file and pertain to certain setup requirements. These are also configurable by you if you need to change them for your particular application. DEFINES are used to setup things like LCD displays, serial printers or other types of serial outputs using the DEFINE DEBUG type statements. You must add the define statements yourself. Again another topic to read in the MELABS PBP manual.

    I don't know anything about the Microchip programmer. If I get a chance this coming weekend I'll look it up. I use the MELABS USB and EPIC programmers and they don't have enough power to handle programming and powering your circuitry.

    I ordered 4 of those serial LCD driver boards. If they get here by Thursday I'll get one built over the weekend and let you know how they work. I though the prices were well within reason.

    Sorry about the ansel = item. I didn't take the time to read the datasheet. Shame on me! But at least I was on the right track! Thanks Keith!!!

    BobK
    Last edited by BobK; - 13th September 2006 at 02:13.

  3. #3
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    One thing to look at - the pins on an LCD are a bit weird. The pins are numbered as if you put a connector on the FRONT side of the board.
    Most people put the pins out the backside. As a result, what you think is pin #1, really isn't

    Check that before you try anything else. If that is the problem (it reverses the odd and even pins), the display is probably destroyed.

    Don't ask me how I know all this !
    Charles Linquist

  4. #4
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default

    Well,

    Seems still to be lots of things to try before I jump out of the window ;-)

    It's lunch time now and still a few hours to go before I get back home to try/check everything you suggest.

    One thing is sure, I took a great care on the display's pins locations and this should not be wrong (the complete wiring is simple and I used colored wires to make it even more clear to check). Nevertheless, according to Charles's experience, I'll check this over again.

    Meantime, about the DEFINEs, where can I see what is "behind" this or that particular command? The PBP book (chap. 4.16) doesn't tell much about this.

    NB: I live on the groundfloor...
    Roger

  5. #5
    blainecf's Avatar
    blainecf Guest


    Did you find this post helpful? Yes | No

    Default code doesn't make the chip heat up.

    Chip heats up because it's in backwards. I know because I've done it several times! Easy to get things turned around.

    bcf

  6. #6
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default

    Still getting the same effect on my displays = first line, all pixels on; second line, all off - like picture in attachment in post #1.

    I'll order a new display and try again. Hope to give you more info shortly.

    Thank you for all your suggestions.

    Blainecf, I always put some nail varnish as a mark on the upper side of my PICs ...because what happened to you, happened to me too sometimes ago :-)
    Roger

  7. #7
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by flotulopex
    Still getting the same effect on my displays = first line, all pixels on; second line, all off - like picture in attachment in post #1.
    Have you got a contrast pot connected and does the display change when you adjust it ?
    Keith

    www.diyha.co.uk
    www.kat5.tv

  8. #8
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by BobK
    Sorry about the ansel = item. I didn't take the time to read the datasheet. Shame on me! Thanks Keith!!!
    Neither did I !!!!

    I learnt the hard way the first time I used the 16F88 and couldnt get some of the pins on PortB to work right
    Keith

    www.diyha.co.uk
    www.kat5.tv

Similar Threads

  1. Simple LCD code not working!...WHY?
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 29th November 2009, 19:48
  2. Replies: 2
    Last Post: - 5th November 2009, 17:07
  3. PIC16f690 LCD Not Working
    By hhosteam in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 3rd June 2009, 06:26
  4. Replies: 3
    Last Post: - 27th November 2007, 08:56
  5. A/D display result on LCD
    By winsthon in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 10th January 2004, 10:09

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