blackened69
New Member
hi
i was wondering how would i go about measuring the voltage of a battery powering a PIC 16f877 via the pic's ADC? i need to keep track of the battery's power and need to detect when the battery goes bellow a certainlevel (eg under 3 volts). from what i understand the 16f877's integrated ADC can be used. can i set thins up so no other power source is needed to keep a reference voltage. I just wanna have one battery and wanna detect when its below a ceratin level.......
thnk you all
i was wondering how would i go about measuring the voltage of a battery powering a PIC 16f877 via the pic's ADC? i need to keep track of the battery's power and need to detect when the battery goes bellow a certainlevel (eg under 3 volts). from what i understand the 16f877's integrated ADC can be used. can i set thins up so no other power source is needed to keep a reference voltage. I just wanna have one battery and wanna detect when its below a ceratin level.......
thnk you all