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



KC868-A16S ESP32 I/O pin define - admin - 04-14-2023

ANALOG_A1  GPIO36
ANALOG_A2  GPIO34
ANALOG_A3  GPIO35
ANALOG_A4  GPIO39

IIC SDA:GPIO4
IIC SCL:GPIO5

1-wire GPIO: GPIO14

PCF8574:U27 (relay1-8): 100 100 = 0x24
PCF8574:U28 (relay9-16): 100 101 = 0x25

PCF8574:U23 (DI1-8): 100 010 = 0x22
PCF8574:U24 (DI9-16): 100 011 = 0x23

RF433MHz wireless receiver: GPIO16

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:GPIO32
TXD:GPIO33

GSM:
RXD:GPIO15
TXD:GPIO13


RE: KC868-A16S ESP32 I/O pin define - KIMWOONYONG - 08-28-2023

How about the code for Aduino IDE?
I'm trying to program and use the functions I need.
What should I do to save all the original functions and write and run the additional code I want?


RE: KC868-A16S ESP32 I/O pin define - admin - 08-28-2023

all arduino sample code for KC868-A16S at here: https://www.kincony.com/forum/forumdisplay.php?fid=47
what do you want to do? what function?