i need to convert 220v signal to 5v or 3.3 v signal if push button pressed..
i tried the following circuts:
1)using neon lamp and ldr:
**this circuit works fine and do what i need but if push button has indication lamp across it it doesn't work as neon lamp alwyas on.
so i decide to go through second circuit.
2-)using 220v coil relay :
this circuit also works fine but as in circuit 1 ih i used push button has indication neon lamp across it the relay stay always on.
so i decide to go to 3rd circuit
this circuit not tested because i dont know the type and rated power of R2 and type of C1.
my question if i use this circuit i will face the same problem as in circuits 2 & 2 ?
if yes how can i solve this problem.