Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: pescador; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    2,726

    Re: ADC resolution for 16F616

    My ADCON0 register looks like this 10010011. Now I have to figure out why it worked.

    starting from left

    1 = Right justified, needed for 10 bit
    0 = reference is VDD
    0010 = using AN2
    1 = not...
  2. Replies
    10
    Views
    2,726

    Re: ADC resolution for 16F616

    Your answer is appreciated, you took awhile to answer and you're right - read. Most people would just reply with - hey idiot - read the docs for petes sake.
    I've read the docs about 25 times, but...
  3. Replies
    10
    Views
    2,726

    Re: ADC resolution for 16F616

    I'm using Analog port 2 on 16F616 - 4Mhz.. VDD as reference. Any help would be great. I didn't have to set the ADCON registers for 8 bit. Why is 10 bit different? Was I lucky?
  4. Replies
    10
    Views
    2,726

    Re: ADC resolution for 16F616

    I dont know what I'm doing.. I dont know what to set ADCON1 to.
  5. Replies
    10
    Views
    2,726

    Re: ADC resolution for 16F616

    Its working - but crazy numbers now - 32k instead of 1024 uggg...
  6. Replies
    10
    Views
    2,726

    Re: ADC resolution for 16F616

    I've been reading other posts - so I tried this to see if light would turn green - fail


    DEFINE ADC_BITS 10
    DEFINE ADC_CLOCK 3
    DEFINE ADC_SAMPLEUS 50

    ADCON1=%10000010

    OUTPUT PORTA.1 ...
  7. Replies
    10
    Views
    2,726

    Re: ADC resolution for 16F616

    Note: - I'm not doing anything as far as CCP1CON, CM1CON0,CM2CON0, CM2CON1, ADCON1.

    Yes I'm new...
  8. Replies
    10
    Views
    2,726

    ADC resolution for 16F616

    I'm using a 16F616 analog input with a ADCIN routine. My resolution is 5V / 256 = about .19 mv. I'm using a voltage divider for the input with .1% tolerance resistors. Is there a better way to...
Results 1 to 8 of 8