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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,310
» Latest member: biofrankpharma
» Forum threads: 3,629
» Forum posts: 18,736

Full Statistics

Online Users
There are currently 38 online users.
» 0 Member(s) | 25 Guest(s)
AhrefsBot, Amazonbot, Applebot, Bing, Google, PetalBot, bot

Latest Threads
KC868-M16v2 configure yam...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
Yesterday, 12:24 PM
» Replies: 120
» Views: 25,189
Replacing ESP32 with Kinc...
Forum: KC868-A16
Last Post: admin
12-24-2025, 11:43 PM
» Replies: 1
» Views: 14
N30 Energy entry not work...
Forum: N30
Last Post: admin
12-24-2025, 11:43 PM
» Replies: 11
» Views: 80
KC868-Server ESP32 Ethern...
Forum: KC868-Server Raspberry Pi4 local server
Last Post: admin
12-24-2025, 11:41 PM
» Replies: 7
» Views: 68
Single Moment switch
Forum: DIY Project
Last Post: admin
12-24-2025, 11:37 PM
» Replies: 1
» Views: 16
Help with Product Slectio...
Forum: Suggestions and feedback on KinCony's products
Last Post: admin
12-24-2025, 12:06 AM
» Replies: 5
» Views: 61
Loxone RS485
Forum: KinCony integrate with Loxone home automation
Last Post: admin
12-24-2025, 12:03 AM
» Replies: 9
» Views: 1,121
adaptor V2 and KC868 h32b...
Forum: KC868-ATC / Tuya adapter V2
Last Post: admin
12-23-2025, 01:19 AM
» Replies: 1
» Views: 23
KC868-A6 - how to connect...
Forum: KC868-A6
Last Post: admin
12-23-2025, 01:18 AM
» Replies: 1
» Views: 18
easy way to export/import...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
12-23-2025, 01:09 AM
» Replies: 7
» Views: 5,646

  Which Board?
Posted by: Mohd Faudzee Hamid - 03-21-2023, 08:53 AM - Forum: DIY Project - Replies (1)

Iam a newbie, I want to ask, if we want to start learning Kincony's system, a basic one, just to control ON and OFF about 8
lamps and 5 Aircon all in one room by using wifi (smart phone), which board from Kincony that you suggest?
Thanks

Print this item

  AJUDA PARA CRIAR UM SKETICK IDE PARA AUTOMAÇÃO
Posted by: claudio - 03-21-2023, 03:53 AM - Forum: DIY Project - Replies (13)

OLA PRECISO DE UM SKETICK PARA TRABALHAR COM 2 PLACA 
vocêMA A A4 EA OUTA A A8 SENDO QUE A A4 ENVIA SINAL PARA A PACA A8 VIA REDE 
OPROJETO E LER OS STATUS DOS SENSORES E COSSESPONDER NA OUTRA PLACA RECEBENDO OS STATUS FISICAMENTE E ONDE EU POSSA ABRIR A PAGINA PARA MONITORAR 


SRIA MAIS OU MENOS ASSIM 

onst int Sensor_1 = 2 ; // nivel em 100%
const int Sensor_2 = 3 ; // nivel em 50%
const int Sensor_3 = 4 ; // nivel em 15%
const int ledPin_Sensor_1 = 8 ; // led sem pino 8
const int ledPin_Sensor_2 = 9 ; // led sem pino 9
const int ledPin_Sensor_3 = 10 ; // led no pino 10
int estadoSensor_1; // variável para ler o status do Sensor_1
intestadoSensor_2; // variável para ler o status do Sensor_2
int estadoSensor_3; // variável para ler o status do Sensor_3
void setup () {
  pinMode (Sensor_1, INPUT); // Pino com sensor será entrada
  pinMode (Sensor_2, INPUT); // Pino com sensor será entrada
  pinMode (Sensor_3, INPUT); // Pino com sensor será entrada  
         
  pinMode (ledPin_Sensor_1, OUTPUT); // Pino do led será saída
  pinMode (ledPin_Sensor_2, OUTPUT); // Pino do led será saída
  pinMode (ledPin_Sensor_3, OUTPUT); // O pino do led será saída        
}
 
void loop () {
 Serial . começar ( 9600 );  
  estadoSensor_1 = digitalRead (Sensor_1); // le o estado do Sensor_1 - HIGH OU LOW
  if (estadoSensor_1 == LOW) { // Se o sensor estiver procurando (LOW)
    digitalWrite (ledPin_Sensor_1, HIGH); // acende o led do pino 8.
  } else { // se não estiver invocado (HIGH)
    digitalWrite (ledPin_Sensor_1, LOW); // deixa o led do pino 8 apagado
  }
  estadoSensor_2 = digitalRead (Sensor_2);// le o estado do Sensor_2 - HIGH OU LOW
  if (estadoSensor_2 == LOW) { // Se o sensor estiver ocupado (LOW)
    digitalWrite (ledPin_Sensor_2, HIGH); // acende o led do pino 9.
  } else { // se não estiver invocado (HIGH)
    digitalWrite (ledPin_Sensor_2, LOW); // deixa o led do pino 9 apagado
  }
  estadoSensor_3 = digitalRead (Sensor_3); // le o estado do Sensor_3 - HIGH OU LOW
  if (estadoSensor_3 == LOW) { // Se o sensor estiver procurando (LOW)
    digitalWrite (ledPin_Sensor_3, HIGH); // acende o led do pino 10.
  }else { // se não estiver (HIGH)
    digitalWrite (ledPin_Sensor_3, LOW); // deixa o led do pino 10 desligado
  }  
}
O DESSA FORMA 

PARA A PLACA KC686 A4 ESSE CODIGO JA RODA POREM SEM AS CONFIGURACOES DE ACESSO E ACRESCENTAR O QUE FOR NECESSÁRIO PARA A PLACA KC686 A8 RECEBER OS SINAAIS E ATUAL COMO SE FOSSE NELA 


const int PIN_SENSOR_1 = 36;
const int PIN_SENSOR_2 = 39;
const int PIN_SENSOR_3 = 27;
const int PIN_RELAY_1 = 2;
const int PIN_RELAY_2 = 15;
const int PIN_RELAY_3 = 5;
const int PIN_RELAY_4 = 4;
const int PIN_BUZZER = 18;
const int BOTAO_4 = 14;

bool sensor_1_status = falso;
bool sensor_2_status = falso;
bool sensor_3_status = falso;

void setup() {
  Serial.begin(115200);
  pinMode(PIN_SENSOR_1, INPUT);
  pinMode(PIN_SENSOR_2, INPUT);
  pinMode(PIN_SENSOR_3, INPUT);
  pinMode(PIN_RELAY_1, OUTPUT);
  pinMode(PIN_RELAY_2, OUTPUT);
  pinMode(PIN_RELAY_3, OUTPUT);
  pinMode(PIN_RELAY_4, OUTPUT);
  pinMode(PIN_BUZZER, OUTPUT);
  pinMode(BOTAO_4, INPUT_PULLUP);
}

loop void() {
  // leitura dos sensores
  sensor_1_status = digitalRead(PIN_SENSOR_1);
  sensor_2_status = digitalRead(PIN_SENSOR_2);
  sensor_3_status = digitalRead(PIN_SENSOR_3);
 
  // controle do relay 4 pelo botão 4
  if (digitalRead(BOTAO_4) == BAIXO) {
    Serial.println("Botão 4 sofrido. Relé 4 ligado.");
      digitalWrite(PIN_RELAY_4, ALTO);
  } outro {
    Serial.println("Botão 4 não intoxicado. Relé 4 desligado.");
    digitalWrite(PIN_RELAY_4, BAIXO);
     
  }
 
  // monitoramento dos níveis
  if (sensor_1_status == BAIXO) {
    Serial.println("Reservatório cheio com 100% de água!");
    digitalWrite(PIN_RELAY_1, ALTO);
  } outro {
    Serial.println("Reservatório não está cheio.");
    digitalWrite(PIN_RELAY_1, BAIXO);
  }

  if (sensor_2_status == BAIXO) {
    Serial.println("Reservatório com mais 50% de água.");
    digitalWrite(PIN_RELAY_2, ALTO);
  } outro {
    Serial.println("Reservatório não está com 50% de água.");
    digitalWrite(PIN_RELAY_2, BAIXO);
  }
 
  if (sensor_3_status == BAIXO) {
    Serial.println("Reservatório com mais de 15% de água.");
    digitalWrite(PIN_RELAY_3, ALTO);
    digitalWrite(PIN_BUZZER, BAIXO);
  } outro {
    Serial.println("Reservatório com menos de 15% de água.");
    digitalWrite(PIN_RELAY_3, BAIXO);
    digitalWrite(PIN_BUZZER, ALTO);
  }
  atraso(5000); // aguarde 5 segundos antes de fazer a próxima leitura


}

Print this item

  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: 992)

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: 502)

Print this item