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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 10,367
» Latest member: hi88wcco
» Forum threads: 4,311
» Forum posts: 21,277

Full Statistics

Online Users
There are currently 323 online users.
» 0 Member(s) | 298 Guest(s)
AhrefsBot, Amazonbot, Applebot, Baidu, Bing, Bytespider, Crawl, Facebook, Google, HeadlessChrome, PetalBot, Twitter, bot, facebookexternalhit, owler

Latest Threads
ESPHome modbus not functi...
Forum: KC868-A8S
Last Post: admin
2 hours ago
» Replies: 3
» Views: 607
SSD not visible for insta...
Forum: Pi5R16
Last Post: admin
Yesterday, 12:30 PM
» Replies: 20
» Views: 884
B32M And new ESPHOME Buil...
Forum: B32M
Last Post: admin
Yesterday, 12:29 PM
» Replies: 1
» Views: 11
[arduino code examples fo...
Forum: T16M
Last Post: admin
Yesterday, 08:42 AM
» Replies: 0
» Views: 3
[arduino code examples fo...
Forum: T16M
Last Post: admin
Yesterday, 08:41 AM
» Replies: 0
» Views: 5
B8 – Defective screw term...
Forum: B8
Last Post: admin
10-28-2026, 11:57 PM
» Replies: 1
» Views: 5
[arduino code examples fo...
Forum: B2
Last Post: admin
10-28-2026, 12:53 AM
» Replies: 0
» Views: 9
[arduino code examples fo...
Forum: B2
Last Post: admin
10-28-2026, 12:50 AM
» Replies: 0
» Views: 12
KC868-A16 – KCS v2.2.20 M...
Forum: KC868-A16
Last Post: admin
10-27-2026, 11:25 PM
» Replies: 1
» Views: 41
kc868-A8S v2 not working ...
Forum: KC868-A8S
Last Post: admin
10-26-2026, 07:00 AM
» Replies: 13
» Views: 5,152

  Need help with A16 + relay module
Posted by: vitoi - 01-23-2025, 08:54 PM - Forum: KC868-A16 - Replies (3)

I'm trying to use the outputs of the A16 to control the relays of a 16-Channel 12V Relay Module that will be used for AC lights. The board is is a low-level trigger and you can see in the following pictures that I'm testing relays 16 and 15 by wiring them to GND:

   

   

Both relays seems to work fine that way, but when I try to use the A16 outputs to control it here's what happens:
Notice that the relay 16 is triggered properly, but the LED on output 16 is lit with a dim light (I've set output 14 as ON so you can compare both LEDs)

   

Now if I try to use relay 15 it doesn't work:

   

Am I doing something wrong here? The A16 output LED getting a dim light when I connect it to the relay board seems a bit odd to me, and it not being able to control all relays on the module is also odd.

I've tested all relays connecting them directly to GND and they all work, but when I do it via the A16 outputs only some of them work (e.g. 16 and 14 works but 15 and 13 do not). Could this be an issue on the relay module?

The power supply that I'm using is a brand new Mean Well HDR-60-12

Print this item

Photo KCS V2 auto send ADC values
Posted by: csacomani - 01-23-2025, 06:44 PM - Forum: "KCS" v2 firmware system - Replies (3)

Dear all, I am using the K868-A4 board with KCS V2.2.10, I have a 4-20mA sensor connected to AI1 and I am receiving the values correctly on the Monitor.

[Image: EcwAxPcQMf1Drb4YJdFE-JkBvdIKEmHErIzHgfyHqBZsfA?e=33LEYQ]
https://authomathikacombr-my.sharepoint....A?e=v47SsH

My MQTT server is configured and turned on, I receive information from my digital inputs and outputs, when they change their state, but I need to receive the data from my AD1 input, I went to System and activated the "auto send ADC values" option which would have to send me the data every 5 seconds!
This does not happen!


[Image: ERLWwJsBziVNphY78DI1jvEBdrsVh-gg7byycFJ9vNARoA?e=iWEXQ6]

https://authomathikacombr-my.sharepoint....A?e=nnugET

What should I do to make this configuration work?

Print this item

  Request for Assistance with ESPHome Setup and GPIO Configuration for Air Conditioners
Posted by: engrezk - 01-23-2025, 09:16 AM - Forum: KC868-AG / AG Pro / AG8 / Z1 - Replies (4)

Dear Support Team,

I hope this message finds you well. I have a few questions, and I would greatly appreciate your guidance and expertise:

  1. How can I control four air conditioning units (Gree, Daikin, Samsung, and Toshiba) using four GPIO pins? Could you kindly assist me in setting up the ESPHome YAML file for this configuration?
  2. Is it possible to utilize eight channels for controlling devices? If so, I would be grateful if you could provide some insights on how this can be implemented effectively.
  3. Lastly, could you please share any updates on when the KCSFirmware will be released? I am eagerly looking forward to its availability.
Thank you so much for your time and support. I truly appreciate your help and look forward to your response.
Best regards,
Smile

Print this item

  new project
Posted by: Mohammed10 - 01-23-2025, 05:23 AM - Forum: Apply for free sample product - Replies (1)

I have a project involving three motors that I would like to connect to a wind sensor, a light sensor, and a light LED sounder sensor. For power, I will use a solar panel connected to a battery, which will provide power to a relay controller. Which relay controller should I use, and what steps should I follow?
Thank you!

Print this item

  External relays
Posted by: Nikola - 01-22-2025, 08:16 PM - Forum: DIY Project - Replies (7)

Dear,

Why add external relays if the controller A32 pro has its own internal relays?

Print this item

  PCF8574 and SSD1306
Posted by: Marzalan - 01-22-2025, 04:01 PM - Forum: KC868-A6 - Replies (3)

Hello
How to get ssd1306 oled display to work in a same solution with digital in and out.
Both works in its own solution, but not together each others.
Looked like they are both using same clk and dma?

Print this item

  HTTP commands
Posted by: alan.llm - 01-22-2025, 03:25 PM - Forum: KC868-A32/A32 Pro - Replies (2)

Hello, is there a way in the KC868-A32 to activate the output relays via HTTP commands?

Thanks,
Alan

Print this item

  How to connect NTC 10K TO INA ?
Posted by: land88 - 01-22-2025, 11:43 AM - Forum: KC868-A4S - Replies (1)

Hi,

Do you have a scheme to explain how to connect a NTC Thermistor sensor B3950 10K to a KC868 S series (the wire and if something else is necessary to add) ?

thanks.

Print this item

  KinCony TS Tiny sensor PC software and modbus protocol
Posted by: admin - 01-21-2025, 12:40 AM - Forum: Extender module - No Replies

Modbus protocol:

A. input register function:

temperature : 16bit unsigned integer register
humidity: 16bit unsigned integer register

address    function
0000H        temperature value
            unit: ℃
            fixed 1 decimal
            (1) >0℃: register data<10000
                          for example: register value=250, actual temperature: 250*0.1=25℃
            (2) <0℃: register data>=10000
                          for example: register value=10250, actual temperature: -1*(10250-10000)*0.1=25℃
------------------------------------
0001H        humidity value
            unit: %RH
            fixed 1 decimal
                          for example: register value=500, actual humidity: 500*0.1=50(%RH)
------------------------------------
0002H        temperature value
0003H        unit: ℃  decode: 32bit float data
------------------------------------
0004H        humidity value
0005H        unit: %RH  decode: 32bit float data


B. Hold register function:
The contents of the register are saved when power is turned off. The holding register is a readable and writable register. The value in each register is a 16-bit unsigned integer.

address    function
0000H        temperature value
            unit: ℃
            fixed 1 decimal
            (1) >0℃: register data<10000
                          for example: register value=250, actual temperature: 250*0.1=25℃
            (2) <0℃: register data>=10000
                          for example: register value=10250, actual temperature: -1*(10250-10000)*0.1=25℃
------------------------------------
0001H        humidity value
            unit: %RH
            fixed 1 decimal
                          for example: register value=500, actual humidity: 500*0.1=50(%RH)
------------------------------------
0002H        temperature value
0003H        unit: ℃  decode: 32bit float data
------------------------------------
0004H        humidity value
0005H        unit: %RH  decode: 32bit float data
------------------------------------
000AH        RS485 bus address(1-255), default:1 
            Note: This parameter is saved after power-off and will take effect after power-on again after modification.
------------------------------------
000BH        Baud rate setting:
            0:4800  1:9600(default) 2:14400 3:19200 4:38400 5:56000 6:57600 7:115200
            Note: This parameter is saved after power-off and will take effect after power-on again after modification.
------------------------------------
003DH        Parity settings
            0:None(default)  1:odd parity 2:even parity
            Note: This parameter is saved after power-off and will take effect after power-on again after modification.

modify RS485 setting command:

register:
1001:SLAVE address 1-250
1002:Baud rate: baud_arr[8] = {4800,9600,14400,19200,38400,56000,57600,115200}
1003: Parity bit: parity_arr[3] = {UART_PARITY_NONE,UART_PARITY_EVEN,UART_PARITY_ODD}


how to remember RS485 address if you forget it.
1: every time power on will output board information by RS485 (9600,8,N,1) if you forget the board's address.
2: hold on button > 2 seconds, will reset to factory setting, default RS485 address=1

KinCony TS Temperature and humidity Application download

Print this item

  F16 ESPHome yaml for home assistant without tuya
Posted by: admin - 01-21-2025, 12:15 AM - Forum: F16 - No Replies

Code:
esphome:
  name: f16
  friendly_name: f16

esp32:
  board: esp32-s3-devkitc-1
  framework:
    type: arduino
   
# Enable logging

  # hardware_uart: USB_SERIAL_JTAG
# Enable Home Assistant API
api:
  encryption:
    key: "WeVOuL5oNhjXcfzXtTirlOwvtWvCD5yqIxd3oV4es1k="

ethernet:
  type: W5500
  clk_pin: GPIO42
  mosi_pin: GPIO43
  miso_pin: GPIO44
  cs_pin: GPIO41
  interrupt_pin: GPIO2
  reset_pin: GPIO1

i2c:
   - id: bus_a
     sda: 8
     scl: 18
     scan: true
     frequency: 400kHz

pcf8574:
  - id: 'pcf8574_hub_out_1'  # for output channel 1-16
    i2c_id: bus_a
    address: 0x25
    pcf8575: true

  - id: 'pcf8574_hub_in_1'  # for input channel 1-16
    i2c_id: bus_a
    address: 0x24
    pcf8575: true

uart:
  - id: uart_1    #RS485
    baud_rate: 9600
    debug:
      direction: BOTH
      dummy_receiver: true
      after:
        timeout: 10ms
    tx_pin: 16
    rx_pin: 17

switch:
  - platform: uart
    uart_id: uart_1
    name: "RS485 Button"
    data: [0x11, 0x22, 0x33, 0x44, 0x55]

  - platform: gpio
    name: "f16-output01"
    id: "f16_output01"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 0
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "f16-output02"
    id: "f16_output02"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 1
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "f16-output03"
    id: "f16_output03"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 2
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "f16-output04"
    id: "f16_output04"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 3
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "f16-output05"
    id: "f16_output05"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 4
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "f16-output06"
    id: "f16_output06"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 5
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "f16-output07"
    id: "f16_output07"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 6
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "f16-output08"
    id: "f16_output08"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 7
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "f16-output09"
    id: "f16_output09"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 8
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "f16-output10"
    id: "f16_output10"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 9
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "f16-output11"
    id: "f16_output11"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 10
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "f16-output12"
    id: "f16_output12"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 11
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "f16-output13"
    id: "f16_output13"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 12
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "f16-output14"
    id: "f16_output14"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 13
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "f16-output15"
    id: "f16_output15"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 14
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "f16-output16"
    id: "f16_output16"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 15
      mode: OUTPUT
      inverted: true

binary_sensor:
  - platform: gpio
    name: "f16-input01"
    id: "f16_input01"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 0
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "f16-input02"
    id: "f16_input02"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 1
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "f16-input03"
    id: "f16_input03"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 2
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "f16-input04"
    id: "f16_input04"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 3
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "f16-input05"
    id: "f16_input05"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 4
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "f16-input06"
    id: "f16_input06"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 5
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "f16-input07"
    id: "f16_input07"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 6
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "f16-input08"
    id: "f16_input08"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 7
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "f16-input09"
    id: "f16_input09"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 8
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "f16-input10"
    id: "f16_input10"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 9
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "f16-input11"
    id: "f16_input11"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 10
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "f16-input12"
    id: "f16_input12"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 11
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "f16-input13"
    id: "f16_input13"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 12
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "f16-input14"
    id: "f16_input14"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 13
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "f16-input15"
    id: "f16_input15"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 14
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "f16-input16"
    id: "f16_input16"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 15
      mode: INPUT
      inverted: true

##pull-up resistance on PCB
  - platform: gpio
    name: "f16-W1-io48"
    pin:
      number: 48
      inverted: true

  - platform: gpio
    name: "f16-W1-io47"
    pin:
      number: 47
      inverted: true

  - platform: gpio
    name: "f16-W1-io21"
    pin:
      number: 21
      inverted: true

  - platform: gpio
    name: "f16-W1-io15"
    pin:
      number: 15
      inverted: true
## without resistance on PCB
  - platform: gpio
    name: "f16-W1-io13"
    pin:
      number: 13
      inverted: false

  - platform: gpio
    name: "f16-W1-io14"
    pin:
      number: 14
      inverted:  false

  - platform: gpio
    name: "f16-433M"
    pin:
      number: 40
      inverted:  false

sensor:
  - platform: adc
    pin: 5
    name: "F16 A1 Voltage"
    update_interval: 5s
    attenuation: 11db
    filters:
      - lambda:
          if (x >= 3.11) {
            return x * 1.60256;
          } else if (x <= 0.15) {
            return 0;
          } else {
            return x * 1.51;
          }
  - platform: adc
    pin: 7
    name: "F16 A2 Voltage"
    update_interval: 5s
    attenuation: 11db
    filters:
      # - multiply: 1.51515
      - lambda:
          if (x >= 3.11) {
            return x * 1.60256;
          } else if (x <= 0.15) {
            return 0;
          } else {
            return x * 1.51;
          }
  - platform: adc
    pin: 6
    name: "F16 A3 Current"
    update_interval: 5s
    unit_of_measurement: mA
    attenuation: 11db
    filters:
      - multiply: 6.66666666
  - platform: adc
    pin: 4
    name: "F16 A4 Current"
    update_interval: 5s
    unit_of_measurement: mA
    attenuation: 11db
    filters:
      - multiply: 6.66666666

web_server:
  port: 80

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

display:
  - platform: ssd1306_i2c
    i2c_id: bus_a
    model: "SSD1306 128x64"
    address: 0x3C
    lambda: |-
      it.printf(0, 0, id(roboto), "KinCony F16");
yaml download: 
.txt   F16-HA-without-Tuya.txt (Size: 8.48 KB / Downloads: 554)

Print this item