lcd problem


Closed Thread
Results 1 to 15 of 15

Thread: lcd problem

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    704


    Did you find this post helpful? Yes | No

    Default

    Malcolm,

    Double check the voltage on Vo (contrast adjustment). Go all the way from the minimum to the maximum on the potentiometer.

    Robert

  2. #2
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by rsocor01 View Post
    Malcolm,

    Double check the voltage on Vo (contrast adjustment). Go all the way from the minimum to the maximum on the potentiometer.

    Robert
    Robert, thanks for the input - voltage range = 0.00 to 4.46v

  3. #3
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    974


    Did you find this post helpful? Yes | No

    Default

    Malcolm

    Please post the code you're using. I suspect the code is re-starting after printing the message.

    Jerson
    Last edited by Jerson; - 7th July 2010 at 15:24.

  4. #4
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Personally I don't think it's the code - this has been running fine in the development board (see the 4ch thermostat post under the code section), and the PIC seems to be running OK when used on the stripboard as the LEDs indicate the PID routines work when the temperature detected by the probes are increased / decreased. My hunch is that it has to be something with the stripboard, I might try re-soldering the wires as it could be something as simple as a dry joint ?

  5. #5
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by malc-c View Post
    Personally I don't think it's the code - this has been running fine in the development board (see the 4ch thermostat post under the code section), and the PIC seems to be running OK when used on the stripboard as the LEDs indicate the PID routines work when the temperature detected by the probes are increased / decreased. My hunch is that it has to be something with the stripboard, I might try re-soldering the wires as it could be something as simple as a dry joint ?
    Uhmm... well I just belled out each wire pin fo pin and it all checks out.

  6. #6
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    974


    Did you find this post helpful? Yes | No

    Default

    Could be even simpler - decoupling caps 0.1uF? since you mentioned using strip board

  7. #7
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Yep, have one fitted across the supply lines next to the pic - might put a few more in

    I've just breadboarded the pic (pic, xtal, caps and the lcd) and it's running fine... must be a fault somewhere on the board...

    Thanks guys for all your inputs

  8. #8
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default

    Code:
    DEFINE LCD_LINES 4               ' number of lines on LCD
    Your define is for a 4 lines LCD while you are using a two lines display (as per picture in your post #1)

    Al.
    All progress began with an idea

  9. #9
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by aratti View Post
    Code:
    DEFINE LCD_LINES 4               ' number of lines on LCD
    Your define is for a 4 lines LCD while you are using a two lines display (as per picture in your post #1)

    Al.
    Sorry, but misleading as that was taken from the EasyPIC manual, I'm actually using a 4 x 20 as stated in my 1st post.

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