Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
input A1 4-20mA ESPHome
#1
Hello,
please help me to configure a 4..20mA sensor

I connected a passive 4-20mA sensor
24VDC power supply (external power source) -> sensor -> current signal from the sensor to A1 KC868-A4
AGND   KC868-A4 -> GND power suppy

configuration in esphome is as in the following link

https://www.kincony.com/forum/showthread...8&pid=4140


sensor:
  - platform: adc
    pin: 34
    name: "ADC-IN"
    update_interval: 5s

The sensor configuration in the example above refers to: pin: 34   

following page
https://devices.esphome.io/devices/KinCony-KC868-A4
says
GPIO32 analog input1

what should be the correct configuration of the 4-20mA sensor in the esphome environment ?

I get readings similar to the screen below, when I warm up the temperature sensor the voltage does not change , so this is not a scaling problem just a misreading

[Image: attachment.php?aid=1180]

when I measure the current flowing between the sensor and the A1 input, its value is 16mA - the temperature range on the sensor is -50..50C - so the value of 17mA corresponds approximately to 25C

binary sensors and binary outputs work correctly under esphome (home assistant)

Where could be the problem , what should I recheck , or maybe change the configuration ?
Reply


Messages In This Thread
input A1 4-20mA ESPHome - by kgrzesiek - 09-02-2023, 10:29 AM
RE: input A1 4-20mA ESPHome - by admin - 09-03-2023, 01:40 AM
RE: input A1 4-20mA ESPHome - by kgrzesiek - 09-03-2023, 08:40 AM
RE: input A1 4-20mA ESPHome - by admin - 10-26-2023, 01:49 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)