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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 10,290
» Latest member: v79innett
» Forum threads: 4,287
» Forum posts: 21,218

Full Statistics

Online Users
There are currently 155 online users.
» 0 Member(s) | 142 Guest(s)
Baidu, Bing, Google, PetalBot, Semrush, bot

Latest Threads
Which KinCony board for a...
Forum: DIY Project
Last Post: admin
Yesterday, 06:26 AM
» Replies: 3
» Views: 37
KC868-AP – max current pe...
Forum: KC868-AP / ADR
Last Post: admin
10-20-2026, 11:50 AM
» Replies: 1
» Views: 14
KC868-HAv2: TS sensor on ...
Forum: KC868-HA /HA v2
Last Post: swisstmack25
10-20-2026, 07:00 AM
» Replies: 4
» Views: 41
MT4v2 Driver Board Web To...
Forum: MT4v2
Last Post: admin
10-20-2026, 03:37 AM
» Replies: 0
» Views: 11
ARM CPU Modbus communicat...
Forum: MT4v2
Last Post: admin
10-20-2026, 03:36 AM
» Replies: 0
» Views: 15
[arduino code examples fo...
Forum: MT4v2
Last Post: admin
10-20-2026, 03:35 AM
» Replies: 0
» Views: 13
[arduino code examples fo...
Forum: MT4v2
Last Post: admin
10-20-2026, 03:33 AM
» Replies: 0
» Views: 11
[arduino code examples fo...
Forum: MT4v2
Last Post: admin
10-20-2026, 03:32 AM
» Replies: 0
» Views: 15
[arduino code examples fo...
Forum: MT4v2
Last Post: admin
10-20-2026, 03:31 AM
» Replies: 0
» Views: 13
[arduino code examples fo...
Forum: MT4v2
Last Post: admin
10-20-2026, 03:30 AM
» Replies: 0
» Views: 16

  KC868-HA RS485 button adapter firmware and PC software v1.0.4.0904 update
Posted by: admin - 09-11-2023, 02:31 AM - Forum: News - Replies (8)

improvement:

added "EdgeEvent mode" for KC868-HA. 
you can define every button’s “RisingEdge” and “FallingEdge” for “4 different actions”.
RisingEdge: press download button
FallingEdge: release button

4 different actions code:

NoDef: do nothing
EvtON: ON
EvtOFF: OFF
EvtTog: TOGGLE

   

PC software (HA485_Ctrl_V1.0.4.0904) download:

.zip   HA485_Ctrl_V1.0.4.0904.zip (Size: 911.51 KB / Downloads: 1231)

firmware BIN file (HA485_KU_V106_221102_SP230903.bin) for KC868-HA download:

.zip   HA485_KU_V106_221102_SP230903.zip (Size: 6.45 KB / Downloads: 1328)

bootload tool download
[Image: attachment.php?aid=2935]

KC868-HA protocol document download:
https://www.kincony.com/download/KC868-H...d_v106.pdf

KC868-HA online guide:
https://www.kincony.com/how-to-use-rs485...apter.html

Print this item

  ESP32 8CH relay module with manual buttons – A8S v2 released
Posted by: admin - 09-10-2023, 01:05 PM - Forum: News - No Replies

KinCony A8S v2 esp32 board based on ESP32 wifi chip, it have manual control switch buttons can turn ON/OFF relay even if system is broken. Support POE module work without power supply. It support GSM module for SMS, voice call, GPRS communication for Tuya mobile application. Use SMS or call to turn ON/OFF relay will be very easy for home automation DIY. You can write any code by Arduino IDE to ESP32 wifi/bluetooth/ethernet RS485 module. We will supply demo code for different samples. Everyone can modify and change the code for your own smart home automation system project. it support use by ESPHome for home assistant or tasmota firmware for smart home automation DIY.

[Image: A8Sv2-1_01.jpg]
[Image: A8Sv2-1_02.jpg]
[Image: A8Sv2-1_03.jpg]
[Image: A8Sv2-1_04.jpg]

Print this item

  KC868-A8S circuit diagram
Posted by: KinCony Support - 09-08-2023, 06:35 AM - Forum: KC868-A8S - No Replies

   

Print this item

  [Arduino source code for KC868-A8M]-07 Control 28BYJ-48 step motor
Posted by: KinCony Support - 09-08-2023, 12:50 AM - Forum: KC868-A8M - No Replies

Code:
#include <RCSwitch.h>
#include "PCF8574.h"

#define motor_pin_1 0   
#define motor_pin_2 1
#define motor_pin_3 2
#define motor_pin_4 3

RCSwitch mySwitch = RCSwitch();
PCF8574 pcf8574(0x24,5,4);
int Step_Dealy_Time=10;
int Turn_Step=2048;

int KEY1_BUTTON = 0;
int KEY2_BUTTON = 0;
int KEY3_BUTTON = 0;
int KEY4_BUTTON = 0;
int KEY5_BUTTON = 0;

void Read_buttonState ()
{
  /*The following data is the remote control of five key values,You can replace them with your own remote key values*/
  if(mySwitch.available()){
    Serial.printf("mySwitch.getReceivedValue = %d\n",mySwitch.getReceivedValue());
    if(mySwitch.getReceivedValue()==5756163)  { KEY1_BUTTON=1;KEY2_BUTTON=0;KEY3_BUTTON=0;KEY4_BUTTON=0;KEY5_BUTTON=0;}//Clockwise_Turn
    if(mySwitch.getReceivedValue()==5756172)  { KEY1_BUTTON=0;KEY2_BUTTON=1;KEY3_BUTTON=0;KEY4_BUTTON=0;KEY5_BUTTON=0;}//Anti_Clockwise_Turn
    if(mySwitch.getReceivedValue()==5756208)  { KEY1_BUTTON=0;KEY2_BUTTON=0;KEY3_BUTTON=1;KEY4_BUTTON=0;KEY5_BUTTON=0;}//Stop_Turn
    if(mySwitch.getReceivedValue()==5756364)  { KEY4_BUTTON=1;KEY5_BUTTON=0;}//Speed up
    if(mySwitch.getReceivedValue()==5756367)  { KEY4_BUTTON=0;KEY5_BUTTON=1;}//Speed down
}
  mySwitch.resetAvailable();
}
/************Clockwise************/
void Clockwise_Turn (int Step)
{
 
  while (Step>0)
  {
    int which_one=Step % 4;
        switch (which_one) {
         case 0:  // AB
          pcf8574.digitalWrite(motor_pin_1, HIGH);
          pcf8574.digitalWrite(motor_pin_2, HIGH);
          pcf8574.digitalWrite(motor_pin_3, LOW);
          pcf8574.digitalWrite(motor_pin_4, LOW);
        break;
        case 1:  // BC
          pcf8574.digitalWrite(motor_pin_1, LOW);
          pcf8574.digitalWrite(motor_pin_2, HIGH);
          pcf8574.digitalWrite(motor_pin_3, HIGH);
          pcf8574.digitalWrite(motor_pin_4, LOW);
        break;
        case 2:  //CD
          pcf8574.digitalWrite(motor_pin_1, LOW);
          pcf8574.digitalWrite(motor_pin_2, LOW);
          pcf8574.digitalWrite(motor_pin_3, HIGH);
          pcf8574.digitalWrite(motor_pin_4, HIGH);
        break;
        case 3:  //DA
          pcf8574.digitalWrite(motor_pin_1, HIGH);
          pcf8574.digitalWrite(motor_pin_2, LOW);
          pcf8574.digitalWrite(motor_pin_3, LOW);
          pcf8574.digitalWrite(motor_pin_4, HIGH);
        break;
    }
 
    Read_buttonState();
    Button_speed_up_down();
    if (KEY2_BUTTON == 1)
    {     
      Anti_Clockwise_Turn(Turn_Step);       
    }
    if (KEY3_BUTTON == 1)
    {
      Stop_Turn(Turn_Step);
    }
    Step--;
    delay(Step_Dealy_Time);
  }

 
}
/*******************Anti_Clockwise**********************/
void Anti_Clockwise_Turn (int Step)
{
 
  while (Step>0)
  {
    int which_one=Step % 4;
        switch (which_one) {
        case 0:  // AD
          pcf8574.digitalWrite(motor_pin_1, HIGH);
          pcf8574.digitalWrite(motor_pin_2, LOW);
          pcf8574.digitalWrite(motor_pin_3, LOW);
          pcf8574.digitalWrite(motor_pin_4, HIGH);
        break;
        case 1:  //CD
          pcf8574.digitalWrite(motor_pin_1, LOW);
          pcf8574.digitalWrite(motor_pin_2, LOW);
          pcf8574.digitalWrite(motor_pin_3, HIGH);
          pcf8574.digitalWrite(motor_pin_4, HIGH);
        break;
        case 2:  //BC
          pcf8574.digitalWrite(motor_pin_1, LOW);
          pcf8574.digitalWrite(motor_pin_2, HIGH);
          pcf8574.digitalWrite(motor_pin_3, HIGH);
          pcf8574.digitalWrite(motor_pin_4, LOW);
        break;
        case 3:  //AB
          pcf8574.digitalWrite(motor_pin_1, HIGH);
          pcf8574.digitalWrite(motor_pin_2, HIGH);
          pcf8574.digitalWrite(motor_pin_3, LOW);
          pcf8574.digitalWrite(motor_pin_4, LOW);
        break;
        }
    Read_buttonState();
    Button_speed_up_down();
    if (KEY1_BUTTON == 1)
    {
         Clockwise_Turn(Turn_Step);
    }
    if (KEY3_BUTTON == 1)
    {
      Stop_Turn(Turn_Step);
    }
    Step--; 
    delay(Step_Dealy_Time); 
  }

}
/*************Stop_Turn**********************/
void Stop_Turn (int Step)
{

    pcf8574.digitalWrite(motor_pin_1, HIGH);
    pcf8574.digitalWrite(motor_pin_2, HIGH);
    pcf8574.digitalWrite(motor_pin_3, HIGH);
    pcf8574.digitalWrite(motor_pin_4, HIGH);
       
    Read_buttonState();
    if (KEY1_BUTTON == 1)
    {       
      Clockwise_Turn(Turn_Step);
    }
    if (KEY2_BUTTON == 1)
    {
      Anti_Clockwise_Turn(Turn_Step);
    }
    delay(Step_Dealy_Time);
     
  }
/**************Speed up and down**********************/
void Button_speed_up_down()
{
  if (KEY4_BUTTON == 1)
  {
    delay(50);
    KEY4_BUTTON =0;
    Step_Dealy_Time=Step_Dealy_Time-1;

    if (Step_Dealy_Time<2)
      {
        Step_Dealy_Time=2;
      }

  }
  if (KEY5_BUTTON == 1)
  {   
    delay(50);
    KEY5_BUTTON =0;     
    Step_Dealy_Time=Step_Dealy_Time+1;
    if (Step_Dealy_Time>10)
      {
        Step_Dealy_Time=10;
      }                             
  }
}

void Button_Clockwise_or_Anti_Clockwise_Turn()
{
  if (KEY1_BUTTON == 1&KEY2_BUTTON == 0&KEY3_BUTTON == 0)
  {
      Clockwise_Turn(Turn_Step);
  }
  if (KEY1_BUTTON == 0&KEY2_BUTTON == 1&KEY3_BUTTON == 0)
  {
      Anti_Clockwise_Turn(Turn_Step);
  }
  if (KEY1_BUTTON == 0&KEY2_BUTTON == 0&KEY3_BUTTON == 1)
  {
    Stop_Turn(Turn_Step);
  }
}

void setup()
{
   Serial.begin(115200);
   mySwitch.enableReceive(digitalPinToInterrupt(16));
    pcf8574.pinMode(motor_pin_1, OUTPUT);
    pcf8574.pinMode(motor_pin_2, OUTPUT);
    pcf8574.pinMode(motor_pin_3, OUTPUT);
    pcf8574.pinMode(motor_pin_4, OUTPUT);
    pcf8574.begin();
}

void loop()
{
   Read_buttonState();
   Button_speed_up_down();
   Button_Clockwise_or_Anti_Clockwise_Turn();
   delay(30);
}

.zip   KC868-A8M_28BYJ_48.zip (Size: 1.34 KB / Downloads: 851)
   

Print this item

  how to config tasmota for AG Pro controller using ZHA in home assistant
Posted by: admin - 09-08-2023, 12:28 AM - Forum: KC868-AG / AG Pro / AG8 / Z1 - Replies (7)

you can download newest (tasmota32-zbbrdgpro.bin) firmware from tasmota official webpage:
http://ota.tasmota.com/tasmota32/release/

ESP flasher for ESP32, ESP32-C3, ESP32-S2, ESP32-S3 and ESP8266 (Tasmota) download: 
https://github.com/Jason2866/ESP_Flasher/releases

set TCP rx and TCP tx pin for ESP32
   

   
1. run TCP start command:  TCPStart 6688
you can also use other port number, 6688 just for example.

2. create a rule when system reboot will auto start TCP command: Rule1 ON System#Boot do TCPStart 6688 endon

3. enable Rule1 command: Rule1 1
   

   
   
   
   
   
   
   
   

Print this item

  Available space is less than 1GB
Posted by: Almhlws - 09-07-2023, 08:15 PM - Forum: KC868-Server Raspberry Pi4 local server - Replies (10)

Available space is less than 1GB
how can i increase memory on LOCAL SERVER (RASPBERRY PI) – KC868-SERVER
can i used SD CARD ?

Print this item

  Questions regarding KC868-A8
Posted by: SJones - 09-07-2023, 11:07 AM - Forum: KC868-A series and Uair Smart Controller - Replies (9)

Hi, being new to relay boards I have a few questions I need cleared up.

1. I am running a fully 12V lithium battery system with an inverter for 240v devices. Can I mix and match relay output voltages (12v and 240v)? See image.

[Image: Kincony.png]

2. I watched this video https://www.youtube.com/watch?v=xptAHlOLV-w. In the comments you stated the A4 board can only run one digital led strip. Can this A8 run two digital strips, one from S3 and another from S4?

3. If I buy two of these, can they run independantly (different yaml files), or do I have to connect them to avoid conflicts?

4. I have limited space to install this. What are the dimensions of this board with the case attached,

5. Can I buy the case on its own rather than in the bundle offered?

6. You have probably listed it elsewhere, but can you give me some examples of what can go in the analogue inputs.

Thanks.

Print this item

  The network not working
Posted by: Almhlws - 09-07-2023, 06:12 AM - Forum: KC868-A128 - Replies (3)

Hi 

I have  KC868-A128 REV 1.5 

I contacted to 12 v the light for power working but the network light not give me any light 
even when I connected to home assistant using ESP HOME  ( No serial devices found  ) by USB     

Print this item

  how to connect extend IR cable by AG Pro
Posted by: admin - 09-07-2023, 02:16 AM - Forum: KC868-AG / AG Pro / AG8 / Z1 - No Replies

you can extender IR cable for AG Pro to control IR device. default hardware setting is send IR signal by Tuya APP.
   
   
   
   
   
   
   
   
   
   
   
   

Print this item

  New Project Enquiry
Posted by: dharma - 09-06-2023, 04:11 PM - Forum: Customer project example - Replies (11)

Dear Sirs

I am planning home automation for my new flat and have the following query.

I already have a very powerful system running Home Assistant on it with Zigbee, google assistant and alexa installed.

1.  Can I just buy any of your KC868 boards such as H32B Pro, A128, KC 868 AI or E16S and attach it to my computer and it would work?

2.  Are these boards modular in design?  Meaning, say I buy 1 board now and in future, I need to attach extra DI, AI and/or RO, can I attach 1 or more boards and still operate them in the one single system?

3.  Also, how will the system function if any of the boards fail?  How to make sure we have some manual control in case of failure of the components in the boards?


Thanks a lot
Dharmesh

Print this item