Help with LCD


Closed Thread
Results 1 to 7 of 7

Thread: Help with LCD

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    OK,
    Just to make sure everything is done properly, first you must load the 20MHZ bootloader file in your PIC, be sure the HS fuse is set before programming it, then, change DEFINE OSC 4 to DEFINE OSC 20 and last step, load your code in your PIC.

    Be sure you use the right capacitor values for the crystal, your PSU is properly filtered and it should work now.

    Good luck!
    Steve

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

  2. #2
    teknoman2420's Avatar
    teknoman2420 Guest


    Did you find this post helpful? Yes | No

    Default ok it's working better but....

    it still jumps around a little,
    and not displaying correctly with 20mhz crystal
    and the value keeps changing too much
    why is that
    also when i put my fingers on the thermister
    it only changes from 686 to 750
    that's with 10K ohm resistor from portA.0 to ground
    that brings it down,
    and the thermister is connected at portA.0 to VDD 5V
    with thermister only it goes to highest value 1023 at 10 bit ADC
    and is at or close to 5 volts
    maybe i have wrong thermister
    or because i'm only changing the temp a few degrese
    am i doing it right
    i guess i'm learned a few thing anyway

  3. #3
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    teknoman2420, Have a look at app. note AN685 from Microchip which dives into attaching a thermistor to a microcontroller. A good reference.

    Dave Purola,
    N8NTA

Similar Threads

  1. Is this code not initialising the LCD properly?
    By Platypus in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 30th January 2010, 20:14
  2. 16f688 LCD what have I done wrong
    By spitfiredriver in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th August 2009, 20:54
  3. LCD Problem
    By karenhornby in forum General
    Replies: 3
    Last Post: - 19th June 2008, 12:43
  4. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 27th June 2007, 00:07
  5. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 03:30

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