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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,503
» Latest member: sabrinahaven
» Forum threads: 2,287
» Forum posts: 11,894

Full Statistics

Online Users
There are currently 49 online users.
» 5 Member(s) | 28 Guest(s)
Bytespider, Google, PetalBot, Semrush, Yandex, bot, admin, csacomani, engrezk, luis15pt

Latest Threads
PWM support?
Forum: KC868-A16
Last Post: admin
1 hour ago
» Replies: 5
» Views: 26
KC868 A32 Firmware 2.2.4 ...
Forum: KC868-A32/A32 Pro
Last Post: iozzi_giorgio
4 hours ago
» Replies: 2
» Views: 27
[arduino code examples fo...
Forum: KC868-A32/A32 Pro
Last Post: admin
8 hours ago
» Replies: 0
» Views: 3
USB ports
Forum: KinCony Server-Mini / Server-16 Raspberry Pi4 relay module
Last Post: BaconRanch
10 hours ago
» Replies: 2
» Views: 6
Lesson23- How to connect ...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Yesterday, 10:11 AM
» Replies: 10
» Views: 7,156
KC868-AG RF - sending rep...
Forum: KC868-A series and Uair Smart Controller
Last Post: PhilW
Yesterday, 07:46 AM
» Replies: 3
» Views: 9
Usar entradas y oled i2c ...
Forum: KC868-A6
Last Post: sistemasyusa
Yesterday, 03:16 AM
» Replies: 4
» Views: 17
a16 as basis for a securi...
Forum: KC868-A16
Last Post: admin
09-18-2024, 11:58 PM
» Replies: 8
» Views: 55
GSM CALL RELAY
Forum: KC868-A2
Last Post: admin
09-18-2024, 11:53 PM
» Replies: 9
» Views: 4,109
KC868-A16S or KC868-A8S
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
09-18-2024, 11:51 PM
» Replies: 3
» Views: 39

  KC868-A8M ESP32 8 Channel CAN Bus Board Released
Posted by: admin - 04-19-2023, 12:52 AM - Forum: News - No Replies

We have designed KC868-A8M (ESP32 CAN Bus Board) for home automation DIYer. it can easy integrate to home assistant by ESPHome. the hardware have 8CH MOSFET output + 8CH digital input + 4CH analog input, support CAN Bus + RS485 + Ethernet + WiFi + Bluetooth + 4G SIM7600 or 2G SIM800L GSM module + DS3231 RTC module + manual control button panel.
[Image: KC868-A8M-1_01.jpg]
[Image: KC868-A8M-1_02.jpg]
[Image: KC868-A8M-1_03.jpg]
[Image: KC868-A8M-1_04.jpg]
[Image: KC868-A8M-1_05.jpg]

Print this item

  Lora Range SX1278
Posted by: bsarevalo - 04-18-2023, 04:59 AM - Forum: KC868-A6 - Replies (8)

Hello everyone ! especially to Hificat... I am developing a project where we are using Lora SX1278 in the KC868-A6 module, according to the characteristics of the Lora the device has a range of 1 km - 5 km, the code used by the sender is the following :

Code:
#include "Arduino.h"
#include "PCF8574.h"
#include <RTClib.h>
#include <Wire.h>
#include <LoRa.h>
#include <SPI.h>
#include <WiFi.h>

#define ss 5
#define rst 21
#define dio0 2

void setup() {

  Serial.begin(115200);
  WiFi.mode(WIFI_STA);
 
  while (!Serial);
  Serial.println("LoRa Sender");

  LoRa.setPins(ss, rst, dio0);    //setup LoRa transceiver module

  while (!LoRa.begin(433E6))     //433E6 - Asia, 866E6 - Europe, 915E6 - North America
  {
    Serial.println(".");
    delay(500);
  }
  LoRa.setSyncWord(0xA5);
  Serial.println("LoRa Initializing OK!");
  Dwin_hmi.begin(115200);
  LoRa.setPins(ss, rst, dio0);

  pcf8574.pinMode(P0, OUTPUT);
  pcf8574.pinMode(P1, OUTPUT);
  pcf8574.pinMode(P2, OUTPUT);
  pcf8574.pinMode(P3, OUTPUT);
  pcf8574.pinMode(P4, OUTPUT);
  pcf8574.pinMode(P5, OUTPUT);

  Serial.print("Init pcf8574...");

  if (pcf8574.begin()){
    Serial.println("OK");
  }else{
    Serial.println("NO");
  }

  pcf8574.digitalWrite(P0, HIGH);
  pcf8574.digitalWrite(P1, HIGH);
  pcf8574.digitalWrite(P2, HIGH);
  pcf8574.digitalWrite(P3, HIGH);
  pcf8574.digitalWrite(P4, HIGH);
  pcf8574.digitalWrite(P5, HIGH);

}

void loop() {

  LoRa.beginPacket();   //Send LoRa packet to receiver
  LoRa.print("LP01");
  LoRa.endPacket();
  Serial.println("Sending packet LP0: 1 ");

}


And the code for the receiver is the following

Code:
#include "Arduino.h"
#include "PCF8574.h"
#include <RTClib.h>
#include <Wire.h>
#include <LoRa.h>
#include <SPI.h>
#include <MCP23017.h>

#define ss 5
#define rst 14
#define dio0 21

void setup() {

  Serial.begin(115200);
  Serial1.begin(9600,SERIAL_8N1,13,12);

  while (!Serial);
  Serial.println("LoRa Receiver");

  LoRa.setPins(ss, rst, dio0);    //setup LoRa transceiver module

  while (!LoRa.begin(433E6))     //433E6 - Asia, 866E6 - Europe, 915E6 - North America
  {
    Serial.println(".");
    delay(500);
  }
  LoRa.setSyncWord(0xA5);
  Serial.println("LoRa Initializing OK!");

}

void loop() {

  //Serial1.write(0x01);
  //delay(20);
  //Serial1.flush();
  //delay(15);

  int packetSize = LoRa.parsePacket();    // try to parse packet
  if (packetSize)
  {
  
    Serial.print("Received packet '");

    while (LoRa.available())              // read packet
    {
      String LoRaData = LoRa.readString();
      Serial.print(LoRaData);

      if (LoRaData == "LP01") {
        pcf8574.digitalWrite(P0, HIGH);
      }

      if (LoRaData == "LP00") {
        pcf8574.digitalWrite(P0, LOW);
      }
     
    }
    Serial.print("' with RSSI ");         // print RSSI of packet
    Serial.println(LoRa.packetRssi());
  }

}

I have soldered the antenna on the correct pin and have done some tests, the communication works fine up to 3 meters, but when I move the modules further than 3 meters the communication fails ... maybe you could help me a little, we require a range of more than 200 meters... can you help me and tell me if I'm making a mistake in programming or installing the hardware? Or if I need to buy another Lora module maybe...?



Attached Files Thumbnail(s)
           
Print this item

  SmartHome App: Support for Multiple Users?
Posted by: j_griffin100@yahoo.com - 04-18-2023, 02:22 AM - Forum: KC868-HxB series Smart Controller - Replies (1)

Can the SmartHome app be used by multiple users to control the same controller (H868-16B), each user having their own login and password?

Print this item

  KC868-A16S ESP32 16 Channel Relay Board Released
Posted by: admin - 04-17-2023, 11:11 AM - Forum: News - Replies (13)

We have designed KC868-A16S (ESP32 16 channel relay board) for home automation DIYer. it can easy integrate to home assistant by ESPHome. the hardware have 16CH relay (MAX AC250V 10A) output + 16CH digital input + 4CH analog input, support RS485 + Ethernet + WiFi + Bluetooth + 4G SIM7600 or 2G SIM800L GSM module + DS3231 RTC module + manual control button panel.

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

Print this item

  Do the relay on this board support DC as well as AC
Posted by: primeroz - 04-16-2023, 05:50 PM - Forum: KC868-A4 - Replies (1)

In the docs I see the relay only indicate 10A 250V AC. 

Most relay module for Arduino I can see on AliExpress also support DC up to 30V.

Do this relay support DC as well ? 

I need to drive an alarm Siren with it which expects 12V DC 

Thanks

Print this item

  KC868-E16S board/schematic errors
Posted by: AshS - 04-16-2023, 09:41 AM - Forum: KC868-E16S/E16P - Replies (7)

I have been trying to get the A1-A4 inputs working without success.

Working from this drawing: KC868-E16S schematic

I have found some errors:

[Image: KC868-E16-S-fault.png]

I have marked up the errors in red.

A1/CHA1 is connected to R92
A2CHA2 is connected to R91
A3/CHA3 is connected to R83
A4/CHA4 is connected to R82

It seems that the labelling on the board connectors, shown below, is incorrect.

[Image: Screenshot-2023-04-16-at-11-44-40.png]

A1 is connected to GPIO36
A2 is connected to GPIO34
A3 is connected to GPIO35
A4 is connected to GPIO39


Input AA1 is connected to LM224 pin 12
Input AA2 is connected to LM224 pin 10
Input AA3 is connected to LM224 pin 5
Input AA4 is connected to LM224 pin 3

The component labelling of the board matches the corrections that I have made for you on the drawing.

Additionally, you will see that two of the zero ohm resistors on my board, R82 and R83 are open circuit, marked with an X.

Please can you tell me how this can be resolved and provide a link to a correct drawing for my board.

Please can you confirm which GPIO is connected to which Analogue input.

Thank you.

Print this item

  KC868-A6 PCB size details
Posted by: admin - 04-15-2023, 01:15 PM - Forum: KC868-A6 - No Replies


.pdf   A6 SIZE.pdf (Size: 52.1 KB / Downloads: 216)
   

Print this item

  Control relay on KC868-E16S from K868-AM using RS485
Posted by: AshS - 04-14-2023, 09:17 PM - Forum: KC868-AM - Replies (1)

I am using ESPHome on a E16S and an AM board.

I need to control 1 relay on the E16S from the AM board using RS485.

Please can you tell me how do use this?

I have not used RS485 before.

Thank you.

Print this item

  KC868-A16 - Different digital Output modes
Posted by: oxedgar - 04-14-2023, 04:42 AM - Forum: DIY Project - Replies (8)

Hello, I try to get KCS-Firmware to work has i want...
I have one output to need to work in two modes ...
the first is  normal On-OFF toggle with one input triggered (this work fine)
The the second mode is to delayed this same output if i trigger another input (this do not work)

The result is to provide one wall button to ON Off Light and for the same light one motion PIR not temporised to work with specific delay set in this smart controller!
Can i make this with KCS firmware?

Print this item

  [Arduino source code for KC868-A8M]-06 RS485
Posted by: KinCony Support - 04-14-2023, 03:19 AM - Forum: KC868-A8M - Replies (6)

[Arduino source code for KC868-A8M]-06 RS485

Code:
#define A8M_RS485_RX 15
#define A8M_RS485_TX 13
void setup() {
  Serial.begin(115200);
  Serial2.begin(115200,SERIAL_8N1,A8M_RS485_RX,A8M_RS485_TX);//A8M
  Serial2.println("A8M RS485 SEND is OK!!"); 
}

void loop() {
  /*print the received data of RS485 port*/
  while(Serial2.available()>0)
   {
    Serial2.print((char)Serial2.read());//Read rs485 receive data  and print it
   }
  delay(200);
}



Attached Files
.zip   KC868-A8M_RS485.zip (Size: 596 bytes / Downloads: 206)
Print this item