> For the complete documentation index, see [llms.txt](https://docs.yudash.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yudash.com/pf/si/analog.md).

# Analog Inputs

YuDash devices can acquire analog signals directly from field sensors, transmitters and measurement instruments.

Depending on the product and model, supported analog interfaces may include:

* **0–20 mA / 4–20 mA current inputs**
* **0–5 V voltage inputs**
* **High-range DC voltage inputs**
* **Low-level differential voltage inputs**

This page explains the common YuDash analog-input configuration workflow. **FELYX is used as the working example.** Always refer to the relevant product interface and model-selection pages for the physical terminals and input ranges available on a particular device.

For a simple linear conversion, the **Input**, **Output** and **Multiplier** settings in the Analog Wizard can perform the required conversion directly.

The separate **Data Scaling** feature is therefore **not required for every analog input**.

## Example: Reading 0–20 mA Inputs

This example demonstrates direct measurement of four **0–20 mA analog signals** using FELYX.

A multi-channel analog signal generator is connected to analog inputs **A1–A4** and adjusted to approximately:

* 5 mA
* 10.7 mA
* 15.1 mA
* 20 mA

The Analog Wizard is configured so that the resulting YuDash variables directly represent the measured current in mA. **The separate Data Scaling feature is not used in this example.**

{% stepper %}
{% step %}

### Connect the analog signals

Connect the analog current outputs to the required FELYX current-input channels.

For this example:

| Signal          | FELYX input |
| --------------- | ----------- |
| Current input 1 | A1          |
| Current input 2 | A2          |
| Current input 3 | A3          |
| Current input 4 | A4          |

Connect the corresponding signal return as required by the product terminal layout.

The four signal-generator channels are set to approximately **5.06 mA, 10.71 mA, 15.13 mA and 20.41 mA**.

<figure><img src="https://1858257737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FToww5EM1cml3ouN6fvnJ%2Fuploads%2FFJ6Y1KavcjktvIGdePPZ%2FFELYX_HelpPages%20(1).png?alt=media&amp;token=42d6df4a-630d-4e42-803b-7ae56eca7c9c" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Open the Analog Wizard

From **Device Configuration**, go to:

**Sensor Settings → Analog**

Select **Open Analog Wizard**.

<figure><img src="https://1858257737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FToww5EM1cml3ouN6fvnJ%2Fuploads%2Ffh1IMeHOexl2X1Nfsajt%2FFELYX_HelpPages%20(2).png?alt=media&amp;token=b24bde27-c84b-4462-af8d-0723f7bacff0" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Configure the analog channels

The Analog Wizard opens the **Channel Matrix**.

Each row represents one physical analog input. Enable the required channels and configure their signal range and variable names.

For this example:

<table><thead><tr><th width="87">Channel</th><th width="116">Topology</th><th width="123">Input Min–Max</th><th width="137">Output Min–Max</th><th>Variable</th></tr></thead><tbody><tr><td>A1</td><td>0–20 mA</td><td>0–20</td><td>0–20</td><td><code>analog_1</code></td></tr><tr><td>A2</td><td>0–20 mA</td><td>0–20</td><td>0–20</td><td><code>analog_2</code></td></tr><tr><td>A3</td><td>0–20 mA</td><td>0–20</td><td>0–20</td><td><code>analog_3</code></td></tr><tr><td>A4</td><td>0–20 mA</td><td>0–20</td><td>0–20</td><td><code>analog_4</code></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr></tbody></table>

<figure><img src="https://1858257737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FToww5EM1cml3ouN6fvnJ%2Fuploads%2FDswBGwW3gZhjQ1W2Sc8H%2FFELYX_HelpPages%20(3).png?alt=media&amp;token=ce58a78b-bce4-41ca-b657-888513dbcbad" alt=""><figcaption></figcaption></figure>

The important Channel Matrix fields are:

* **Enable** — enables processing of that channel.
* **Topology** — selects the physical input and electrical input type.
* **Input Min–Max** — expected electrical input range.
* **Output Min–Max** — value range generated from the measured input.
* **Multiplier** — final multiplier applied to the value.
* **Variable** — name used for monitoring, logging and telemetry.
* **Backup Variable** — optional and may be left blank when not required.

In this example, both the input and output ranges are **0–20**, and the multiplier is **1**. The resulting variable therefore directly represents the measured current in mA.

For example:

`10.7 mA input → approximately 10.7 in the YuDash variable`

No separate Data Scaling configuration is required for this direct reading.

Select **Save & Close** after completing the channel configuration.
{% endstep %}

{% step %}

### Enable Analog Inputs

Configuring the channels in the Analog Wizard does not by itself enable analog acquisition.

Go to:

**Device Settings → Feature Settings**

Enable **Analog Inputs**.

<figure><img src="https://1858257737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FToww5EM1cml3ouN6fvnJ%2Fuploads%2FYckCXpNVjO0GulCZObvK%2FFELYX_HelpPages%20(4).png?alt=media&amp;token=18a61035-70d6-4237-992f-6dc45b1ae7fd" alt=""><figcaption></figcaption></figure>

For this example, **Data Scaling remains disabled**.
{% endstep %}

{% step %}

### Apply the configuration and reboot

* Select **Update and Preview** to review the updated configuration.
* Select **Write Device Config** to write the configuration to the YuDash device.
* Select **Reboot Device** to restart the device with the new settings.

<figure><img src="https://1858257737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FToww5EM1cml3ouN6fvnJ%2Fuploads%2Fyak4MJs7W7lG4YZQClDH%2FFELYX_HelpPages%20(7).png?alt=media&amp;token=a6698b95-fc37-480a-a6d4-3d26321b95a5" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Verify the analog values

Open the **Live Dashboard** and verify that the configured analog variables are updating.

<figure><img src="https://1858257737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FToww5EM1cml3ouN6fvnJ%2Fuploads%2FqpoHTLj5LiBtzkk3kLDR%2FFELYX_HelpPages%20(6).png?alt=media&amp;token=7f20f69f-eeaf-4ed7-b438-52dc1255805c" alt=""><figcaption></figcaption></figure>

In this example, the dashboard displays:

| Variable   | Measured value |
| ---------- | -------------- |
| `analog_1` | 5.086          |
| `analog_2` | 10.773         |
| `analog_3` | 15.159         |
| `analog_4` | 20.046         |

These values correspond closely to the current levels applied using the analog signal generator.The live acquisition path is:

```mermaid
flowchart LR
    A["Sensor / Signal Generator<br/>0–20 mA"] --> B["YuDash Analog Input"]
    B --> C["YuDash Variable<br/>analog_1 ... analog_4"]
    C --> D["Live Dashboard"]
```

**0–20 mA Signal → Analog Input → YuDash Variable → Live Dashboard**

The **Analog Wizard** is used during configuration to define the input range, output range, multiplier and variable mapping.

This confirms that the analog channels are configured correctly and that the acquired values are available for subsequent **monitoring, data logging and cloud telemetry**.
{% endstep %}
{% endstepper %}

## Voltage Inputs

FELYX also supports voltage-based analog inputs.

On the FELYX81 used in this example, the analog terminal group is arranged as:

**A1 · A2 · A3 · A4 · GND · C5 · C6 · C7 · D8 · GND**

The inputs are divided by electrical range:

| Input group | Channels | Input type |
| ----------- | -------- | ---------- |
| **Type A**  | A1–A4    | 0–20 mA    |
| **Type C**  | C5–C7    | 0–5000 mV  |
| **Type D**  | D8       | 0–90000 mV |

{% hint style="info" %}
Available analog channels depend on the YuDash product and model. Always verify the product interface before wiring.
{% endhint %}

<figure><img src="https://1858257737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FToww5EM1cml3ouN6fvnJ%2Fuploads%2FL15M6JoZfYfqHjh6E6Cv%2FFELYX_HelpPages.jpg?alt=media&amp;token=fe757980-de3f-4e14-b1ab-995735805d35" alt=""><figcaption></figcaption></figure>

#### Understanding the FELYX voltage terminals

The right-side analog terminal block contains both current and voltage inputs.

* **C5, C6 and C7** are intended for signals up to **5000 mV (5 V)**.
* **D8** is a high-range voltage input intended for applications such as **battery or DC supply-voltage monitoring**.
* The adjacent **GND** terminals provide the signal reference.

The channel type must match the electrical signal being connected.

***

### Type C — 0–5 V Inputs

Type C channels are used for voltage signals from **0 to 5000 mV (0–5 V)**.

In this example, channels **C5** and **C6** are enabled in the Analog Wizard with:

| Channel | Topology  | Input  | Output | Multiplier | Variable   |
| ------- | --------- | ------ | ------ | ---------- | ---------- |
| C5      | 0–5000 mV | 0–5000 | 0–5000 | 1          | `analog_5` |
| C6      | 0–5000 mV | 0–5000 | 0–5000 | 1          | `analog_6` |

The same figure also shows the corresponding values on the **Live Dashboard**.

In this example:

* `analog_5` ≈ **3004.8 mV**
* `analog_6` ≈ **2552.6 mV**

Because the Input and Output ranges are both set to **0–5000** and the multiplier is **1**, the YuDash variables represent the measured voltage directly in **millivolts**.

<figure><img src="https://1858257737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FToww5EM1cml3ouN6fvnJ%2Fuploads%2Fr4tVTVp3AZKDTSSls23B%2FFELYX_HelpPages%20(8).png?alt=media&amp;token=51849cdd-04f9-4aea-911d-59b8ccb23f64" alt=""><figcaption></figcaption></figure>

Because the Input and Output ranges are both set to **0–5000** and the multiplier is **1**, the YuDash variables represent the measured voltage directly in **millivolts**.

For example:

```
3005 mV input → analog_5 ≈ 3005
2553 mV input → analog_6 ≈ 2553
```

If the value is required directly in **volts**, set the multiplier to `0.001`.

```
3005 mV × 0.001 = 3.005 V
```

> The Type-C channel therefore performs the voltage measurement directly; no separate Data Scaling configuration is required for this simple conversion.

#### Type D — Battery / High-Range Voltage Input

The **D8** channel is used for higher DC voltage measurements such as **battery or supply-voltage monitoring**.

D8 supports a measurement range of:

**0–90000 mV (0–90 V)**

<figure><img src="https://1858257737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FToww5EM1cml3ouN6fvnJ%2Fuploads%2FYXRmPb63GB6wV6Zz0Dt4%2FFELYX_HelpPages%20(9).png?alt=media&amp;token=db6eb138-06f3-4d8e-b27b-fcc90f187712" alt=""><figcaption></figcaption></figure>

In this example, D8 is enabled in the Analog Wizard with the following settings:

| Channel | Topology   | Input   | Output  | Multiplier | Variable       |
| ------- | ---------- | ------- | ------- | ---------- | -------------- |
| D8      | 0–90000 mV | 0–90000 | 0–90000 | 1          | `Battery_Volt` |

The same figure shows the corresponding value on the **Live Dashboard**.

In this example:

* `Battery_Volt` ≈ **8479 mV**

Because the Input and Output ranges are both set to **0–90000** and the multiplier is **1**, the YuDash variable represents the measured voltage directly in **millivolts**.
