ecaits
Member level 4
- Joined
- Jan 16, 2014
- Messages
- 76
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 6
- Activity points
- 579
Dear All Friends,
I am working on PIC16F877 for ADC.
I am giving analog input 0-5V to pin AN0 by 0-5 volt pots.
Suppose, I am giving 2.5 V by pots on AN0. Now I am measuring the voltage at pin AN0 so I am getting apporx. 2.5V. But when I run the program by MPLAB, at that time I am getting approx 4.97 V at pin AN0.
Why this happen??? I cannot understand.
Plz help me.
I am working on PIC16F877 for ADC.
I am giving analog input 0-5V to pin AN0 by 0-5 volt pots.
Suppose, I am giving 2.5 V by pots on AN0. Now I am measuring the voltage at pin AN0 so I am getting apporx. 2.5V. But when I run the program by MPLAB, at that time I am getting approx 4.97 V at pin AN0.
Why this happen??? I cannot understand.
Plz help me.