> 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/sdi12.md).

# SDI-12

SDI-12 is a digital communication interface commonly used with environmental, hydrology, agriculture and weather sensors.

YuDash data loggers with SDI-12 support can communicate with compatible SDI-12 sensors, acquire multiple variables from a sensor and map the returned values to user-defined parameter names.

Typical applications include:

* Soil moisture and soil temperature
* Water level and hydrology sensors
* Water-quality instruments
* Meteorological sensors
* Agriculture and irrigation monitoring
* Multi-parameter environmental probes

On supported FELYX models, SDI-12 is available as a dedicated sensor interface.

### How SDI-12 works in YuDash devices

A typical configuration consists of:

**SDI-12 Sensor → YuDash Data Logger → Variable Mapping → Data Logging / Cloud / Local Monitoring**

Each connected sensor is assigned an **SDI-12 address**. The YuDash device sends the configured measurement command to the sensor and reads the returned measurement values.

The individual returned values can then be assigned meaningful variable names.

### SDI-12 Sensor Connection

Connect the SDI-12 sensor to the supported YuDash device before starting configuration.

A typical SDI-12 connection includes:

* **Power** — sensor supply from the device, where supported
* **GND** — common ground
* **SDI** — SDI-12 data line

The example below shows an SDI-12 soil-moisture sensor connected to a YuDash FELYX data logger.

> Always refer to the sensor datasheet and the product wiring guide for the exact terminal assignment, supply requirement, and wire colors.

<figure><img src="https://1858257737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FToww5EM1cml3ouN6fvnJ%2Fuploads%2Fe7yUHiAHjCHO73uwQeXa%2FFELYX%20SDI-12%20Soil%20Sensor%20Connection%20Guide.jpg?alt=media&amp;token=c27f244b-a591-4dee-9fdd-f0a47af9812a" alt=""><figcaption></figcaption></figure>

## Configuring an SDI-12 Sensor

{% stepper %}
{% step %}

### Enable the SDI-12 feature

Open **Device Settings** and locate **Feature Settings**.

Enable **SDI-12** for the device. This activates the SDI-12 sensor interface in the runtime configuration.

<figure><img src="https://1858257737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FToww5EM1cml3ouN6fvnJ%2Fuploads%2FmUKH9OG9JrkCQIQaNp0J%2F01_enable_sdi12.png?alt=media&amp;token=94fa3e25-7cbf-4f75-ac8e-2eee8b762f4c" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Open the SDI-12 Wizard

Go to **Sensor Settings** and select:

**Open SDI-12 Wizard**

This opens the **SDI-12 Sensor Manager**, where connected SDI-12 sensors and their returned variables can be configured.

<figure><img src="https://1858257737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FToww5EM1cml3ouN6fvnJ%2Fuploads%2F4ziMWyiiHIFAguUqGUJv%2F02_open_sdi12_wizard.png?alt=media&amp;token=09214d55-4bd5-4d7b-a671-f91dbd528710" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Add or select a sensor

In the **SDI-12 Sensor Manager**, add a new sensor or select an existing sensor from the list.

<figure><img src="https://1858257737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FToww5EM1cml3ouN6fvnJ%2Fuploads%2Ffv3Wi6f8sMsUQR5UMCK5%2F03_configure_sdi12_sensor.png?alt=media&amp;token=dc0877a9-6823-4f2a-b405-9e705a75675c" alt=""><figcaption></figcaption></figure>

Configure the sensor settings:

* **Address** — SDI-12 address assigned to the sensor.
* **Label** — optional descriptive name for the sensor.
* **Measure Cmd** — measurement command used to request data from the sensor. `M!` is the standard measurement command shown in this example.
* **sdi12VarCnt** — optional variable-count setting. Leave blank when all returned variables are to be processed.

Under **Variable Mapping**, map the values returned by the sensor to YuDash variables.

For each variable, configure:

* **Var Name** — name used for the parameter in YuDash.
* **Factor** — scaling multiplier; normally `1` when no additional scaling is required.
* **Unit** — engineering unit, where required.
* **Description** — optional description of the parameter.

The **IDX** represents the sequence position of the value returned by the sensor.

In the example shown, one SDI-12 sensor returns five parameters:

1. Volumetric water content
2. Soil temperature
3. Relative permittivity
4. Bulk EC
5. Pore water EC

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

{% step %}

### Configure the sensor

Return to **Device Settings** after saving the SDI-12 configuration.

Follow the standard YuDash configuration sequence:

**Update and Preview → Write Device Config → Reboot**

The new SDI-12 settings become active after the device restarts.

<figure><img src="https://1858257737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FToww5EM1cml3ouN6fvnJ%2Fuploads%2F4VZ0XMKX5ZZswEPMwkef%2FFELYX_HelpPages%20(7).png?alt=media&amp;token=1c3e3f5d-4a63-48b0-a089-9295b4983e9c" alt=""><figcaption></figcaption></figure>

{% endstep %}

{% step %}

### Verify SDI-12 Data

After the device restarts, open the **Live Dashboard**.

The configured SDI-12 variables should appear under **Sensor Data** with their current values.

The **Device Run Status** can also be used to confirm communication with the sensor. During normal operation, the log will show the SDI-12 sequence, including sensor detection, measurement, reading and processing of the returned values.

This provides a quick way to verify that:

**Sensor detected → Measurement completed → Values read → Variables available**

<figure><img src="https://1858257737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FToww5EM1cml3ouN6fvnJ%2Fuploads%2F0pCS8caynV5f4LSEJVai%2F04_verify_sdi12_data.png?alt=media&amp;token=b04dfe62-025b-4166-93c2-2f63a36b000d" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

***

## SDI-12 Tool

YuDash also provides an **SDI-12 Tool** for sensor commissioning, testing and troubleshooting. It can be used independently to communicate with SDI-12 sensors before or during field installation.

{% embed url="<https://youtu.be/rb-zh083QQ8>" %}

***
