Yesterday, 10:02 PM
Hi,
I ordered A6 from Aliexpress. Seems the device otherwise works well, but digital inputs 1-2 are not working while inputs 3-6 work fine. Inputs were tested only by connecting GND to input 1-6 via jumper wire.
Chat with Aliexpress seller asked to contact via Whatsapp. After doing everything required I was asked to post here (don't know why).
What I have done:
Step 1. ESPHome
I tested it with ESPHome code from here https://devices.esphome.io/devices/KinCony-KC868-A6.
Digital inputs 3-6 work, digital inputs 1-2 don't work, relays 1-6 work.
Step 2. Arduino code
I tested with this code:
It monitors inputs and prints out values. Inputs 1-2 don't print anything, inputs 3-6 work fine.
Step 3. KCS firmware
Whatsapp chat told to: "you can download KCS firmware to test board whether work well"
I did that and tested again the same scenarios. Result is the same: Digital inputs 3-6 work, digital inputs 1-2 don't work, relays 1-6 work.
---
What should I do?
I ordered A6 from Aliexpress. Seems the device otherwise works well, but digital inputs 1-2 are not working while inputs 3-6 work fine. Inputs were tested only by connecting GND to input 1-6 via jumper wire.
Chat with Aliexpress seller asked to contact via Whatsapp. After doing everything required I was asked to post here (don't know why).
What I have done:
Step 1. ESPHome
I tested it with ESPHome code from here https://devices.esphome.io/devices/KinCony-KC868-A6.
Digital inputs 3-6 work, digital inputs 1-2 don't work, relays 1-6 work.
Step 2. Arduino code
I tested with this code:
Code:
#include <Wire.h>
#include "PCF8574.h"
#define SDA_PIN 4 // I2C SDA pin
#define SCL_PIN 15 // I2C SCL pin
PCF8574 pcf8574_input(0x22); // PCF8574 address for inputs
void setup() {
Serial.begin(115200);
Wire.begin(SDA_PIN, SCL_PIN);
// Initialize PCF8574 inputs
for (int i = 0; i < 6; i++) {
pcf8574_input.pinMode(i, INPUT);
}
// Check if PCF8574 is detected
if (!pcf8574_input.begin()) {
Serial.println("Error: PCF8574 (0x22) not detected!");
} else {
Serial.println("PCF8574 (0x22) detected.");
}
}
void loop() {
Serial.print("Inputs: ");
// Read all 6 input pins
for (int i = 0; i < 6; i++) {
int state = pcf8574_input.digitalRead(i);
Serial.print(state);
Serial.print(" "); // Print space between values
}
Serial.println(); // New line
delay(500); // Delay for readability
}
It monitors inputs and prints out values. Inputs 1-2 don't print anything, inputs 3-6 work fine.
Step 3. KCS firmware
Whatsapp chat told to: "you can download KCS firmware to test board whether work well"
I did that and tested again the same scenarios. Result is the same: Digital inputs 3-6 work, digital inputs 1-2 don't work, relays 1-6 work.
---
What should I do?