Since I have a microcontroller involved with my circuit, I cut off the idea to build a separate circuit close to the batteries area of the board to indicate if the power is high or low. My question is, how can I indicate the battery is high or low with the microcontroller itself? Im using PIC16f84 to test this out.
Since my power source is 9v coming from the batteries and my microcontroller is at a minimum 2 volts to power it up, where would it be best to indicate the 9v power is high or low? Or how would the microcontroller indicate the 9v is high or low when the microcontroller itself is powered with only 2v? I thought of using 2 LED's along with the microcontroller, one to indicate power is high, and the other to indicate the power is low.
Since my power source is 9v coming from the batteries and my microcontroller is at a minimum 2 volts to power it up, where would it be best to indicate the 9v power is high or low? Or how would the microcontroller indicate the 9v is high or low when the microcontroller itself is powered with only 2v? I thought of using 2 LED's along with the microcontroller, one to indicate power is high, and the other to indicate the power is low.