Maximum value of ADCIN


Results 1 to 21 of 21

Threaded View

  1. #9
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default

    Wow, Thank You again Mr.Darrel !
    Maybe my code it's wrong ; I use
    Code:
    DEFINE OSC  4
    DEFINE ADC_BITS 10
    DEFINE ADC_CLOCK 3
    DEFINE ADC_SAMPLEUS 50
    instead
    Code:
    DEFINE ADC_BITS 10     ' ADCIN resolution  (Bits)
    DEFINE ADC_CLOCK 1     ' ADC clock source  (Fosc/8)
    DEFINE ADC_SAMPLEUS 11 ' ADC sampling time (uSec)
    This is the explanation, don't ?
    NO, I think this is NOT the explanation ! My math teacher it's verry, verry angry ...
    I learn more here : http://www.darreltaylor.com/DT_Analog/
    1 step=0.0048875. So, if I have Max_result 450, Volts= 450 * 0.0048875 =2.199 Volts; for 696 --> Volts= 696 * 0.0048875 =3.401 Volts...
    Stupid me, again
    Last edited by fratello; - 13th November 2010 at 16:54.

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