Smart Home Automation Forum
KC868-A4 ESP32 I/O pin define in Arduino IDE - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20)
+--- Forum: KC868-A4 (https://www.kincony.com/forum/forumdisplay.php?fid=21)
+--- Thread: KC868-A4 ESP32 I/O pin define in Arduino IDE (/showthread.php?tid=282)



KC868-A4 ESP32 I/O pin define in Arduino IDE - admin - 05-31-2021

#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);


RE: KC868-A4 ESP32 I/O pin define in Arduino IDE - Ali Hamza - 09-26-2023

(05-31-2021, 01:29 AM)admin Wrote: #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);

Hy
Can you tell me which four (4) esp32 pins are in used for controlling the 4 relay on A4 board...?


RE: KC868-A4 ESP32 I/O pin define in Arduino IDE - admin - 09-26-2023

it already showed Relay1-4. They are GPIO2,GPIO15,GPIO5,GPIO4