Hi everyone,
I need to monitor for mains power failure using an input to 16f628.
I have been looking at using the transformerless circuits on Microchip appnote AN954.
My intention is to build the resistive 5v supply and put the output through a resistor/transistor arrangement into RB0
My question is this, firstly is it safe and secondly would I have to connect the 0v of my micro to neutral line?
thanks in advance for any help
I need to monitor for mains power failure using an input to 16f628.
I have been looking at using the transformerless circuits on Microchip appnote AN954.
My intention is to build the resistive 5v supply and put the output through a resistor/transistor arrangement into RB0
My question is this, firstly is it safe and secondly would I have to connect the 0v of my micro to neutral line?
thanks in advance for any help