Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-A inputs pulses
#1
Which inputs are best used to read pulses. (KC868-A  V1.6) 
For example, from a water sensor. 0-5V range? 
I think A1-A2 or S3-S4? 
How to correctly write a configuration for such an input?


Attached Files Image(s)
   
Reply
#2
i don't know your pulse frequency. you can use by 1-wire port or digital input port, not use by analog input ports.
Reply
#3
(03-29-2025, 12:00 AM)admin Wrote: i don't know your pulse frequency. you can use by 1-wire port or digital input port, not use by analog input ports.

Did I write the code and pin correctly for ESP Home?
Code:
sensor:
  - platform: pulse_counter
    pin: GPIO14
    name: "Pulse Counter"
Reply
#4
this need test , connect with your pulse sensor.
Reply
#5
(03-29-2025, 11:37 PM)admin Wrote: this need test , connect with your pulse sensor.

 KC868-A8 v1.6  Which outputs on the ESP correspond to the S1 S2 S3 S4 outputs? 
I already know that S1=  GPIO14; S2 =  GPIO13 а S3 S4 ?
Reply
#6
https://www.kincony.com/forum/showthread.php?tid=823
Reply
#7
@Block Blast For reading pulses from a water sensor on the KC868-A V1.6, the S3-S4 digital inputs are best since they handle discrete high/low signals effectively.
Reply
#8
(03-30-2025, 10:47 PM)admin Wrote: https://www.kincony.com/forum/showthread.php?tid=823

I didn't get it. 
Contactors  32 and 33 are used simultaneously on #define ANALOG_A1  32; #define ANALOG_A2  33 ; S3: GPIO32; S4: GPIO33 ?
If on S (32; 33) then which contats  on the A1; A2?
Reply
#9
#define ANALOG_A1  34
#define ANALOG_A2  35

IIC SDA:4
IIC SCL:5

Relay_IIC_address 0x24

Input_IIC_address 0x22

DS18B20/DHT11/DHT21/LED strip -1: 14
DS18B20/DHT11/DHT21/LED strip -2: 13
DS18B20/DHT11/DHT21/LED strip -2: 32
DS18B20/DHT11/DHT21/LED strip -2: 33


RF433MHz wireless receiver: 2
RF433MHz wireless sender: 15

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)