Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-A8 V1.7.1 — Complete Verified DS18B20 Sensor Connector Pinout and ESPHome YAML
#1
KinCony KC868-A8 V1.7.1 — Verified DS18B20 Temperature Sensor Pinout and ESPHome Configuration
Hardware: KinCony KC868-A8, PCB revision V1.7.1
Firmware: ESPHome with ESP-IDF framework
Connection: Wired Ethernet (LAN8720)
Sensors tested: Konnected waterproof DS18B20 temperature probes
Verification date: October 19, 2026
1. Overview
The KC868-A8 V1.7.1 has a six-position connector providing four independent DS18B20 temperature sensor data connections, 3.3 V power, and ground.
The connector terminals are not individually labeled on this board revision. The following pinout was established through electrical measurements and successful operation of DS18B20 sensors using ESPHome.
All four temperature inputs have been tested successfully.
2. Verified connector pinout
Terminal numbering begins with the terminal nearest the USB-C connector.
Terminal
Connection
ESP32 GPIO
Verification
1
+3.3 V
—
Continuity to 3V3 test point
2
S4
GPIO33
DS18B20 operational
3
S3
GPIO32
DS18B20 operational
4
S2
GPIO13
DS18B20 operational
5
S1
GPIO14
DS18B20 operational
6
GND
—
Continuity to power supply negative
Physical terminal diagram
The following diagram shows the connector with the USB-C socket at the bottom.
Code:
        KC868-A8 V1.7.1
        Six-terminal block
       ┌──────────────────┐
       │ 6   GND          │
       ├──────────────────┤
       │ 5   S1  GPIO14   │
       ├──────────────────┤
       │ 4   S2  GPIO13   │
       ├──────────────────┤
       │ 3   S3  GPIO32   │
       ├──────────────────┤
       │ 2   S4  GPIO33   │
       ├──────────────────┤
       │ 1   +3.3 V       │
       └──────────────────┘
                 │
              USB-C
This represents the vertical orientation shown in the board photographs, with terminal 1 nearest USB-C.
3. Electrical verification
With the board disconnected from power:
  • Terminal 1 showed continuity to the PCB's 3V3 test point.
  • Terminal 6 showed continuity to power supply ground.
  • Terminals 2, 3, 4, and 5 each measured approximately 4.7 kΩ to terminal 1.
With power applied and no temperature sensors connected:
  • Terminals 1–5 each measured approximately 3.29 V relative to ground.
The four 4.7 kΩ resistances are consistent with pull-up resistors for DS18B20 OneWire communication.
No additional external pull-up resistors were needed during testing.
4. Sensor connections
The Konnected waterproof DS18B20 probes used in testing have the following wire assignments:
Probe wire
Connection
Red
+3.3 V — terminal 1
Yellow
OneWire data — terminal 2, 3, 4, or 5
Black
GND — terminal 6
All four temperature inputs share the same power and ground terminals.
The wiring colors are specific to the probes tested. Verify the pinout of other manufacturers' probes before connecting them.
5. ESPHome configuration
The following is a complete example for the KC868-A8 V1.7.1, retaining all eight relays and eight optically isolated digital inputs while configuring S1–S4 as temperature inputs.
Replace the API encryption key placeholder with your own existing key.
Code:
esphome:
  name: kc868-a8-boiler-outlets
  friendly_name: KC868-A8-Boiler outlets
esp32:
  variant: esp32
  framework:
    type: esp-idf
logger:
api:
  encryption:
    key: "YOUR_EXISTING_API_ENCRYPTION_KEY"
ota:
  - platform: esphome
ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk:
    pin: GPIO17
    mode: CLK_OUT
  phy_addr: 0
i2c:
  sda: GPIO4
  scl: GPIO5
  scan: true
  id: bus_a
pcf8574:
  - id: pcf8574_hub_out_1
    address: 0x24
  - id: pcf8574_hub_in_1
    address: 0x22
# Eight relay outputs
switch:
  - platform: gpio
    name: "Boiler Outlet 1"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 0
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "Boiler Outlet 2"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 1
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "Boiler Outlet 3"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 2
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "Boiler Outlet 4"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 3
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "Boiler Outlet 5"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 4
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "Boiler Outlet 6"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 5
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "Boiler Outlet 7"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 6
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "Boiler Outlet 8"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 7
      mode: OUTPUT
      inverted: true
# Eight optically isolated digital inputs
binary_sensor:
  - platform: gpio
    name: "Boiler Input 1"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 0
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "Boiler Input 2"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 1
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "Boiler Input 3"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 2
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "Boiler Input 4"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 3
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "Boiler Input 5"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 4
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "Boiler Input 6"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 5
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "Boiler Input 7"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 6
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "Boiler Input 8"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 7
      mode: INPUT
      inverted: true
# Four dedicated OneWire temperature inputs
one_wire:
  - platform: gpio
    pin: GPIO14
    id: boiler_temp_bus_1
  - platform: gpio
    pin: GPIO13
    id: boiler_temp_bus_2
  - platform: gpio
    pin: GPIO32
    id: boiler_temp_bus_3
  - platform: gpio
    pin: GPIO33
    id: boiler_temp_bus_4
# DS18B20 temperature sensors
sensor:
  - platform: dallas_temp
    one_wire_id: boiler_temp_bus_1
    name: "Boiler Temperature 1"
    update_interval: 10s
  - platform: dallas_temp
    one_wire_id: boiler_temp_bus_2
    name: "Boiler Temperature 2"
    update_interval: 10s
  - platform: dallas_temp
    one_wire_id: boiler_temp_bus_3
    name: "Boiler Temperature 3"
    update_interval: 10s
  - platform: dallas_temp
    one_wire_id: boiler_temp_bus_4
    name: "Boiler Temperature 4"
    update_interval: 10s
6. Test results
Two Konnected DS18B20 probes were used for verification.
S1 and S2 were successfully operated simultaneously, producing valid temperature readings in Home Assistant.
The second probe was then moved between the S3 and S4 connections, and both were successfully detected using their respective GPIO assignments.
All four data inputs are therefore confirmed operational.
Because each input uses a separate OneWire bus, up to four temperature probes can be connected using this configuration, with one probe assigned to each input.
7. Important observations
  1. The eight DI1–DI8 optically isolated inputs are separate from the four dedicated temperature inputs.
  2. GPIO32 and GPIO33 must not be configured simultaneously as binary inputs and OneWire temperature inputs.
  3. The connector's 3.3 V supply and ground are shared among the temperature sensors.
  4. Other KC868-A8 board revisions may use different physical terminal arrangements.
  5. This pinout was verified on PCB revision V1.7.1 and should not be assumed correct for other revisions without checking.
8. Conclusion
The KC868-A8 V1.7.1 supports four independently connected DS18B20 temperature sensors using GPIO14, GPIO13, GPIO32 and GPIO33.
The six-terminal sensor connector has now been electrically mapped and all four OneWire data connections have been verified through actual temperature sensor operation.
These findings are provided to assist other KinCony KC868-A8 users and to supplement the manufacturer's existing documentation.


Suggested documentation title:
KC868-A8 V1.7.1 — Complete Verified DS18B20 Sensor Connector Pinout and ESPHome YAML


Attached Files
.pdf   Kincony KC868-a8 pin id.pdf (Size: 445.27 KB / Downloads: 6)
Reply


Forum Jump:


Users browsing this thread: