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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,367
» Latest member: talljane
» Forum threads: 2,574
» Forum posts: 13,309

Full Statistics

Online Users
There are currently 41 online users.
» 0 Member(s) | 28 Guest(s)
Crawl, Google, PetalBot, Semrush, Yandex, bot

Latest Threads
How can I power multiple ...
Forum: KC868-A series and Uair Smart Controller
Last Post: ingersoj
40 minutes ago
» Replies: 9
» Views: 111
Problem with IFTTT automa...
Forum: "KCS" firmware system
Last Post: admin
1 hour ago
» Replies: 6
» Views: 42
A32 Pro ESPHome yaml incl...
Forum: KC868-A32/A32 Pro
Last Post: admin
2 hours ago
» Replies: 18
» Views: 183
KC868-A2 ESP32 I/O pin de...
Forum: KC868-A2
Last Post: admin
2 hours ago
» Replies: 8
» Views: 2,266
change wake up name
Forum: KinCony AS
Last Post: gal
Yesterday, 07:36 AM
» Replies: 12
» Views: 85
Need help with configurat...
Forum: KC868-HxB series Smart Controller
Last Post: admin
Yesterday, 04:32 AM
» Replies: 32
» Views: 394
ESP32 S3 set up issue
Forum: Extender module
Last Post: admin
12-17-2024, 11:43 PM
» Replies: 10
» Views: 68
KC868-A8 Schematic
Forum: KC868-A8
Last Post: admin
12-17-2024, 11:40 PM
» Replies: 7
» Views: 51
"KCS" v2.2.8 firmware BIN...
Forum: "KCS" firmware system
Last Post: admin
12-17-2024, 11:38 PM
» Replies: 2
» Views: 178
Dimensions/drawings of bo...
Forum: Schematic and diagram
Last Post: admin
12-17-2024, 11:37 PM
» Replies: 1
» Views: 23

  How to read data analog from 4-20mA port?
Posted by: abgran - 09-25-2022, 11:13 AM - Forum: KC868-A4 - Replies (12)

Hi. I have already bought 6 units of KC868-A4 model on Ali Express Order ID: 8154057463938467. There are 2 ports for 4-20mA. I have a TDS sensor output 4-20mA range 0-4400 us/ms. 

Got 2 question.

1) Can you give a source code how to read from the 4-20mA port? 
2) If my sensor signal 4-20mA to 0-5v is using 250ohm right? Can you show the diagram how to connect. Thanks.

My TDS sensor have a 3 wire (+,  - & Signal (S1)).

       

Print this item

  Nextion display work with KC868-A4
Posted by: admin - 09-23-2022, 02:59 AM - Forum: KC868-A4 - Replies (5)

i have removed RF433M receiver, RF433M sender and IR receiver. actually use want to use VCC,GND,RXD,TXD for Nextion display.

define RXD:GPIO23 TXD:GPIO21 by ESP32

here are some photos:
   
   
   

This just a simplest demo, use Nextion display two buttons, press button-one will send 'a' by serial port, press button-two will send 'b' by serial port.
when KC868-A4 received 'a' will turn ON relay1, when received 'b' will turn OFF relay1.

firstly create two buttons UI by Nextion Editor PC software:
   
   

here is firmware BIN file, you can download to KC868-A4 ESP32 directly to use:

.zip   nextion_KC868-A4.ino.nodemcu-32s.zip (Size: 102.25 KB / Downloads: 269)
here are source code:

Code:
String indata="";
String val="";

const int Relay1 = 2;
const int Relay2 = 15;
const int Relay3 = 5;
const int Relay4 = 4;

void setup() {
  pinMode(Relay1,OUTPUT);   //Relay1 IO2
  pinMode(Relay2,OUTPUT);  //Relay2 IO15
  pinMode(Relay3,OUTPUT);   //Relay3 IO2
  pinMode(Relay4,OUTPUT);   //Relay4 IO2
  Serial1.begin(9600,SERIAL_8N1,23,21);
  Serial.begin(9600);
}

void loop() {
  while(Serial1.available()>0)
  {
    indata+=char(Serial1.read());
    delay(2);
    if(Serial1.available()<=0)
     {
        Serial.println(indata);
     }
  } 
  if(indata.length()>0)
  {
     val=indata;  
     if(val=="a")  
       {
         digitalWrite(Relay1,HIGH);
         Serial.println("Relay1-ON OK!");
       }
     else if(val=="b")
      {
         digitalWrite(Relay1,LOW);
         Serial.println("Relay1-OFF OK!");
      }
  }
  indata=""; 
}

Print this item

  New products
Posted by: Kross Piter - 09-21-2022, 02:46 PM - Forum: News - Replies (2)

Have someone heard about new home automation product on the market worth attention? I want to replace own system and want to gather thoughts on this one. Will be grateful for your responce.

Kind regards,
Peter

Print this item

  help me choose the components of a smart system for 3 floors building
Posted by: engmohades - 09-21-2022, 07:25 AM - Forum: DIY Project - Replies (9)

I hope to help me choose the components of a smart system for 3 floors building, including controllers, circuit breakers, contactors, and ssr ......

[b]Ground floor:[/b]
20 lighting circuits on / off
9 dimmer lighting circuits
2 heater circuits with control switches
4 air conditioner circuits with control keys
1 garage control circuit
_________________________________________

 First floor
14 lighting circuits on / off
10 dimmer lighting circuit
3 heater circuit with control switches
4 air conditioner circuits with control keys
_________________________________________

Second floor
11 lighting circuits on / off
7 dimmer lighting circuit
3 heater circuit with control switches
5 air conditioner circuit with control switches
_________________________________________
 

No 26 dimmer switch
No 22 switch for aircondition and weter heater
No 4 switch 1 gang
No 16 switch 2 gang
No 6 switch 3 gang
No 5 switch 4 gang
No 2 switch 5 gang
No 2 switch 6 gang


 
 

Print this item

  [Arduino IDE demo source code for KC868-A8S]--#12-Send SMS to many phone numbers
Posted by: admin - 09-21-2022, 05:27 AM - Forum: KC868-A8S - No Replies

This demo source code, you just replace with your 10 phone numbers, then will send one SMS to 10 mobile phone, you can also send to many many mobile phone number in loop() function.
   
   
// make sure set your Serial2 pins in your "HardwareSerial.cpp" for ESP32 as follows:
//#define RX2  15
//#define TX2  13

   

Code:
//code use for KC868-A8S board

int data;
String message;
unsigned long int last;

void setup()
{
String phone1,phone2,phone3,phone4,phone5,phone6,phone7,phone8,phone9,phone10;
Serial.begin(115200);
Serial2.begin(115200);
 
 
  Serial.print("start test");
  phone1="15381100000";
  phone2="15381100001";
  phone3="15381100002";
  phone4="15381100003";
  phone5="15381100004";
  phone6="15381100005";
  phone7="15381100006";
  phone8="15381100007";
  phone9="15381100008";
  phone10="15381100009";
 
  send_sms("Test message from KinCony KC868-A8S",phone1);
  send_sms("Test message from KinCony KC868-A8S",phone2);
  send_sms("Test message from KinCony KC868-A8S",phone3);
  send_sms("Test message from KinCony KC868-A8S",phone4);
  send_sms("Test message from KinCony KC868-A8S",phone5);
  send_sms("Test message from KinCony KC868-A8S",phone6);
  send_sms("Test message from KinCony KC868-A8S",phone7);
  send_sms("Test message from KinCony KC868-A8S",phone8);
  send_sms("Test message from KinCony KC868-A8S",phone9);
  send_sms("Test message from KinCony KC868-A8S",phone10);

}

void loop()
{
check_sms_responce();
}

void send_sms ( String sms, String number)
{
      Serial2.print("AT+CMGF=1\r");  //Set text mode
      delay(1000);
      Serial2.print("AT+CMGS=\""+ number +"\"\r"); //Send message
      delay(1000);
      Serial2.print(sms);//Text message
      Serial2.println((char)0x1A); //Ctrl+Z
}

void check_sms_responce()
{
   if(Serial2.available()>0)
  {
    delay(60);
    message="";
    while(Serial2.available())
    {
      message+=(char)Serial2.read();
    }
    Serial.print(message);
  }
}

Print this item

  Tasmota Configuration file or Precompiled firmware for KC868-A8S
Posted by: pacitzu - 09-20-2022, 10:45 AM - Forum: KC868-A8S - Replies (11)

is there a configuration file or pre-compiled firmware for the KC868-A8S board?

I found this guide for the KC868-A8 board https://www.kincony.com/forum/showthread.php?tid=1128

but I have not found any guide to be able to use the KC868-A8S board with Tasmota.

Ok the two boards KC868-A8 and KC868-A8S are similar but there are some differences:
for example how can I configure the Rs485 with Tasmota.

Thank you

Print this item

  firmware update tool for KC868-D16 Dimmer Controller
Posted by: admin - 09-19-2022, 03:51 AM - Forum: KC868-HxB series Smart Controller - No Replies

KC868-D16 dimmer controller support download firmware by Ethernet cable and RS485:

.zip   NET_REMOTE_IAP_V1.0.zip (Size: 9.07 KB / Downloads: 183)
   
   
   

Print this item

  KC868-D16 Tuya Smart Dimmer Module Released
Posted by: admin - 09-19-2022, 01:52 AM - Forum: News - No Replies

We have designed KC868-D16 support Ethernet and WiFi work at the same time. Use Tuya phone app and home assistant in local network at the same time. It support HTTP , MQTT, TCP ,RS485 integrate to your own software platform. it’s a super smart dimmer controller for home automation DIY.
[Image: details1_01.jpg]

[Image: details1_02.jpg]

Print this item

  Power meter with DC battery voltage?
Posted by: thundercat - 09-17-2022, 11:37 PM - Forum: DIY Project - Replies (9)

Does the power meter measure battery DC voltage? If not, can you add it as a sensor to measure DC voltage?

Print this item

  Nitrogen/Phosphorus/kalium/Humidity/Temperature and PH Sensors
Posted by: subas - 09-17-2022, 02:03 PM - Forum: DIY Project - Replies (14)

Dear Admin

I am starting a new project in a Farm. 
I would like your recommendation of the sensors that can read the following either as 6 in 1 or separate sensors. It must be matching with the KINCONY Control board and application to read these sensors.

1. Nitrogen
2. Phosphorus
3. kalium 
4. Humidity
5. Temperature
6. PH

Can you please recommend which probe from KINCONY can i purchase and which COL-B board should i purchase where the data collected at the Farm is about 1 hectare and we need to send the data back to the control room?

Print this item