{
  "id": "current-loop-4-20ma",
  "name": "4-20 mA to voltage converter module (HW-685)",
  "category": "sensor",
  "measures": [
    "current"
  ],
  "pins": [
    {
      "name": "VCC",
      "role": "passive",
      "notes": "External 7 to 36 V supply (e.g. 12 or 24 V). Never to the ESP32. Pin order varies"
    },
    {
      "name": "GND",
      "role": "ground",
      "notes": "Connect to ESP32 GND too (common ground)"
    },
    {
      "name": "VOUT",
      "role": "analog_out",
      "notes": "Set the span trimmer so 20 mA gives 3.3 V or less before connecting. To an ADC pin (prefer ADC1: GPIO 32 to 39)"
    },
    {
      "name": "I+",
      "role": "passive",
      "notes": "Current loop in, from the transmitter"
    },
    {
      "name": "I-",
      "role": "passive",
      "notes": "Current loop out"
    }
  ],
  "bus": "analog",
  "voltage": "7-36",
  "model": {
    "shape": "module",
    "size": [
      35,
      25,
      12
    ],
    "color": "#1F4FA8"
  },
  "keywords": [
    "4-20ma",
    "current loop",
    "hw-685",
    "industrial",
    "transmitter",
    "anello di corrente",
    "industriale"
  ],
  "sources": [
    {
      "title": "HW-685 seller datasheet",
      "section": "Supply 7 to 36 V; 0/4-20 mA in; 0-3.3 / 5 / 10 V out set by zero and span trimmers"
    }
  ]
}