I have no knowledge of electrical or electronic circuit diagrams.
The circuit diagram above seems to turn a small light bulb on and off with a battery of 6V.
I want to turn this into a circuit that turns a 220V incandescent light bulb on and off with 220V electricity.
And I wonder if there is any problem with the operation of the PIC chip in the circuit diagram when it is changed.
Answer 2
It can be used in parallel with the 220V power circuit.
First, 6V power must be supplied to the control circuit, so make a circuit that can rectify the voltage down (you can use an adapter DC 6V) and install a 6V DC relay instead of a 6V lamp.
And you can use 220V lamp by using 6V relay contact.
The important thing here is that the relay capacity should not be large.
So, if necessary, if the capacity of the LAMP or electric furnace is large, use the relay contact again to install a large MAGNET, etc., and you can use it as you want.
Answer 1
I use a 6V relay in the place of the lamp.
Just connect a 220V light bulb to the relay contact.
Relay contact and PIC circuit are separated.
There are no problems with the operation of the PIC.
For TR protection, connect a rectifier diode (1N4004) in parallel to the relay coil.
(The direction of the diode is 6V as the cathode)