ADCIN Help


Closed Thread
Results 1 to 2 of 2

Thread: ADCIN Help

  1. #1
    Tear's Avatar
    Tear Guest

    Default ADCIN Help

    Using the ADCIN command allows for the use of an analog signal to the microcontroller. Looking at the example code on the webpage the whole PORTA is set as analog inputs. Is this because each I/O pin holds a bit? And if so which pin do you wire the input analog signal to? Also since I am measuring an analog signal that will range from 0-5V how many bits do I need to set the ADC to when all I want to do is measure if it is above 0V?

    Thanks,
    Michael

  2. #2
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Tear,

    there is definitely no need to post the very same thing on two (or more) different threads.

    please see this

    (you have at least three different threads regarding the same thing!)

    I would also recommend to read the 12F629 Datasheet and PBP Manual.

    (There is NO A/D-converter on the 12F629)
    Last edited by NavMicroSystems; - 25th July 2005 at 18:51.
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



Similar Threads

  1. ADCIN and PIC18F4331 Arghhhhh !
    By GrandPa in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th December 2010, 20:27
  2. How to make adcin stable?
    By Pic2008 in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 20th January 2009, 07:41
  3. ADCIN problems with PIC16F73
    By passion1 in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 26th July 2007, 11:38
  4. ADCIN - AD settings are wrong
    By teverett in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 4th December 2006, 16:32
  5. help using adcin
    By harryweb in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 31st January 2006, 07: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