6.2 Extended Output
MTCH9010 supports Universal Asynchronous Receiver and Transmitter (UART) output. There
are four output formats available:
- Both standard measurement (raw data) and delta
- Only standard measurement (raw data)
- Only delta
- MPLAB® Data Visualizer Data Stream protocol format
The Extended Output mode of MTCH9010 provides information on the liquid detection parameters through serial communication. This mode is disabled by default but can be enabled through the UART_EN pin or by using the Enhanced Configuration mode.
The parameters displayed by the Extended Output mode are presented below:
- The first information offered by the
Extended Output mode is the firmware version:
Firmware vX.Y.Z
X
- the major version of the firmware.Y
- the minor version of the firmware.Z
- the patch version of the firmware.
- The reference value and the liquid
detection threshold represent the following series of
parameters:
<reference_value> <liquid_detection_threshold>
<reference_value>
- the value measured with a completely dry sensor or an initial desired sensor state.<liquid_detection_threshold>
- the value of the liquid detection threshold configured by the user.
-
The next parameters are the standard and delta measurements that are displayed after each new measurement:
<standard_measurement> <delta_measurement>
<standard_measurement>
- the standard value measured on the sensor.<delta_measurement>
- the value obtained by subtracting the reference value from the standard measurement value.
Note: In the Enhanced Configuration mode, besides the option where both standard and delta measurements are displayed, there is also the option to display the standard or delta measurement only.
Important: The firmware version, the reference value, and
the liquid detection threshold are displayed only once at the start of the
operation.
The Extended Output mode can be accessed using the UART_EN pin according to the table below:
Voltage on UART_EN Pin | Extended Output Selection |
---|---|
0V | Enabled |
VDD | Disabled |
Note: If the Extended Output mode is enabled using the
UART_EN pin, the output format is both standard and delta
measurement. Selecting another option for the Extended Output format must be done
through the Enhanced Configuration mode.
After configuring the operation mode and the Sleep period in the Enhanced Configuration
mode, the following two settings are the ones that configure the Extended Output
mode:
Enhanced Configuration Selection | Command | Option |
---|---|---|
Extended Output mode | 0 | Disabled |
1 | Enabled | |
Extended Output Format(1) | 0 | Delta measurement |
1 | Standard measurement | |
2 | Both standard and delta measurements | |
3 | MPLAB® Data Visualizer Data Stream protocol format(2) |
Note:
- Only if the Extended Output mode is enabled these options are available in the Enhanced Configuration mode.
- Refer to the MPLAB Data Visualizer User's Guide.