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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 6,123
» Latest member: victordaniel
» Forum threads: 2,792
» Forum posts: 14,674

Full Statistics

Online Users
There are currently 57 online users.
» 0 Member(s) | 40 Guest(s)
Amazonbot, Applebot, Bing, Bytespider, Crawl, Google, PetalBot, Twitter, Yandex, bot

Latest Threads
Several controllers in on...
Forum: KC868-A6
Last Post: admin
43 minutes ago
» Replies: 3
» Views: 11
Water supply automation
Forum: Getting Started with ESPHome and Home Assistant
Last Post: admin
46 minutes ago
» Replies: 1
» Views: 1
"KCS" v2.2.10 firmware BI...
Forum: "KCS" v2 firmware system
Last Post: draugen
6 hours ago
» Replies: 25
» Views: 2,218
Kc868-a32 spi
Forum: KC868-A32/A32 Pro
Last Post: admin
7 hours ago
» Replies: 1
» Views: 7
PROGRAM KC868 A16 DI, DO ...
Forum: KC868-A16
Last Post: admin
7 hours ago
» Replies: 18
» Views: 228
KinCony KC868-A6v3 ESP32-...
Forum: News
Last Post: admin
11 hours ago
» Replies: 0
» Views: 8
KC868, is there some API...
Forum: "KCS" v2 firmware system
Last Post: admin
11 hours ago
» Replies: 1
» Views: 7
Product suggestion: bus b...
Forum: Suggestions and feedback on KinCony's products
Last Post: admin
11 hours ago
» Replies: 7
» Views: 153
http_request on ethernet
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
11 hours ago
» Replies: 3
» Views: 16
THT22 and 5v
Forum: Development
Last Post: admin
11 hours ago
» Replies: 15
» Views: 198

  [arduino code examples for A6v3]-01 Turn ON/OFF OUTPUT
Posted by: admin - 01-15-2025, 02:54 AM - Forum: KC868-A6v3 - No Replies

Code:
/*
Blink led on PIN0
by Mischianti Renzo <http://www.mischianti.org>

https://www.mischianti.org/2019/01/02/pcf8574-i2c-digital-i-o-expander-fast-easy-usage/
*/

#include "Arduino.h"
#include "PCF8574.h"

// Set i2c address
PCF8574 pcf8574(0x24);

void setup()
{
  Wire.begin(12, 11); // SDA: GPIO12, SCL: GPIO11
    Serial.begin(115200);
//    delay(1000);

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


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

    Serial.print("Init pcf8574...");
    if (pcf8574.begin()){
        Serial.println("OK");
    }else{
        Serial.println("KO");
    }
}

void loop()
{
    delay(300);
    pcf8574.digitalWrite(P0, LOW);
  delay(300);
  pcf8574.digitalWrite(P1, LOW);
  delay(300);
  pcf8574.digitalWrite(P2, LOW);
  delay(300);
  pcf8574.digitalWrite(P3, LOW);
  delay(300);
  pcf8574.digitalWrite(P4, LOW);
  delay(300);
  pcf8574.digitalWrite(P5, LOW);
  delay(300);
}
arduino ino file download:
.zip   8574-DO.zip (Size: 594 bytes / Downloads: 18)
BIN file (you can use esp32 download tool download to ESP32-S3 with address 0x0 then directly to use) download:
.zip   8574-DO.ino.merged.zip (Size: 191.2 KB / Downloads: 24)

Print this item

  Modbus CRC mistake
Posted by: jltluc57 - 01-14-2025, 02:54 PM - Forum: Development - Replies (20)

Hello,

I think there is an error in the Modbus document

The CRC is reversed, in the document is FA 3D for me is 3D FA

My tests for this example give me this

Regards
JL



Attached Files Image(s)
   
Print this item

  Problem with names in port monitor - KC868_16A
Posted by: Poczwara13 - 01-14-2025, 01:24 PM - Forum: "KCS" v2 firmware system - Replies (5)

Hello,

I shared the recording with the problem in the link below:


https://drive.google.com/file/d/1NRPJGf5...KmdYB/edit

The problem occurs when the page is refreshed and affects the names of the input and output ports.

Alternatively, can you add a few additional characters to the port descriptions?

Print this item

Photo KC868-A16 Tasmota
Posted by: laimonas.kairiukstis - 01-13-2025, 06:49 PM - Forum: KC868-A16 - Replies (1)

what are the steps to start Tasmota on KC868-A16  rev.1.6 ESP32-Wroom-32E.
I started automatic install from Tasmota site:
Install Tasmota
Finally I got Tasmota installed, but the outputs do not work.

Print this item

  ESPhome homeassistant
Posted by: charmacf - 01-13-2025, 01:24 PM - Forum: KC868-A6 - Replies (17)

i need help on how to control KC868-A6 i tried to install the demo version on the forums but i did something wrong.

Print this item

  S3 V1.0 firmware
Posted by: henkrouwenhorst - 01-13-2025, 09:46 AM - Forum: "KCS" v2 firmware system - Replies (3)

I am new to programming I have 3 x KC868 A16 boards I have successfully loaded firmware on to all of them and all function great. My problem is to load firmware on the Kincony S3 V1.0 in the " how to use online " section it refers to newer ESP32 S3 boards with the aluminium black case with screen and not the S3 Core board that I have.
I assume my problem is I am trying to load the wrong firmware on my board therefore I have no success. Could someone please give some guidance and a link to the correct firmware.
I want to use this to monitor tank level and temperature and link to my Home Assistant.
It seems there is not many people posting about this specific board in your forum.

Print this item

  KC-868-A4 0v-5v ADC no where near accurate
Posted by: Fleetz - 01-13-2025, 01:44 AM - Forum: KC868-A4 - Replies (5)

Connecting the 0-5v generator to the A3 or A4 the ADC is reporting considerably lower voltages than what is physically generated and measured using a multimeter. 

Also if program an event using IFTTT using the ADC voltage to switch a Digital output it will not trigger the event?
E.G. IF AI3 is <=2.00v THEN DO1 to On  if I reduce the voltage to AI3 to less than 2.00v or even drop it down to zero volts DI1 output does not change state.

           

Print this item

  Free samples
Posted by: Rineander - 01-12-2025, 05:23 PM - Forum: Apply for free sample product - No Replies

Hello, I’m very interested in trying your products and start using them as part of my home automation system based on home assistant. Since I prefer to use esphome to build my own sensors and stuff, integrating some of your products will take it to the next level. Making my system more efficient and more professional so I can start helping others by making step by step tutorial’s and reviews

Print this item

Question Firmware A16ESP32
Posted by: jltluc57 - 01-11-2025, 05:59 PM - Forum: KC868-A16 - Replies (3)

Hello everyone,
Sorry for my English, I'm French...

I just bought an A16 and I can't see it on the wired or Wifi network.
I try to update the firmware without result. here is what I have



   
   

can you help me please

I'm starting with this product.

Thanks in advance

Print this item

  Trigger LED on Wall Switch Panel
Posted by: petermac - 01-11-2025, 12:50 PM - Forum: F16 - Replies (1)

With the F16, without having digital out ports, is there any way to trigger the LED light on/off on wall switch panel?

Print this item