AtomSoft
Well-Known Member
Hello all. I have a simple question to which i think i know the answer.
I want to test 3 different voltages....
9v, 5v, 3.3v
I want to test whether the power is good meaning on spot. I want to use 1 micro to test the 3 and display on a LCD. The only thing i get confused on is what or how should i test them?
If i use the VREF = VSS then the test would be for 5v.
How would i test the 9v and 3.3v ?
Should i simple create a transistor circuit to switch the VREF pin to the different supplies?
I know i have to use a resistor scheme to check the 9v but for the 3.3v and 5v can i simply have the pic switch on a transistor for the 3.3v and when i want to check the 5v turn the 3.3v off and turn the 5v (transistor circuit) on?
Also how do i test the 9v supply?
One more thing....... is it possible to test how much current the supply is using with a pic? Since i know the limit for sink/source is 25mA typical.
I want to test 3 different voltages....
9v, 5v, 3.3v
I want to test whether the power is good meaning on spot. I want to use 1 micro to test the 3 and display on a LCD. The only thing i get confused on is what or how should i test them?
If i use the VREF = VSS then the test would be for 5v.
How would i test the 9v and 3.3v ?
Should i simple create a transistor circuit to switch the VREF pin to the different supplies?
I know i have to use a resistor scheme to check the 9v but for the 3.3v and 5v can i simply have the pic switch on a transistor for the 3.3v and when i want to check the 5v turn the 3.3v off and turn the 5v (transistor circuit) on?
Also how do i test the 9v supply?
One more thing....... is it possible to test how much current the supply is using with a pic? Since i know the limit for sink/source is 25mA typical.
Last edited: