ADC Vrefh and Vrefl setting

Status
Not open for further replies.

Chullaa

Advanced Member level 4
Joined
Aug 27, 2010
Messages
113
Helped
17
Reputation
34
Reaction score
17
Trophy points
1,298
Activity points
2,019
Hi i am using PIC16F877A, trying to interface Analog Accelerometer, which gives output between 0.85V to 2.45V.
**broken link removed**
The Question is
How can i change ADC referance voltage (defaul: VSS and VDD) to 2.45V and 0.85. I read in some thread that it should be atleast 2.5V difference in range.
Any clue?

Regards
Umair
 

Hi,

You use ADCON1 on the 877A to select external Vrefs.

See Tahmids excellent blog ADC #6 , but also have a good look at the rest of his ADC sections.
https://www.edaboard.com/blog/1574/

If you understand the adc system you might find you can simply use the default internal +5v ref without using external lower voltages.
 
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…