I am trying to find the resistance of an NTC thermistor with an EVAL-ADICUP 360. I am trying to use the internal voltage 1.1v.
I started making a new project, but had some questions:
For AdcRng, where do does the ADCCON_ADCREF_EXTREF come from, where is the pin for the adc power (I need to connect the thermistor to is too)?
For AdcRng, where do does the ADCCON_ADCREF_INTREF come from, where is the pin that the adc draws the power from (if I wanted to input 3.3v into the adc)?
For AdcPin, what are iInN and iInP? If this is where the voltage does, then where does the analog signal from the resistor go?
What I have so far (but does not work):
AdcRng(pADI_ADC0, ADCCON_ADCREF_INTREF, ADCMDE_PGA_G1, ADCCON_ADCCODE_INT);
adcValue = AdcRd(pADI_ADC0);
What would a set up for this code look like for a thermistor (where do the +/-, and analog out wires go)?
Where does the voltage wire go (ADCCON_ADCREF_INTREF... but where is it on the board)?
Where does ground go?
What goes into pins ADCCON_ADCCN_AIN0 and ADCCON_ADCCN_AIN1?
A schematic would really help