Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,381
» Latest member: jeffmiller
» Forum threads: 4,128
» Forum posts: 20,653

Full Statistics

Online Users
There are currently 6 online users.
» 0 Member(s) | 3 Guest(s)
bot

Latest Threads
Request for Type A Projec...
Forum: Apply for free sample product
Last Post: kyutimong
Today, 04:19 AM
» Replies: 0
» Views: 4
Loxone RS485
Forum: KinCony integrate with Loxone home automation
Last Post: admin
07-11-2026, 12:16 PM
» Replies: 16
» Views: 3,246
KinCony MT4 – 4CH ESP32 D...
Forum: News
Last Post: admin
07-11-2026, 03:01 AM
» Replies: 0
» Views: 28
[arduino code examples fo...
Forum: MT4
Last Post: admin
07-11-2026, 02:21 AM
» Replies: 0
» Views: 11
[arduino code examples fo...
Forum: MT4
Last Post: admin
07-11-2026, 02:19 AM
» Replies: 0
» Views: 15
[arduino code examples fo...
Forum: MT4
Last Post: admin
07-11-2026, 02:18 AM
» Replies: 0
» Views: 12
[arduino code examples fo...
Forum: MT4
Last Post: admin
07-11-2026, 02:16 AM
» Replies: 0
» Views: 20
[arduino code examples fo...
Forum: MT4
Last Post: admin
07-11-2026, 02:15 AM
» Replies: 0
» Views: 15
[arduino code examples fo...
Forum: MT4
Last Post: admin
07-11-2026, 02:13 AM
» Replies: 0
» Views: 8
MT4 ESPHome yaml for home...
Forum: MT4
Last Post: admin
07-11-2026, 02:10 AM
» Replies: 0
» Views: 15

  Fatal error while uploading sketch to A16
Posted by: tanoshimi - 03-20-2023, 03:12 PM - Forum: KC868-A16 - Replies (6)

Hi,  I recently bought a KC868-A16 board but am unable to use it, since I receive a fatal error when attempting to upload any new sketches onto it Sad

I'm using the Arduino IDE v2.0.4, targetting the "NodeMCU-32s" board from the esp32 boards definitions (v2.0.7). This is the error I receive when attempting to upload any sketch:

Code:
Sketch uses 292297 bytes (22%) of program storage space. Maximum is 1310720 bytes.
Global variables use 25300 bytes (7%) of dynamic memory, leaving 302380 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port COM7
Connecting....
Chip is ESP32-D0WD-V3 (revision v3.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 90:38:0c:a4:38:94
Uploading stub...
Running stub...
Stub running...
WARNING: Failed to communicate with the flash chip, read/write operations will fail. Try checking the chip connections or removing any other hardware connected to IOs.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x00057fff...
Compressed 17520 bytes to 12170...
Writing at 0x00001000... (100 %)

A fatal error occurred: Serial data stream stopped: Possible serial noise or corruption.
Failed uploading: uploading error: exit status 2


There is not other hardware connected to the board. I am using the power supply and USB-C cable that it was supplied with (although I have also tried swapping these for other ones, and also tried different USB ports on my laptop).
As suggested elsewhere, I have tried reducing the upload speed from the default 921600 to 115200, but that made no difference.
The board itself seemed well-packed and doesn't show any obvious signs of damage, but I'm wondering if the chip is faulty, since the error appears to suggest a problem with the flash memory?

Hopefully you can advise! Thanks,

Alastair

Print this item

  KC868-H32B Pro work with KC868-COLB-Mini + KC868-AK
Posted by: admin - 03-20-2023, 05:53 AM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - No Replies

   

Print this item

  KC868-A256 ESP32 GPIO Module Released!
Posted by: admin - 03-19-2023, 10:53 AM - Forum: News - No Replies

we have design this ESP32 GPIO board (KC868-A256) for home assistant. It use by ESP32-WROOM-32E, 256CH digial input ports + 256CH MOSFET output ports + 4CH analog input ports + RS485 + Ethernet. The output design by 74HC595 chip. The input design by 74HC165 chip. You can write your own arduino source code for home automation DIY. You can also integrate to home assistant by ESPHome.
[Image: KC868-A256-1_01.jpg]
[Image: KC868-A256-1_02.jpg]
[Image: KC868-A256-1_03.jpg]

Print this item

  KC868-AM ESP32 IO Expansion Board released
Posted by: admin - 03-18-2023, 02:31 AM - Forum: News - No Replies

We have designed ESP32 IO Expansion (development) Board — KC868-AM (Mini) . it’s ESP32 module + many free GPIOs for home automation DIYer to use. 4 GPIOs in greent terminal already added pull up resistance, so that you can conveniently connect with 1-wire sensor device. some others input GPIOs on the PCB center for user. Support add to home assistant by ESPHome.
[Image: KC868-AM-1_small.jpg]

Print this item

  KCS Question.
Posted by: Philadam - 03-17-2023, 04:12 AM - Forum: "KCS" v2 firmware system - Replies (7)

Two questions:

1) Is it possible to have an ADC sensor trigger an Input on an A16 with KCS?
2) Will a KC868-HA work with the A16 over RS485?

Print this item

  KC868-A256 configure yaml for ESPhome
Posted by: admin - 03-16-2023, 05:46 AM - Forum: KC868-A256 - No Replies

   

.txt   HA_A256.txt (Size: 74.43 KB / Downloads: 1196)

Print this item

  KC868-A256 ESP32 I/O pin define
Posted by: admin - 03-16-2023, 05:42 AM - Forum: KC868-A256 - Replies (2)

#define ANALOG_A1  GPIO36
#define ANALOG_A2  GPIO39
#define ANALOG_A3  GPIO34
#define ANALOG_A4  GPIO35

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:GPIO13
TXD:GPIO14

74HC595 for output:
Data: GPIO5
Clock:GPIO16
Latch:GPIO4

74HC165 for input:

Data: GPIO15
Clock: GPIO32
LD(load_pin): GPIO33

Print this item

  KC868-AM configure yaml for ESPhome
Posted by: admin - 03-16-2023, 05:39 AM - Forum: KC868-AM - Replies (2)

   

esphome:
  name: am

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Example configuration entry
ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO17_OUT
  phy_addr: 0


switch:
  - platform: gpio
    name: "am-light1"
    pin: 15
    inverted: False


.txt   ESPHome_KC868-AM.txt (Size: 340 bytes / Downloads: 663)

Print this item

  KC868-AM ESP32 I/O pin define
Posted by: admin - 03-16-2023, 05:38 AM - Forum: KC868-AM - No Replies

Relay1:15

1-wire GPIO for DS18B20/DHT11/DHT21/LED strip -1: 5
1-wire GPIO for DS18B20/DHT11/DHT21/LED strip -2: 14
1-wire GPIO for DS18B20/DHT11/DHT21/LED strip -3: 13
1-wire GPIO for DS18B20/DHT11/DHT21/LED strip -4: 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

RS485:
RXD:35
TXD:32

IIC BUS:
SDA:4
SCL:16

free GPIOs on PCB hole:
I36
I37
I38
I39
I34

Print this item

  KC868-A2 configure yaml for ESPhome
Posted by: admin - 03-16-2023, 05:32 AM - Forum: KC868-A2 - Replies (21)

KC868-A2 configure yaml for ESPhome by Ethernet or WiFi.
   

.txt   ESPHome_KC868-A2-ethernet.txt (Size: 732 bytes / Downloads: 1367)

.txt   ESPHome_KC868-A2-wifi.txt (Size: 875 bytes / Downloads: 1059)

Print this item