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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,567
» Latest member: Banusmassage
» Forum threads: 4,185
» Forum posts: 20,812

Full Statistics

Online Users
There are currently 27 online users.
» 0 Member(s) | 18 Guest(s)
Amazonbot, Baidu, PetalBot, Yandex, bot

Latest Threads
N60 Voltage reference
Forum: N60
Last Post: Energizer
3 hours ago
» Replies: 2
» Views: 10
4-20mA loop voltage consi...
Forum: B4M
Last Post: admin
11 hours ago
» Replies: 1
» Views: 9
K868-a32 plastic case
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Yesterday, 08:48 AM
» Replies: 3
» Views: 1,177
CT Clamp Compatibility
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
08-09-2026, 10:32 PM
» Replies: 10
» Views: 1,663
KinCony F8 + ESPHome: Una...
Forum: F8
Last Post: admin
08-08-2026, 11:51 PM
» Replies: 6
» Views: 86
How to get started
Forum: KC868-A16
Last Post: admin
08-07-2026, 11:42 PM
» Replies: 39
» Views: 9,671
Questions on the B4M
Forum: B4M
Last Post: admin
08-07-2026, 11:19 PM
» Replies: 3
» Views: 207
cannot see KC868-A6 in ro...
Forum: "KCS" v2 firmware system
Last Post: admin
08-07-2026, 09:59 AM
» Replies: 7
» Views: 313
CAN-BUS Transceiver
Forum: T16M
Last Post: admin
08-07-2026, 09:57 AM
» Replies: 1
» Views: 15
N60 configure yaml for ES...
Forum: N60
Last Post: chuyskywalker
08-06-2026, 07:18 AM
» Replies: 5
» Views: 1,785

  I2C Communication Failure between Kincony KC868-A8 and ESP32C3
Posted by: MIKIMOTO - 09-25-2025, 03:51 PM - Forum: KC868-A8 - Replies (1)

Hola a tothom,
Estic intentant establir una connexió I2C entre una placa Kincony KC868-A8 i un ESP32C3 . He implementat correctament la lògica del projecte i he verificat la configuració de la comunicació connectant dues plaques ESP32C3. Funcionen perfectament com a mestre i esclau, detectant-se mútuament i intercanviant dades sense cap problema. La meva configuració per a aquesta prova era una connexió directa pin a pin:

  • Pin 20 (SDA) a Pin 20 (SDA)
  • Pin 21 (SCL) a Pin 21 (SCL)
  • GND a GND
  • 5V a 5V
El meu programa inclou un escàner I2C per detectar dispositius al bus i una aplicació senzilla per llegir i escriure dades a l'esclau.
A continuació, vaig intentar implementar la mateixa lògica amb el KC868-A8 com a mestre i l'ESP32C3 com a esclau. Vaig modificar el programa mestre per utilitzar els pins correctes per a la placa Kincony (Pin 4 per a SDA i Pin 5 per a SCL).
He connectat les plaques de la següent manera, utilitzant el connector I2C dedicat del KC868-A8:
  • KC868-A8 Pin 4 (SDA) i ESP32C3 Pin 20 (SDA)
  • KC868-A8 Pin 5 (SCL) i ESP32C3 Pin 21 (SCL)
  • GND a GND
Nota: No estic connectant l'alimentació de 3,3 V del Kincony a l'ESP32C3, ja que l'ESP32C3 s'alimenta mitjançant la seva pròpia connexió USB de 5 V.
Tanmateix, la comunicació falla. L'escàner I2C de la placa Kincony detecta correctament els seus dos xips PCF8574 interns, però no veu l'ESP32C3 .
Ja he verificat totes les connexions i he provat d'afegir resistències de pull-up externes de 4.7KΩ a les línies SDA i SCL. Segons els esquemes de Kincony, la placa utilitza una lògica de 3.3V i no té resistències de pull-up al seu bus I2C extern.
Què podria estar causant aquest problema? Qualsevol ajuda o informació serà molt benvinguda. Gràcies per endavant!

Print this item

  Raspberry Pi Compute Module 5 IoT Server
Posted by: mcdave - 09-25-2025, 04:08 AM - Forum: News - Replies (1)

Dear Admin,

Could you please confirm if it is possible to install Ubuntu on the Raspberry Pi Compute Module 5 IoT Server? Your assistance with this inquiry is greatly appreciated.

Best regards,
Dave Lodia

Print this item

  Delay Relay
Posted by: abbasgts - 09-24-2025, 06:36 AM - Forum: Development - Replies (1)

Subject: Request: Sequential 8-relay example for F8 (ESP32-S3), 1.5s step, reverse on shutdown

Message:
Hello KinCony team,

I am using the KinCony F8 (ESP32-S3) board with the PCF8575 I/O expander to control 8 relays. I would like to have an Arduino example that performs the following:
  •  Sequential ON: Relay1 → Relay8, with 1.5 seconds delay between each relay.
  •  Sequential OFF: Relay8 → Relay1, with the same 1.5 seconds delay.
  •  Arduino IDE, using I2C with SDA = GPIO8, SCL = GPIO18, and PCF8575 address = 0x24 (please confirm).

My questions are:
1. What is the exact GPIO mapping for each relay on the F8 hardware revision?
2. Do you have an official Arduino example implementing this sequence?
3. If there is a recommended library or header file for this board, could you please share the link?

Here is a sample code I tested so far (for reference):
#include <Wire.h>
#include <PCF8575.h>

#define I2C_SDA 8
#define I2C_SCL 18
#define PCF8575_ADDR 0x24

PCF8575 pcf(PCF8575_ADDR);
const uint8_t RELAY_PINS[8] = {P0, P1, P2, P3, P4, P5, P6, P7};

void setup() {
  Serial.begin(115200);
  if (!pcf.begin(I2C_SDA, I2C_SCL)) {
    Serial.println("PCF8575 not found!");
    while (1);
  }
  for (int i = 0; i < 8; i++) {
    pcf.write(RELAY_PINS[i], HIGH);  // OFF at start
  }
}

void loop() {
  // Sequential ON
  for (int i = 0; i < 8; i++) {
    Serial.print("Relay ON: "); Serial.println(i+1);
    pcf.write(RELAY_PINS[i], LOW);
    delay(1500);
  }

  // Sequential OFF
  for (int i = 7; i >= 0; i--) {
    Serial.print("Relay OFF: "); Serial.println(i+1);
    pcf.write(RELAY_PINS[i], HIGH);
    delay(1500);
  }
}

Print this item

  Delay Relay F8
Posted by: abbasgts - 09-24-2025, 06:13 AM - Forum: F8 - Replies (8)

Pin Definitions:
Subject: Request: Sequential 8-relay example for F8 (ESP32-S3), 1.5s step, reverse on shutdown


Message:
Hello KinCony team,

I am using the KinCony F8 (ESP32-S3) board with the PCF8575 I/O expander to control 8 relays. I would like to have an Arduino example that performs the following:
  •  Sequential ON: Relay1 → Relay8, with 1.5 seconds delay between each relay.
  •  Sequential OFF: Relay8 → Relay1, with the same 1.5 seconds delay.
  •  Arduino IDE, using I2C with SDA = GPIO8, SCL = GPIO18, and PCF8575 address = 0x24 (please confirm).

My questions are:
1. What is the exact GPIO mapping for each relay on the F8 hardware revision?
2. Do you have an official Arduino example implementing this sequence?
3. If there is a recommended library or header file for this board, could you please share the link?

Here is a sample code I tested so far (for reference):
// I2C pins
#define SDA 8
#define SCL 18
#include <Wire.h>
#include <PCF8575.h>

#define I2C_SDA 8
#define I2C_SCL 18
#define PCF8575_ADDR 0x24

PCF8575 pcf(PCF8575_ADDR);
const uint8_t RELAY_PINS[8] = {P0, P1, P2, P3, P4, P5, P6, P7};

void setup() {
  Serial.begin(115200);
  if (!pcf.begin(I2C_SDA, I2C_SCL)) {
    Serial.println("PCF8575 not found!");
    while (1);
  }
  for (int i = 0; i < 8; i++) {
    pcf.write(RELAY_PINS[i], HIGH);  // OFF at start
  }
}

void loop() {
  // Sequential ON
  for (int i = 0; i < 8; i++) {
    Serial.print("Relay ON: "); Serial.println(i+1);
    pcf.write(RELAY_PINS[i], LOW);
    delay(1500);
  }

  // Sequential OFF
  for (int i = 7; i >= 0; i--) {
    Serial.print("Relay OFF: "); Serial.println(i+1);
    pcf.write(RELAY_PINS[i], HIGH);
    delay(1500);
  }
}

Print this item

  Polarity Powering KC868-A8
Posted by: Nachuertas - 09-23-2025, 09:33 AM - Forum: KC868-A8 - Replies (3)

Hi,

I've been looking into using a DIN +12V DC power source for the KC868-A8, and I noticed that the new KC868-A6v3 is advertised with the comment: "new protection circuit to prevent power polarity from burning out."

This got me thinking—what would happen if I accidentally reversed the polarity on the KC868-A8?
Would it burn out immediately? Would it simply not work?
Does the KC868-A8 have any protection against this kind of mistake?

Thanks

Print this item

  Powering a DS18b20
Posted by: Onepointbrewing - 09-23-2025, 05:58 AM - Forum: F16 - Replies (2)

Hello

Is it possible to power (VCC) from a GPIO output? I need to be able to reset a DS18B20 by turning off the VCC to the sensor as they get out of timing sync often and only are able to re-sync from a power cycle - not from a node reset.

Whats the max current the GPIO as an output that ic an supply

Print this item

  Relay Trigger for Hot Water System
Posted by: swalton - 09-23-2025, 12:10 AM - Forum: DIY Project - Replies (3)

Hi All,

I’m after some advice on what to buy. I’d like Home Assistant to trigger a Finder DIN-rail power relay with a 12 V DC coil ( 22.23.9.012.4000 | Finder DIN Rail Power Relay, 12V dc Coil, 20A Switching Current, SPST-NC, SPST-NO | RS ) whenever I have excess solar during the day. 

The relay will switch a hot-water system. Which KinCony device would be the best fit, and can this finder relay coil run on AC as well as DC?

Here is the data sheet  0900766b816bcd62.pdf

   
 
Thanks!

Sam

Print this item

Wink KC868-AP Control System (MQTT + Home Assistant)
Posted by: nikhuge - 09-22-2025, 11:26 AM - Forum: DIY Project - Replies (2)

A robust MicroPython application for ESP32 controlling the KC868-AP dimmer/relay hardware with native Home Assistant MQTT discovery.

https://github.com/charithmadhuranga/Kin...ython-Mqtt

Print this item

Exclamation RE: Problem selecting the output pin using smartlife app
Posted by: FELIX - 09-21-2025, 03:30 PM - Forum: B16M - Replies (1)

COULD someone help Why do B16M  switches 1 to 7 have reverse switch but from 8 to 16 does not have, it only have on and off only scenes when creating scenes IN SMARTLIFE APP



Attached Files Thumbnail(s)
       
Print this item

  KC868-E16v2
Posted by: mcdave - 09-21-2025, 10:21 AM - Forum: F16 - Replies (3)

Dear Admin,

I have T64m Power 12V PSU.... What is the problem if KC868-E16v2 COM TO NO reading 11.7v thats why my siren 12V not trigger, Do I need to seperate 12V PSU for t64M and KC868-E16v2.?

Print this item