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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 6,358
» Latest member: cycov
» Forum threads: 2,844
» Forum posts: 15,020

Full Statistics

Online Users
There are currently 65 online users.
» 2 Member(s) | 47 Guest(s)
Amazonbot, Bing, Bytespider, Crawl, Google, PetalBot, WordPress/, Yandex, bot, twostar

Latest Threads
A16: IFTTT Time based act...
Forum: KC868-A16
Last Post: twostar
5 minutes ago
» Replies: 15
» Views: 142
KC868-HA-V21 serial port ...
Forum: KC868-HA /HA v2
Last Post: PeterOo
1 hour ago
» Replies: 7
» Views: 88
KC868-HA RS485 INPUT & OU...
Forum: KC868-HA /HA v2
Last Post: admin
6 hours ago
» Replies: 29
» Views: 6,581
MQTT Connection issues
Forum: KC868-A16
Last Post: admin
6 hours ago
» Replies: 1
» Views: 5
Using B16M for driving LE...
Forum: B16M
Last Post: admin
6 hours ago
» Replies: 1
» Views: 3
KCS868-A6 not found
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
6 hours ago
» Replies: 12
» Views: 54
[Arduino IDE demo source ...
Forum: KC868-A16
Last Post: admin
Yesterday, 12:18 PM
» Replies: 4
» Views: 2,565
Request for Assistance in...
Forum: DIY Project
Last Post: admin
Yesterday, 09:17 AM
» Replies: 1
» Views: 15
KCS firmware bugs
Forum: "KCS" v2 firmware system
Last Post: twostar
Yesterday, 09:03 AM
» Replies: 9
» Views: 201
Setup K868-a32 and k868-a...
Forum: DIY Project
Last Post: admin
Yesterday, 08:59 AM
» Replies: 1
» Views: 6

  [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: 334)

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

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

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

Print this item

  [arduino source code for KC868-Uair-1] WS2812 RGB LEDs blink
Posted by: admin - 12-30-2021, 12:55 AM - Forum: KC868-Uair - No Replies

#include <FastLED.h>

#define NUM_LEDS 4
#define DATA_PIN 32
CRGB leds[NUM_LEDS];

void setup() {
    FastLED.addLeds<WS2812B, DATA_PIN, GRB>(leds, NUM_LEDS);
}

void loop() {
    leds[0] = CRGB::Blue;
    leds[1] = CRGB::Blue;
    leds[2] = CRGB::Blue;
    leds[3] = CRGB::Blue;
    FastLED.show();
    delay(2000);
    leds[0] = CRGB::Black;
    leds[1] = CRGB::Black;
    leds[2] = CRGB::Black;
    leds[3] = CRGB::Black;
    FastLED.show();
    delay(2000);
}

download arduino IDE source code file: 
.zip   Uair-LED.zip (Size: 364 bytes / Downloads: 332)

Note: install "FastLED" library online firstly.
   

Print this item

  KC868-Hx old model software and document link
Posted by: admin - 12-30-2021, 12:24 AM - Forum: KC868-HxB series Smart Controller - No Replies

These products already stop produce now, just download link for old customers.

[Image: disk.png] KC868-H2 (APP, PC software, VirCom network tool)  RAR  ZIP
[Image: disk.png] KC868-H2W (APP, PC software, VirCom tool,Wifi config)  RAR  ZIP
[Image: disk.png] KC868-H4 (APP, PC software, VirCom tool)  RAR  ZIP
[Image: disk.png] KC868-H4W (APP, PC software, VirCom tool,Wifi config)  RAR  ZIP
[Image: disk.png] KC868-H8 (APP, PC software, VirCom tool)  RAR  ZIP
[Image: disk.png] KC868-H8W (APP, PC software, VirCom tool,Wifi config)  RAR  ZIP
[Image: disk.png] KC868-H16 (APP, PC software, VirCom tool)  RAR  ZIP
[Image: disk.png] KC868-H16W (APP, PC software, VirCom tool,Wifi config)  RAR  ZIP
[Image: disk.png] KC868-H32 (APP, PC software, VirCom tool)  RAR  ZIP
[Image: disk.png] KC868-H32W (APP, PC software, VirCom tool,Wifi config)  RAR  ZIP
[Image: pdf_pix32.png] 4-KC868-H2/4/8 NetRelay Control User manual(Demo tool).pdf
[Image: pdf_pix32.png] 5-KC868-H16/32 User manual.pdf
[Image: pdf_pix32.png] 6-KC868-H2W/4W/8W/16W/32W Wifi version user manual.pdf
[Image: pdf_pix32.png] 12-Google Home voice module(KC868-H2/4/8/16/32) Manual.pdf
[Image: pdf_pix32.png] 14-KC868-H2 User Manual(V0612).pdf
[Image: pdf_pix32.png] 15-KC868-H2w User Manual(V0612).pdf
[Image: pdf_pix32.png] 16-KC868-H4 User Manual(V0612).pdf
[Image: pdf_pix32.png] 17-KC868-H4w User Manual(V0612).pdf
[Image: pdf_pix32.png] 18-KC868 H16 User Manual(V0819).pdf
[Image: pdf_pix32.png] 19-KC868 H16W User Manual(V0819).pdf
[Image: pdf_pix32.png] 32- ModBus Adapter Protocol

Print this item

  PNP/NPN terminology for control signal
Posted by: eladn - 12-26-2021, 04:59 PM - Forum: KC868-HxB series Smart Controller - Replies (2)

In some 3rd-party applications the terms "PNP" / "NPN" are used to describe the polarity of the control signal (whether positive +12V or ground 0V voltage is used as the control signal). The KC868-H32BS outputs +12V (or +24V) per each output channel to control the relay. If a relay module is used, it gets a 0V as a common control line and +12V signal per each channel. Is this configuration considered as "PNP" or "NPN" connection from the point of view of the relay module?

Print this item