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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,993
» Latest member: xaylonlabs
» Forum threads: 3,970
» Forum posts: 20,125

Full Statistics

Online Users
There are currently 30 online users.
» 0 Member(s) | 16 Guest(s)
AhrefsBot, Amazonbot, Baidu, Bytespider, Crawl, bot

Latest Threads
24V Pulse input
Forum: F16
Last Post: admin
1 hour ago
» Replies: 1
» Views: 4
F16 relay stopped functio...
Forum: F16
Last Post: admin
1 hour ago
» Replies: 7
» Views: 73
E8v3 PCB layout CAD file
Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file
Last Post: admin
1 hour ago
» Replies: 2
» Views: 127
M30 configure yaml for ES...
Forum: KC868-M16 / M1 / MB / M30
Last Post: kiloptero
2 hours ago
» Replies: 89
» Views: 23,113
N series Energy Meter for...
Forum: N30
Last Post: admin
4 hours ago
» Replies: 0
» Views: 6
N series Energy Meter for...
Forum: N20
Last Post: admin
4 hours ago
» Replies: 0
» Views: 6
N series Energy Meter for...
Forum: N10
Last Post: admin
4 hours ago
» Replies: 0
» Views: 7
N series Energy Meter for...
Forum: N60
Last Post: admin
4 hours ago
» Replies: 0
» Views: 6
N series Energy Meter for...
Forum: KinCony integrate with Loxone home automation
Last Post: admin
4 hours ago
» Replies: 0
» Views: 7
Current and Power not add...
Forum: N60
Last Post: admin
5 hours ago
» Replies: 7
» Views: 158

  [arduino source code for KC868-Uair-7] send IR code signal
Posted by: admin - 01-03-2022, 05:41 AM - Forum: KC868-Uair - No Replies

#include "PinDefinitionsAndMore.h"
#include <IRremote.h>

void setup() {

  Serial.begin(9600);
  IrSender.begin(IR_SEND_PIN, ENABLE_LED_FEEDBACK);

}

  uint16_t sAddress = 0x78;
  uint8_t sCommand = 0xCD;
  uint8_t sRepeats = 0;

void loop() {
  IrSender.sendNEC(sAddress, sCommand, sRepeats);
  delay(1000);
}


download arduino IDE source code file: 

.zip   Uair_IR_send.zip (Size: 388 bytes / Downloads: 732)

Note: install "IRremote" library online firstly.

[Image: attachment.php?aid=456]

set IR sender and receiver GPIO pins define as below image:
[Image: attachment.php?aid=459]

Print this item

  [arduino source code for KC868-Uair-6] IR remoter button decode
Posted by: admin - 01-02-2022, 04:15 AM - Forum: KC868-Uair - No Replies

#include "PinDefinitionsAndMore.h"
#include <IRremote.h>

void setup() {
  Serial.begin(9600);
  IrReceiver.begin(IR_RECEIVE_PIN, ENABLE_LED_FEEDBACK, USE_DEFAULT_FEEDBACK_LED_PIN);
}

void loop() {
    if (IrReceiver.decode()) {
        
        IrReceiver.printIRResultShort(&Serial);
        if (IrReceiver.decodedIRData.protocol == UNKNOWN) {
          
            IrReceiver.printIRResultRawFormatted(&Serial, true);
        }
        Serial.println();
    IrReceiver.resume();
    }
}


download arduino IDE source code file: 

.zip   Uair_IR_receive.zip (Size: 569 bytes / Downloads: 726)
Note: install "IRremote" library online firstly.
   

set IR sender and receiver GPIO pins define as below image:
   

Print this item

  KC868-A Pins to HomeSpan HomeKit
Posted by: glock4101 - 12-31-2021, 10:43 AM - Forum: KC868-A series and Uair Smart Controller - Replies (1)

Hello, I would like to use my controller for homekit control. I found out from the instructional videos that Relay 3 and 4 are on pins 2 and 15.
I would like to use more relays, and configure digital inputs as switches.
In further configuration I would like to use analog inputs and a temperature sensor.

Print this item

  [arduino source code for KC868-Uair-5] read DS18B20 temperature sensor
Posted by: admin - 12-31-2021, 02:15 AM - Forum: KC868-Uair - No Replies

#include <DS18B20.h>

DS18B20 ds(27);

void setup() {
    Serial.begin(9600);
}

void loop() {
 
    Serial.print(ds.getTempC());
    Serial.print("℃");
    Serial.println();
}

download arduino IDE source code file: 

.zip   temperature.zip (Size: 286 bytes / Downloads: 743)

Note: install "DallasTemperature" library online firstly.
   

edit IR send and receiver GPIO pin define in "PinDefinitionsAndMore.h"
   

Print this item

  RC snubber wiring
Posted by: bigramon - 12-30-2021, 07:19 PM - Forum: KC868-HxB series Smart Controller - Replies (10)

Can you please confirm the following wiring of the RC snubber with a KC868-H32B for a furnace valve is OK ?
[Image: kincony-rc-snubber.jpg]

Print this item

  H32B and 32 input panel stops communicating
Posted by: uvrtar - 12-30-2021, 03:05 PM - Forum: KC868-HxB series Smart Controller - Replies (5)

Hi, I have a problem with one of my setups. H32B and input panel stops communicating after 6-10 tries.
After deset it is ok gor 6-10 tries and then stops.

We changed the input panel and it is the same problem. Communicating with Home assistant and mode red is working, Just the connection with panel and contoller.
H32B was not replaced.

Any suggestions?

Print this item

  ESP32 input problem from contacts of Thermal-magnetic circuit breaker
Posted by: gokhan - 12-30-2021, 06:32 AM - Forum: DIY Project - Replies (3)

Hi
I am designing a pressure controlled vacuum tank.
Software of ESP32 and
Nextion screen is OK

But I have problem when
I get digital input from (TMCB)
thermal magnetic circuit protector( schneider gv2me14)
When red fault contacts close I want to get information of fault of motor.  But esp32 reset itself .



Attached Files Thumbnail(s)
   
Print this item

  [arduino source code for KC868-Uair-4] let Buzzer play music
Posted by: admin - 12-30-2021, 01:14 AM - Forum: KC868-Uair - No Replies

#define Do 262
#define Re 294
#define Mi 330
#define Fa 350
#define Sol 393
#define La 441
#define Si 495
#define Doo 882
#define CC 525
#define DD 589
#define EE 661
#define AA 882
#include <ESP32Servo.h>

int musiclist[32]={Do,Re,Mi,Do,Do,Re,Mi,Do,Mi,Fa,Sol,Mi,Fa,Sol,Sol,La,Sol,Fa,Mi,Do,Sol,La,Sol,Fa,Mi,Do,Re,Sol,Do,Re,Sol,Do};

int timelist[32]={2,2,2,2,2,2,2,2,2,2,4,2,2,4,1,1,1,1,2,2,1,1,1,1,2,2,3,3,4,3,3,4};

void setup(){
  Serial.begin(115200);
  pinMode(26,OUTPUT);
}

void loop(){
  int i = 0;
    for (int i = 0; i <32; i = i + (1)) {
      tone(26, musiclist[i], 125*timelist[i]);
      delay(100);
    }
    delay(1000);
    i = 0;
  }
 
download arduino IDE source code file: 

.zip   play music.zip (Size: 486 bytes / Downloads: 681)

Note: install "ESP32Servo" library online firstly.
   

Print this item

  [arduino source code for KC868-Uair-2] let Buzzer beep
Posted by: admin - 12-30-2021, 01:06 AM - Forum: KC868-Uair - No Replies

void setup() {
  pinMode(26,OUTPUT);
}

void loop() {
  digitalWrite(26,HIGH);
  delay(3000);
  digitalWrite(26,LOW);
  delay(2000);
}


download arduino IDE source code file: 

.zip   beep.zip (Size: 247 bytes / Downloads: 746)

Print this item

  [arduino source code for KC868-Uair-3] Let buzzer play tone
Posted by: admin - 12-30-2021, 01:01 AM - Forum: KC868-Uair - Replies (2)

// define Buzzer GPIO
const int TONE_OUTPUT_PIN = 26;

const int TONE_PWM_CHANNEL = 0;

void setup() {
  ledcAttachPin(TONE_OUTPUT_PIN, TONE_PWM_CHANNEL);
}

void loop() {
  // Plays the middle C scale
  ledcWriteNote(TONE_PWM_CHANNEL, NOTE_C, 4);
  delay(500);
  ledcWriteNote(TONE_PWM_CHANNEL, NOTE_D, 4);
  delay(500);
  ledcWriteNote(TONE_PWM_CHANNEL, NOTE_E, 4);
  delay(500);
  ledcWriteNote(TONE_PWM_CHANNEL, NOTE_F, 4);
  delay(500);
  ledcWriteNote(TONE_PWM_CHANNEL, NOTE_G, 4);
  delay(500);
  ledcWriteNote(TONE_PWM_CHANNEL, NOTE_A, 4);
  delay(500);
  ledcWriteNote(TONE_PWM_CHANNEL, NOTE_B, 4);
  delay(500);
  ledcWriteNote(TONE_PWM_CHANNEL, NOTE_C, 5);
  delay(500);
}

download arduino IDE source code file: 

.zip   play tone.zip (Size: 369 bytes / Downloads: 775)

Print this item