This is my degree final project, I am building a remotely controlled oven using an ESP32 wifi connection. The pid control part and the app for sending and recieving information is done and working. But im heaving trouble switching the resistance with the PWM signal.
First I was told to use this circuit for the triac switching:

(Carga means LOAD in portuguese)
But it doesnt worked, so I started searching and around the forums and there is a lot of conflicting information about this subject, some say a i need to use a zero-detecting circuit, some say I dont, some say this is not useful and I can use a SSR.
I want to know what it would be the easiest way to implement this PID control with areasonable precision.
Thanks
First I was told to use this circuit for the triac switching:

(Carga means LOAD in portuguese)
But it doesnt worked, so I started searching and around the forums and there is a lot of conflicting information about this subject, some say a i need to use a zero-detecting circuit, some say I dont, some say this is not useful and I can use a SSR.
I want to know what it would be the easiest way to implement this PID control with areasonable precision.
Thanks