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



KC868-E8T ESP32 and Tuya I/O pin define - admin - 10-23-2022

IIC SDA:4
IIC SCL:5

Relay_IIC_address 0x24

Input_IIC_address 0x22

OLED address: 0x78

DS3231 RTC address: 0x68

DS18B20/DHT11/DHT21/LED strip : 14

RF433MHz wireless RXD: 32

4G module RXD: 35
4G module TXD: 15

TUYA module RXD: 16
TUYA module TXD: 13

RS485 RXD: 34
RS485 TXD: 2

energy meter 1-2 channel RXD: 39
energy meter 1-2 channel TXD: 12

energy meter 3-4 channel RXD: 36
energy meter 3-4 channel TXD: 33

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


RE: KC868-E8T ESP32 and Tuya I/O pin define - vincen - 02-16-2023

How do you flash the ESP ? I connected on the USB port and tried by holding down either S1 or S2 while powering on and trying to initiate flash but not working and same if holding both buttons !! Any suqqestions ?

Thanks

Vincèn


RE: KC868-E8T ESP32 and Tuya I/O pin define - admin - 02-16-2023

what you want to do? download your arduino code? download ESPHome ? or tasmota? need details.


RE: KC868-E8T ESP32 and Tuya I/O pin define - vincen - 02-16-2023

(02-16-2023, 11:27 AM)admin Wrote: what you want to do? download your arduino code? download ESPHome ? or tasmota? need details.

Upload ESPHome firmware, I have already prepared the sketch but unable to upload, ESP32 doesn't go into flash mode Sad


RE: KC868-E8T ESP32 and Tuya I/O pin define - admin - 02-16-2023

do you have home assistant?


RE: KC868-E8T ESP32 and Tuya I/O pin define - vincen - 02-16-2023

(02-16-2023, 11:54 AM)admin Wrote: do you have home assistant?

Please stop asking basic quesitons, I flash ESP since years so I'm well aware how it works !! What are specificities of that board to flash the ESP ? Do I need to maintain a button somewhere or do a short circuit to get ESP into Flash mode ?


RE: KC868-E8T ESP32 and Tuya I/O pin define - admin - 02-16-2023

i know details so can help you, understand? our board never use any button for download, already have auto download circuit.
how to download for ESP32 also is a basic question, see here: https://www.kincony.com/esp-module-flash-download-tools.html


RE: KC868-E8T ESP32 and Tuya I/O pin define - vincen - 02-16-2023

(02-16-2023, 12:07 PM)admin Wrote:  our board never use any button for download, already have auto download circuit.
Thanks that's all I needed  Smile


RE: KC868-E8T ESP32 and Tuya I/O pin define - admin - 02-16-2023

ok