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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,648
» Latest member: nk88eccom
» Forum threads: 4,195
» Forum posts: 20,845

Full Statistics

Online Users
There are currently 65 online users.
» 0 Member(s) | 49 Guest(s)
Amazonbot, Baidu, Crawl, Google, PetalBot, Semrush, bot, owler

Latest Threads
KCS VERSUS ESPHOME
Forum: "KCS" v3 firmware
Last Post: admin
08-20-2026, 10:20 PM
» Replies: 1
» Views: 17
KC868-AGv3
Forum: Getting Started with ESPHome and Home Assistant
Last Post: admin
08-20-2026, 10:18 PM
» Replies: 5
» Views: 72
[arduino code examples fo...
Forum: KC868-A32/A32 Pro
Last Post: huanmarie
08-19-2026, 07:09 AM
» Replies: 2
» Views: 1,592
KC868-H32B V5.08 firmware
Forum: News
Last Post: meoowu77
08-18-2026, 11:46 AM
» Replies: 24
» Views: 8,420
KinCony B2 Smart Controll...
Forum: News
Last Post: admin
08-17-2026, 01:07 PM
» Replies: 0
» Views: 46
KC868-A8v3 PCB layout CAD...
Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file
Last Post: admin
08-17-2026, 08:44 AM
» Replies: 0
» Views: 51
CT Clamp Compatibility
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
08-16-2026, 11:08 PM
» Replies: 12
» Views: 2,049
N60 Sensor channel label
Forum: N60
Last Post: marekd1
08-14-2026, 09:14 PM
» Replies: 18
» Views: 2,455
solar production and cons...
Forum: N30
Last Post: admin
08-14-2026, 01:46 AM
» Replies: 3
» Views: 124
Current direction detecti...
Forum: N30
Last Post: admin
08-14-2026, 01:44 AM
» Replies: 3
» Views: 116

  H32B Pro/H32BS RS485 command list for KNX bus converter
Posted by: admin - 07-20-2023, 02:10 AM - Forum: KC868-HxB series Smart Controller - No Replies

   
This is demo solution, KinCony H32B Pro relay controller work with KNX system. 8 gang switch panel is KNX type.
KinCony H32B Pro / H32BS relay controller RS485 command list:

send: Turn ON Relay1:01 05 00 00 FF 00 8C 3A  receive:01 05 00 00 FF 00 8C 3A
send: Turn ON Relay2:01 05 00 01 FF 00 DD FA  receive:01 05 00 01 FF 00 DD FA
send: Turn ON Relay3:01 05 00 02 FF 00 2D FA  receive:01 05 00 02 FF 00 2D FA
send: Turn ON Relay4:01 05 00 03 FF 00 7C 3A  receive:01 05 00 03 FF 00 7C 3A
send: Turn ON Relay5:01 05 00 04 FF 00 CD FB  receive:01 05 00 04 FF 00 CD FB
send: Turn ON Relay6:01 05 00 05 FF 00 9C 3B  receive:01 05 00 05 FF 00 9C 3B
send: Turn ON Relay7:01 05 00 06 FF 00 6C 3B  receive:01 05 00 06 FF 00 6C 3B
send: Turn ON Relay8:01 05 00 07 FF 00 3D FB  receive:01 05 00 07 FF 00 3D FB
send: Turn ON Relay9:01 05 00 08 FF 00 0D F8  receive:01 05 00 08 FF 00 0D F8
send: Turn ON Relay10:01 05 00 09 FF 00 5C 38  receive:01 05 00 09 FF 00 5C 38
send: Turn ON Relay11:01 05 00 0A FF 00 AC 38  receive:01 05 00 0A FF 00 AC 38
send: Turn ON Relay12:01 05 00 0B FF 00 FD F8  receive:01 05 00 0B FF 00 FD F8
send: Turn ON Relay13:01 05 00 0C FF 00 4C 39  receive:01 05 00 0C FF 00 4C 39
send: Turn ON Relay14:01 05 00 0D FF 00 1D F9  receive:01 05 00 0D FF 00 1D F9
send: Turn ON Relay15:01 05 00 0E FF 00 ED F9  receive:01 05 00 0E FF 00 ED F9
send: Turn ON Relay16:01 05 00 0F FF 00 BC 39  receive:01 05 00 0F FF 00 BC 39
send: Turn ON Relay17:01 05 00 10 FF 00 8D FF  receive:01 05 00 10 FF 00 8D FF
send: Turn ON Relay18:01 05 00 11 FF 00 DC 3F  receive:01 05 00 11 FF 00 DC 3F
send: Turn ON Relay19:01 05 00 12 FF 00 2C 3F  receive:01 05 00 12 FF 00 2C 3F
send: Turn ON Relay20:01 05 00 13 FF 00 7D FF  receive:01 05 00 13 FF 00 7D FF
send: Turn ON Relay21:01 05 00 14 FF 00 CC 3E  receive:01 05 00 14 FF 00 CC 3E
send: Turn ON Relay22:01 05 00 15 FF 00 9D FE  receive:01 05 00 15 FF 00 9D FE
send: Turn ON Relay23:01 05 00 16 FF 00 6D FE  receive:01 05 00 16 FF 00 6D FE
send: Turn ON Relay24:01 05 00 17 FF 00 3C 3E  receive:01 05 00 17 FF 00 3C 3E
send: Turn ON Relay25:01 05 00 18 FF 00 0C 3D  receive:01 05 00 18 FF 00 0C 3D
send: Turn ON Relay26:01 05 00 19 FF 00 5D FD  receive:01 05 00 19 FF 00 5D FD
send: Turn ON Relay27:01 05 00 1A FF 00 AD FD  receive:01 05 00 1A FF 00 AD FD
send: Turn ON Relay28:01 05 00 1B FF 00 FC 3D  receive:01 05 00 1B FF 00 FC 3D
send: Turn ON Relay29:01 05 00 1C FF 00 4D FC  receive:01 05 00 1C FF 00 4D FC
send: Turn ON Relay30:01 05 00 1D FF 00 1C 3C  receive:01 05 00 1D FF 00 1C 3C
send: Turn ON Relay31:01 05 00 1E FF 00 EC 3C  receive:01 05 00 1E FF 00 EC 3C
send: Turn ON Relay32:01 05 00 1F FF 00 BD FC  receive:01 05 00 1F FF 00 BD FC
---------------------------------------------------------------------

send: Turn OFF Relay1:01 05 00 00 00 00 CD CA  receive:01 05 00 00 00 00 CD CA
send: Turn OFF Relay2:01 05 00 01 00 00 9C 0A  receive:01 05 00 01 00 00 9C 0A
send: Turn OFF Relay3:01 05 00 02 00 00 6C 0A  receive:01 05 00 02 00 00 6C 0A
send: Turn OFF Relay4:01 05 00 03 00 00 3D CA  receive:01 05 00 03 00 00 3D CA
send: Turn OFF Relay5:01 05 00 04 00 00 8C 0B  receive:01 05 00 04 00 00 8C 0B
send: Turn OFF Relay6:01 05 00 05 00 00 DD CB  receive:01 05 00 05 00 00 DD CB
send: Turn OFF Relay7:01 05 00 06 00 00 2D CB  receive:01 05 00 06 00 00 2D CB
send: Turn OFF Relay8:01 05 00 07 00 00 7C 0B  receive:01 05 00 07 00 00 7C 0B
send: Turn OFF Relay9:01 05 00 08 00 00 4C 08  receive:01 05 00 08 00 00 4C 08
send: Turn OFF Relay10:01 05 00 09 00 00 1D C8  receive:01 05 00 09 00 00 1D C8
send: Turn OFF Relay11:01 05 00 0A 00 00 ED C8  receive:01 05 00 0A 00 00 ED C8
send: Turn OFF Relay12:01 05 00 0B 00 00 BC 08  receive:01 05 00 0B 00 00 BC 08
send: Turn OFF Relay13:01 05 00 0C 00 00 0D C9  receive:01 05 00 0C 00 00 0D C9
send: Turn OFF Relay14:01 05 00 0D 00 00 5C 09  receive:01 05 00 0D 00 00 5C 09
send: Turn OFF Relay15:01 05 00 0E 00 00 AC 09  receive:01 05 00 0E 00 00 AC 09
send: Turn OFF Relay16:01 05 00 0F 00 00 FD C9  receive:01 05 00 0F 00 00 FD C9
send: Turn OFF Relay17:01 05 00 10 00 00 CC 0F  receive:01 05 00 10 00 00 CC 0F
send: Turn OFF Relay18:01 05 00 11 00 00 9D CF  receive:01 05 00 11 00 00 9D CF
send: Turn OFF Relay19:01 05 00 12 00 00 6D CF  receive:01 05 00 12 00 00 6D CF
send: Turn OFF Relay20:01 05 00 13 00 00 3C 0F  receive:01 05 00 13 00 00 3C 0F
send: Turn OFF Relay21:01 05 00 14 00 00 8D CE  receive:01 05 00 14 00 00 8D CE
send: Turn OFF Relay22:01 05 00 15 00 00 DC 0E  receive:01 05 00 15 00 00 DC 0E
send: Turn OFF Relay23:01 05 00 16 00 00 2C 0E  receive:01 05 00 16 00 00 2C 0E
send: Turn OFF Relay24:01 05 00 17 00 00 7D CE  receive:01 05 00 17 00 00 7D CE
send: Turn OFF Relay25:01 05 00 18 00 00 4D CD  receive:01 05 00 18 00 00 4D CD
send: Turn OFF Relay26:01 05 00 19 00 00 1C 0D  receive:01 05 00 19 00 00 1C 0D
send: Turn OFF Relay27:01 05 00 1A 00 00 EC 0D  receive:01 05 00 1A 00 00 EC 0D
send: Turn OFF Relay28:01 05 00 1B 00 00 BD CD  receive:01 05 00 1B 00 00 BD CD
send: Turn OFF Relay29:01 05 00 1C 00 00 0C 0C  receive:01 05 00 1C 00 00 0C 0C
send: Turn OFF Relay30:01 05 00 1D 00 00 5D CC  receive:01 05 00 1D 00 00 5D CC
send: Turn OFF Relay31:01 05 00 1E 00 00 AD CC  receive:01 05 00 1E 00 00 AD CC
send: Turn OFF Relay32:01 05 00 1F 00 00 FC 0C  receive:01 05 00 1F 00 00 FC 0C

----------------------------------------------------------------

ALL ON:
send:01 0F 00 00 00 20 04 FF FF FF FF C5 1C  receive:01 0F 00 00 00 20 54 13

ALL OFF:
send:01 0F 00 00 00 20 04 00 00 00 00 C4 88  receive:01 0F 00 00 00 20 54 13

   
   
   



Attached Files
.txt   H32B_Pro_H32BS_RS485_Command_List.txt (Size: 5.71 KB / Downloads: 554)
.zip   RS485_Configuration_V1.1.3.zip (Size: 5.61 MB / Downloads: 819)
Print this item

  RS232 FEMALE cable +KC868-AK
Posted by: KinCony Support - 07-20-2023, 01:43 AM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - No Replies

   

Print this item

  KC868-A8-E
Posted by: avihay - 07-19-2023, 12:55 PM - Forum: "KCS" v2 firmware system - Replies (19)

I was able to create a recording of the remote for the generator, it records the ignition frequency and that when I send a test it does not turn on the generator, is there a possibility that I end an on or off that will send the code several times in a row? And in the background of the recording?



Attached Files
.txt   karavan.txt (Size: 11.43 KB / Downloads: 717)
Print this item

  Custom Control Box
Posted by: LTDU - 07-19-2023, 09:52 AM - Forum: DIY Project - Replies (3)

Dear team,

do you also do custom control boxes? In my case I‘d need a KC868-a64, about 8 holes for lamps/switches and a LCD display.

Let me know if you do custom configurations, so I can support more details. This is for a prototype that might become series.

Print this item

  [Arduino source code for KC868-M16v2]-05 simple usage detect AC voltage
Posted by: admin - 07-18-2023, 01:39 PM - Forum: KC868-M16 / M1 / MB / M30 - No Replies

Code:
/**
* This program shows you how to use the basics of this library.
*/

#include <ZMPT101B.h>

//#define SENSITIVITY 500.0f
#define SENSITIVITY 507.25f

// ZMPT101B sensor output connected to analog pin A0
// and the voltage source frequency is 50 Hz.
ZMPT101B voltageSensor(34, 50.0);

void setup() {
  Serial.begin(115200);
  // Change the sensitivity value based on value you got from the calibrate
  // example.
  voltageSensor.setSensitivity(SENSITIVITY);
}

void loop() {
  // read the voltage and then print via Serial.
  float voltage = voltageSensor.getRmsVoltage();
  Serial.println(voltage);

  delay(1000);
}
before use code, install zmpt101b arduino library firstly.
[Image: attachment.php?aid=2665]

Print this item

  [Arduino source code for KC868-M16v2]-04 calibrate AC voltage
Posted by: admin - 07-18-2023, 01:37 PM - Forum: KC868-M16 / M1 / MB / M30 - No Replies

Code:
/**
* This program shows how we can get (estimate) the right sensitivity value for
* the sensor.
*
* This program will swipe from the lowest sensitivity estimate value to the
* highest. The program will stop if the voltage reading result from the sensor
* is within the specified tolerance limit or the sensitivity value has exceeded
* the highest predetermined value (which in this case is considered failed to
* be determined).
*/

#include <ZMPT101B.h>

#define ACTUAL_VOLTAGE 220.0f // Change this based on actual voltage

#define START_VALUE 0.0f
#define STOP_VALUE 1000.0f
#define STEP_VALUE 0.25f
#define TOLLERANCE 1.0f

#define MAX_TOLLERANCE_VOLTAGE (ACTUAL_VOLTAGE + TOLLERANCE)
#define MIN_TOLLERANCE_VOLTAGE (ACTUAL_VOLTAGE - TOLLERANCE)

// ZMPT101B sensor output connected to analog pin A0
// and the voltage source frequency is 50 Hz.
ZMPT101B voltageSensor(34, 50.0);

void setup() {
  Serial.begin(115200);
  Serial.print("The Actual Voltage: ");
  Serial.println(ACTUAL_VOLTAGE);

  float senstivityValue = START_VALUE;
  voltageSensor.setSensitivity(senstivityValue);
  float voltageNow = voltageSensor.getRmsVoltage();

  Serial.println("Start calculate");

  while (voltageNow > MAX_TOLLERANCE_VOLTAGE || voltageNow < MIN_TOLLERANCE_VOLTAGE) {
    if (senstivityValue < STOP_VALUE) {
      senstivityValue += STEP_VALUE;
      voltageSensor.setSensitivity(senstivityValue);
      voltageNow = voltageSensor.getRmsVoltage();
      Serial.print(senstivityValue);
      Serial.print(" => ");
      Serial.println(voltageNow);
    } else {
      Serial.println("Unfortunately the sensitivity value cannot be determined");
      return;
    }
  }

  Serial.print("Closest voltage within tolerance: ");
  Serial.println(voltageNow);
  Serial.print("Sensitivity Value: ");
  Serial.println(senstivityValue, 10);
}

void loop() {}
before use code, install zmpt101b arduino library firstly.
   

Print this item

  KC868-M16v2 configure yaml for ESPhome
Posted by: admin - 07-18-2023, 01:33 PM - Forum: KC868-M16 / M1 / MB / M30 - Replies (157)

   
   
before you config ymal file, please upload zmpt101b folder to home assistant disk:
   
unzip files, 3 files upload to disk folder as image.

.zip   zmpt101b.zip (Size: 1.83 KB / Downloads: 1672)



.txt   KC868-M16v2-ESPHome.txt (Size: 9.55 KB / Downloads: 1401)
esphome:
  name: m16
  includes:
    - zmpt101b/ZMPT101B.h
    - zmpt101b/ZMPT101B.cpp
    - zmpt101b/zmpt101b_custom_sensor.h

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "D69bY/GXlmjYkovak6WIhgmbOH8vwyqvMxIHBriYoaY="


# Example configuration entry
ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO17_OUT
  phy_addr: 0

i2c:
  sda: 4
  scl: 5
  scan: true
  id: bus_a

cd74hc4067:
  - id: cd74hc4067_1
    pin_s0: 32
    pin_s1: 33
    pin_s2: 13
    pin_s3: 16

web_server:
  port: 80

font:

  - file: "gfonts://Roboto"
    id: roboto
    size: 20

display:
  - platform: ssd1306_i2c
    model: "SSD1306 128x64"
    address: 0x3C
    lambda: |-
      it.printf(0, 0, id(roboto), "T: %.1f°C", id(temperature).state);
      it.printf(0, 20, id(roboto), "H: %.1f%%", id(humidity).state);
      it.printf(0, 40, id(roboto), "AC:%.1fV", id(voltage_2).state);

# Example configuration entry
sensor:
  - platform: custom
    lambda: |-
      auto my_sensor34 = new ZMPT101BSensor(34);
      auto my_sensor36 = new ZMPT101BSensor(36);
      auto my_sensor39 = new ZMPT101BSensor(39);
      App.register_component(my_sensor34);
      App.register_component(my_sensor36);
      App.register_component(my_sensor39);
      return {my_sensor34, my_sensor36, my_sensor39};
    sensors:
      - name: "m16--AI zmpt 34"
        id: voltage_1
        unit_of_measurement: V
        accuracy_decimals: 1
        state_class: "measurement"
      - name: "m16--AI zmpt 36"
        id: voltage_2
        unit_of_measurement: V
        accuracy_decimals: 1
        state_class: "measurement"
      - name: "m16--AI zmpt 39"
        id: voltage_3
        unit_of_measurement: V
        accuracy_decimals: 1
        state_class: "measurement"

  - platform: sht3xd
    temperature:
      name: "sht Temperature"
      id: temperature
    humidity:
      name: "sht Humidity"
      id: humidity
    address: 0x44
    update_interval: 5s

  - platform: adc
    pin: 35
    id: adc35
    update_interval: never
    attenuation: 11db

  # - platform: adc
  #  name: "m16--AI-1"
  #  pin: 36
  #  id: adc36
  #  update_interval: 60s
  #  attenuation: 11db

  # - platform: adc
  #  pin: 34
  #  name: "m16--AI-2"
  #  id: adc34
  #  update_interval: 60s
  #  attenuation: 11db

  # - platform: adc
  #  pin: 39
  #  name: "m16--AI-3"
  #  id: adc39
  #  update_interval: 60s
  #  attenuation: 11db




  - platform: cd74hc4067
    id: ai1
    number: 0
    sensor: adc35
    update_interval: 60s

  - platform: cd74hc4067
    id: ai2
    number: 1
    sensor: adc35
    update_interval: 60s

  - platform: cd74hc4067
    id: ai3
    number: 2
    sensor: adc35
    update_interval: 60s

  - platform: cd74hc4067
    id: ai4
    number: 3
    sensor: adc35
    update_interval: 60s

  - platform: cd74hc4067
    id: ai5
    number: 4
    sensor: adc35
    update_interval: 60s

  - platform: cd74hc4067
    id: ai6
    number: 5
    sensor: adc35
    update_interval: 60s

  - platform: cd74hc4067
    id: ai7
    number: 6
    sensor: adc35
    update_interval: 60s

  - platform: cd74hc4067
    id: ai8
    number: 7
    sensor: adc35
    update_interval: 60s

  - platform: cd74hc4067
    id: ai9
    number: 8
    sensor: adc35
    update_interval: 60s

  - platform: cd74hc4067
    id: ai10
    number: 9
    sensor: adc35
    update_interval: 60s

  - platform: cd74hc4067
    id: ai11
    number: 10
    sensor: adc35
    update_interval: 60s

  - platform: cd74hc4067
    id: ai12
    number: 11
    sensor: adc35
    update_interval: 60s

  - platform: cd74hc4067
    id: ai13
    number: 12
    sensor: adc35
    update_interval: 60s

  - platform: cd74hc4067
    id: ai14
    number: 13
    sensor: adc35
    update_interval: 60s

  - platform: cd74hc4067
    id: ai15
    number: 14
    sensor: adc35
    update_interval: 60s

  - platform: cd74hc4067
    id: ai16
    number: 15
    sensor: adc35
    update_interval: 60s


  - platform: ct_clamp
    sensor: ai1
    id: Measured_Current_1
    name: "Measured Current-1"
    update_interval: 5s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0.0034 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: template
    id: power1
    name: "power1"
    lambda: return id(Measured_Current_1).state * id(voltage_1).state;
    device_class: power
    unit_of_measurement: 'W'
    update_interval: 60s

  - platform: total_daily_energy
    name: "Total Daily Energy1"
    power_id: power1
    filters:
        - multiply: 0.001
    unit_of_measurement: kWh
    accuracy_decimals: 3
    icon: mdi:clock-alert
    device_class: energy


  - platform: ct_clamp
    sensor: ai2
    name: "Measured Current-2"
    update_interval: 60s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai3
    name: "Measured Current-3"
    update_interval: 60s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai4
    name: "Measured Current-4"
    update_interval: 60s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai5
    name: "Measured Current-5"
    update_interval: 60s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai6
    name: "Measured Current-6"
    update_interval: 60s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai7
    name: "Measured Current-7"
    update_interval: 60s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai8
    name: "Measured Current-8"
    update_interval: 60s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai9
    name: "Measured Current-9"
    update_interval: 60s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai10
    name: "Measured Current-10"
    update_interval: 60s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai11
    name: "Measured Current-11"
    update_interval: 60s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai12
    name: "Measured Current-12"
    update_interval: 60s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai13
    name: "Measured Current-13"
    update_interval: 60s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai14
    name: "Measured Current-14"
    update_interval: 60s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai15
    name: "Measured Current-15"
    update_interval: 60s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai16
    name: "Measured Current-16"
    update_interval: 60s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

time:
  - platform: sntp
    id: my_time

Print this item

  KC868-M16v2 ESP32 I/O pin define
Posted by: admin - 07-18-2023, 01:28 PM - Forum: KC868-M16 / M1 / MB / M30 - No Replies

Ethernet (LAN8720) I/O define:

#define ETH_ADDR        0
#define ETH_POWER_PIN  -1
#define ETH_MDC_PIN    23
#define ETH_MDIO_PIN  18
#define ETH_TYPE      ETH_PHY_LAN8720
#define ETH_CLK_MODE  ETH_CLOCK_GPIO17_OUT

IIC BUS:
SDA:4
SCL:5

SD card:
MISO: 2
MOSI: 15
SCK: 14

AC voltage-detect-1: 34
AC voltage-detect-2: 39
AC voltage-detect-3: 36

analog input1 (for 74HC4067) 35
GPIO35 use for 74HC4067 extend 16 channel analog input

74HC4067:
S0:32
S1:33
S2:13
S3:16

SHT30 temperature sensor i2c address: 0x44

SSD1306 i2c address: 0x3C

Print this item

  KC868-A16 LCD issue
Posted by: dany_l2003 - 07-17-2023, 06:30 PM - Forum: KC868-A16 - Replies (8)

Hi, i just bought KS868-A16 Rev1.6 and i have problems connecting a serial LCD.

Port connected P19
LCD-serial controller PC8574T
LCD model 20x4

Testet whith 3,3V also whith 5V
Scan whith Arduino i2c scanner no results.

LCD tested on Arduino Uno is ok.
KC868-A16 tested whith a simplet test IO ok.
Try whith simple Arduino examples i2c LCD
Try wired the LCD examples SCL/SDA to IO 4/5
Any help please?

Print this item

  KC868-A6 Hardware function diagram
Posted by: KinCony Support - 07-17-2023, 04:56 AM - Forum: KC868-A6 - No Replies

   

Print this item