PIC I will be using is the PIC16F877A.
My question is, how do I manually manipulate the ADC input values using resistors? If not resistors, is there an alternative method?
My ADC is set to VDD as VREF+ and VSS as VREF-
The port I want to manipulate is Pin-3, which is RA0/AN0.
I have tried connecting resistors directly from AN0 to VDD, but it keeps giving out the 5V reading. Shouldn't there be some voltage drop across the resistor and the reading should be at a lower Voltage value?
My question is, how do I manually manipulate the ADC input values using resistors? If not resistors, is there an alternative method?
My ADC is set to VDD as VREF+ and VSS as VREF-
The port I want to manipulate is Pin-3, which is RA0/AN0.
I have tried connecting resistors directly from AN0 to VDD, but it keeps giving out the 5V reading. Shouldn't there be some voltage drop across the resistor and the reading should be at a lower Voltage value?