I am working on an AC Voltmeter. The supply to the microcontroller is not isolated. Only a bridge rectifier is used convert AC to DC. To get 5V, resistors are used to drop down the voltage.
Is it a good idea to connect the debugger to a PC and microcontroller when AC is present? I want to debug my code, and without the presence of AC supply, I can't sense the voltage and I'm unable to debug the problem.
Will connecting non-isolated 5V and Ground to the PC have any effect on PC? Will it give shock while connecting?