thirsty
Mar 09, 2007, 07:28 AM
Hi All,
I have a sensor that outputs (using a 5V supply) a voltage between about .5V to 4.5V representing the lower limit to the upper limit of it's measurement.
I'm using the onboard ADC on a pic 16f913 and I want to set the Vref- and Vref+ inputs on the ADC to match the sensor so I can utilise all of the ADC's resolution.
Is a simple voltage divider with resistors between GND and VCC sufficient? I would dearly love not to use any more IC's to keep the cost down and also keep the device as small as possible.
Thanks in advance for any help/suggestions,
Thirsty
I have a sensor that outputs (using a 5V supply) a voltage between about .5V to 4.5V representing the lower limit to the upper limit of it's measurement.
I'm using the onboard ADC on a pic 16f913 and I want to set the Vref- and Vref+ inputs on the ADC to match the sensor so I can utilise all of the ADC's resolution.
Is a simple voltage divider with resistors between GND and VCC sufficient? I would dearly love not to use any more IC's to keep the cost down and also keep the device as small as possible.
Thanks in advance for any help/suggestions,
Thirsty