ADCIN problems with PIC16F73


Results 1 to 20 of 20

Threaded View

  1. #17
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    Quote Originally Posted by passion1 View Post
    Paul

    Thank you.
    When I connect the circuit ground to AN3 and convert, I get values fluctuating between 12-18.
    When I connect the +5V supply to AN3, the values initially fluctuate between 248-255 and eventually stabilizes at 255.

    I will be trying some of your other suggestions now and report back....
    Passion,
    That is good news - your ADC is working. However, ....
    You should get a solid 0 and a solid 255 - Try turning off the HPWM and other stuff going on and see what you get for these conversions (i.e., leave everything off and convert these two at the beginning of your code and see what you get.)

    Again...what is your power supply?-

    Let us know

    EDIT: Your goal is to make the ADC work alone and then slowly add your other stuff and see what is causing the problem. Then you can address it ... a systematic approach!
    Last edited by paul borgmeier; - 26th July 2007 at 09:09. Reason: more info
    Paul Borgmeier
    Salt Lake City, UT
    USA
    __________________

Similar Threads

  1. ADCIN and PIC18F4331 Arghhhhh !
    By GrandPa in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th December 2010, 21:27
  2. adcon problems with adcin
    By mbw123 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 3rd January 2007, 23:15
  3. ADCIN - AD settings are wrong
    By teverett in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 4th December 2006, 17:32
  4. Problems with MicroCode Studio ICD
    By Muzza in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th July 2006, 03:37
  5. help using adcin
    By harryweb in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 31st January 2006, 08:46

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