I have a KC868 A4 board and for some reason the relay 02 stopped working, in some measurements I verified that there is no voltage coming out of the esp32 (output burned) do you have any reserve IO ratio?
this is KC868-A4's pin define, i think you can use DS18B20 GPIO13 for relay.
#define DAC1 25
#define DAC2 26
#define ANALOG_A3 32
#define ANALOG_A4 33
#define ANALOG_A1 34
#define ANALOG_A2 35
const int Relay1 = 2;
const int Relay2 = 15;
const int Relay3 = 5;
const int Relay4 = 4;
const int DI1 = 36;
const int DI2 = 39;
const int DI3 = 27;
const int DI4 = 14;
const int BEEP = 18;
DS18B20 ds(13);
I input looking at the drawing and the same is used for "Date TEMP"? only have this IO reserve?
DAT_TEMP can use for DS18B20 or DHT11/DHT22 temperature sensor, you can also use for relay, just this pin will have a pull-up resistance, if you don't want it, you can solder and remove it.