I have a circuit design as above. I'm trying to sense the voltage difference accross the \$ 0.1 \Omega \$ resistor. I physically connected the sensory circuit to the low side of the AC line, and saw that it is working alright.
I'm going to make a boxed circuit of this, and I'm going to connect it to the wall outlet with a standard plug, seen as below:
The plug is symmetric. I can accidentally connect it reversed (on the other hand, i don't want to check the polarity every time I'm connecting it to wall outlet). In that case, the sensory circuit is connected to the high side as seen below:
My question is, What happens if the sensory circuit is connected to the high side? Would a terrible thing happen? Do I need to do any modification on the overall circuit for making it connectable to the high side?
RMS of the AC is 230V.
VCC is 5V, and it is electrically isolated from the AC by a transformer.
All circuit elements are rated to work between -5V to +10V. The electrical device drains small current (below 10A RMS).
This question is not about personal usage risks. Please focus your answers on the circuit level, about the risk on the circuit elements.