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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 6,396
» Latest member: premstore
» Forum threads: 2,850
» Forum posts: 15,084

Full Statistics

Online Users
There are currently 217 online users.
» 1 Member(s) | 198 Guest(s)
AhrefsBot, Amazonbot, Bing, Bytespider, Crawl, Google, PetalBot, Yandex, bot, courseworkhelper

Latest Threads
Additional GPIO
Forum: KC868-A4S
Last Post: Amaral989
5 hours ago
» Replies: 0
» Views: 2
Setup K868-a32 and k868-a...
Forum: DIY Project
Last Post: admin
9 hours ago
» Replies: 7
» Views: 44
KC868-A16 with IDE 2.3.4
Forum: KC868-A16
Last Post: admin
9 hours ago
» Replies: 4
» Views: 45
Display
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
9 hours ago
» Replies: 1
» Views: 8
RTC stop working with bu...
Forum: KC868-A6
Last Post: admin
Yesterday, 08:31 AM
» Replies: 15
» Views: 5,053
Hibrid project
Forum: KC868-Server Raspberry Pi4 local server
Last Post: Psyos
Yesterday, 12:32 AM
» Replies: 2
» Views: 14
Double press/ Long press ...
Forum: KC868-AI
Last Post: admin
03-09-2025, 11:34 PM
» Replies: 7
» Views: 428
Trigger Outputs
Forum: KC868-HxB series Smart Controller
Last Post: admin
03-09-2025, 11:29 PM
» Replies: 5
» Views: 47
Using 12v on Digital Inpu...
Forum: KC868-A16
Last Post: admin
03-09-2025, 01:31 PM
» Replies: 17
» Views: 397
Input problem 868 A6
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
03-09-2025, 01:29 PM
» Replies: 3
» Views: 18

  KC868-E8T Circuit diagram
Posted by: KinCony Support - 09-13-2023, 07:42 AM - Forum: KC868-E8T - No Replies

   

Print this item

  KC868-A16
Posted by: Roni - 09-12-2023, 08:33 AM - Forum: KC868-A16 - Replies (12)

Hi
Can you send me example arduino source code ethernet code for KC868-A16?

Thanks

Print this item

  Difference between E16v2 & E16s
Posted by: dharma - 09-11-2023, 01:51 PM - Forum: KC868-E16S/E16P - Replies (1)

I know that E16 doesn't have NC connections and also the buttons are plastic, where as E16 v2 has both NO and NC connections and with metal buttons.  But, what are all the differences between E16 v2 and E16S?

TIA.

Print this item

  MOSFET vs COM output
Posted by: dharma - 09-11-2023, 09:48 AM - Forum: KC868-A32/A32 Pro - Replies (1)

This A32 board is listed as Relay, where as A128 is MOSFET, H32B Pro is COM AND KC868-Server is MOSFET PNP.  What are these various output types and how to know which one is the right one to buy?

Print this item

  KC868-H16B EspHome example code
Posted by: pier - 09-11-2023, 09:41 AM - Forum: KC868-HxB series Smart Controller - Replies (1)

HI,
it is possible to have an example code to flash EspHome for the KC868-H16B board, with the main components already integrated: ethnernet, wifi, etc. etc.
Thank you

Print this item

  "KCS" v2.1.4 firmware BIN file download
Posted by: admin - 09-11-2023, 02:45 AM - Forum: "KCS" v2 firmware system - No Replies

Here is "KCS" firmware for KinCony KC868-A series (ESP32) board.
How to download and use, online guide: https://www.kincony.com/esp32-kcsv2-firmware.html

v2.1.4 improment:
support new KC868-HA protocol. A64,A128,AIO will supported by KC868-HA fully.

   
   

added "EdgeEvent mode" for KC868-HA. 
you can define every old switch panel 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



Attached Files
.zip   KCS_KC868_A16S_V2.1.4.zip (Size: 797.47 KB / Downloads: 404)
.zip   KCS_KC868_A32_V2.1.4.zip (Size: 780.68 KB / Downloads: 196)
.zip   KCS_KC868_A32M_V2.1.4.zip (Size: 799.14 KB / Downloads: 194)
.zip   KCS_KC868_A64_V2.1.4.zip (Size: 780.76 KB / Downloads: 195)
.zip   KCS_KC868_A128_V2.1.4.zip (Size: 780.63 KB / Downloads: 187)
.zip   KCS_KC868_AG_V2.1.4.zip (Size: 759.71 KB / Downloads: 200)
.zip   KCS_KC868_AI_V2.1.4.zip (Size: 783.3 KB / Downloads: 195)
.zip   KCS_KC868_AIO_V2.1.4.zip (Size: 796.78 KB / Downloads: 389)
.zip   KCS_KC868_AK_V2.1.4.zip (Size: 762.04 KB / Downloads: 188)
.zip   KCS_KC868_AM_V2.1.4.zip (Size: 772.82 KB / Downloads: 186)
.zip   KCS_KC868_AP_V2.1.4.zip (Size: 778.87 KB / Downloads: 190)
.zip   KCS_KC868_ASR_V2.1.4.zip (Size: 750.66 KB / Downloads: 188)
.zip   KCS_KC868_E16S_V2.1.4.zip (Size: 783.25 KB / Downloads: 194)
.zip   KCS_KC868_UAIR_V2.1.4.zip (Size: 762.72 KB / Downloads: 197)
.zip   KCS_KC868_A2_V2.1.4.zip (Size: 785.48 KB / Downloads: 188)
.zip   KCS_KC868_A4_V2.1.4.zip (Size: 776.25 KB / Downloads: 209)
.zip   KCS_KC868_A4S_V2.1.4.zip (Size: 796.43 KB / Downloads: 193)
.zip   KCS_KC868_A6_V2.1.4.zip (Size: 771.62 KB / Downloads: 195)
.zip   KCS_KC868_A8_V2.1.4.zip (Size: 779.66 KB / Downloads: 362)
.zip   KCS_KC868_A8M_V2.1.4.zip (Size: 795.95 KB / Downloads: 200)
.zip   KCS_KC868_A8S_V2.1.4.zip (Size: 797.42 KB / Downloads: 273)
.zip   KCS_KC868_A16_V2.1.4.zip (Size: 786.73 KB / Downloads: 201)
Print this item

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

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

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

Print this item