Smart Home Automation Forum
KC868-A16 ESP32 I/O pin define - 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-A16 (https://www.kincony.com/forum/forumdisplay.php?fid=25)
+--- Thread: KC868-A16 ESP32 I/O pin define (/showthread.php?tid=1666)



KC868-A16 ESP32 I/O pin define - admin - 01-14-2022

#define ANALOG_A1  36
#define ANALOG_A2  34
#define ANALOG_A3  35
#define ANALOG_A4  39

IIC SDA:4
IIC SCL:5

Relay_IIC_address 0x24
Relay_IIC_address 0x25

Input_IIC_address 0x21
Input_IIC_address 0x22

DS18B20/DHT11/DHT21/LED strip -1: 32
DS18B20/DHT11/DHT21/LED strip -2: 33
DS18B20/DHT11/DHT21/LED strip -2: 14


RF433MHz wireless receiver: 2
RF433MHz wireless sender: 15

Ethernet (LAN8720) I/O define:

#define ETH_ADDR        0
#define ETH_POWER_PIN  -1
#define ETH_MDC_PIN    23
#define ETH_MDIO_PIN  18
#define ETH_TYPE      ETH_PHY_LAN8720
#define ETH_CLK_MODE  ETH_CLOCK_GPIO17_OUT

RS485:
RXD:16
TXD:13


RE: KC868-A16 ESP32 I/O pin define - Olsen@HuaHin - 03-12-2023

(01-14-2022, 11:29 PM)admin Wrote: #define ANALOG_A1  36
#define ANALOG_A2  34
#define ANALOG_A3  35
#define ANALOG_A4  39

IIC SDA:4
IIC SCL:5

Relay_IIC_address 0x24
Relay_IIC_address 0x25

Input_IIC_address 0x21
Input_IIC_address 0x22

DS18B20/DHT11/DHT21/LED strip -1: 32
DS18B20/DHT11/DHT21/LED strip -2: 33
DS18B20/DHT11/DHT21/LED strip -2: 14


RF433MHz wireless receiver: 2
RF433MHz wireless sender: 15

Ethernet (LAN8720) I/O define:

#define ETH_ADDR        0
#define ETH_POWER_PIN  -1
#define ETH_MDC_PIN    23
#define ETH_MDIO_PIN  18
#define ETH_TYPE      ETH_PHY_LAN8720
#define ETH_CLK_MODE  ETH_CLOCK_GPIO17_OUT

RS485:
RXD:16
TXD:13

Hi, I am new to Kincony and the Arduino IDE. Working on a Standalone smart home control with KBOX Smart

So, this is the complete I/O pin configuration I need to use in my Arduino Sketch to be able to run?

Do you have a diagram showing the above I/O's?


RE: KC868-A16 ESP32 I/O pin define - admin - 03-12-2023

if you want to use KBOX phone app, you can download "KCS" firmware, so that can directly to use.
we have video tour about "KCS", you can see it on our YouTube channel.


RE: KC868-A16 ESP32 I/O pin define - Olsen@HuaHin - 03-12-2023

Thanks for the reply, will check out the mentioned video.

What about my question regarding the I/O diagram and configuration?


RE: KC868-A16 ESP32 I/O pin define - admin - 03-13-2023

"KCS" video tour: https://youtu.be/gJTUb1SGnII
diagram for KC868-A16: https://www.kincony.com/download/KC868-A16-schematic.pdf


RE: KC868-A16 ESP32 I/O pin define - zashiv - 05-15-2023

Is it possible to get PWM signal from GPIOs marked as HT1, HT2 and HT3 to connect it to my dimmer? If so, what would be esphome configuration?


RE: KC868-A16 ESP32 I/O pin define - admin - 05-16-2023

no, some specific pins can use for PWM, not any ESP32 pins. you need to check with ESP32 datasheet.