Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
input A1 4-20mA ESPHome
#4
- platform: adc
    pin: 35
    name: "A8S A3 Current"
    update_interval: 5s
    unit_of_measurement: mA
    attenuation: 11db
    filters:
      - multiply: 6.66666666
  - platform: adc
    pin: 39
    name: "A8S A4 Current"
    update_interval: 5s
    unit_of_measurement: mA
    attenuation: 11db
    filters:
      - multiply: 6.66666666

this is demo code for KC868-A8S, you can replace your board's pin number. make sure it's 4-20mA input port.

   
   
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)