Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to measure current using Analog Inputs on KC868-A16?
#1
dear admin,
I need to measure current on one phase (230V AC). I would like to use Analog Inputs on the A16 module for this (there are 4 inputs in total). I bought a CT clamp "SCT-013 5A=1V". I tested it and at 5A on the measured phase it has 1V AC at the output.
   
Can you advise me how to connect it correctly and how to configure it in ESPHome (in Home Assistant)? Now I have the inputs configured like this...
Code:
sensor:
  - platform: adc
    pin: 36
    name: "analogInput1"
    update_interval: 10s
    attenuation: 12db

  - platform: adc
    pin: 34
    name: "analogInput2"
    update_interval: 10s
    attenuation: 12db

  - platform: adc
    pin: 35
    name: "analogInput3"
    update_interval: 10s
    attenuation: 12db

  - platform: adc
    pin: 39
    name: "analogInput4"
    update_interval: 10s
    attenuation: 12db

...but the values are 0.14V, which is nonsense:

   

Thanks in advance
Reply
#2
no, can't use by this way. the CT clamp sensor output AC signal, KC868-A16 analog input use by DC signal.
if you want use by CT clamp sensor, need use M30 board.
Reply
#3
thank you for the quick response. 
I was afraid that my plan would not work, but buying the M30 module for measuring current on one or two phases does not make sense. 

can I connect a device like "Split Core Current Transmitter 0-500A AC DC Hall Current Sensor Transducer 20mm Hole 0-10V 4-20mA RS485 Current Transmitter" (eg: https://vi.aliexpress.com/item/1005007120648979.html ) in the "0-5V Output" variant to the analog input A16? 
if yes, is the code below correct for this purpose?
Code:
sensor:
  - platform: adc
    pin: 36
    name: "analogInput1"
    update_interval: 1s
    attenuation: 12db

and why is the voltage 0.14V displayed on an input that is not occupied? is this OK, or is there a defect in the analog input?

regards
Reply
#4
just make sure your sensor output signal is DC , not AC. you'd better confirm with the sensor's sell.
This is a normal phenomenon, as you may need calibration in home assistant.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)