Archived: Using the Veris Industries MX1B Moisture Detector with NI Wireless Sensor Networks (WSN)

NI does not actively maintain this document.

This content provides support for older products and technology, so you may notice outdated links or obsolete information about operating systems or other relevant products.


Note: NI WSN products are not supported beyond LabVIEW 2015. If you have questions on migrating products, contact technical support at

This document describes the use of the Veris Industries MX1B sensor with the NI Wireless Sensor Network (WSN) system for wireless moisture detection. This document is one in a series of documents describing how to use specific sensor products with the NI WSN system to wirelessly enable a variety of applications, such as environmental monitoring, climate studies, resource monitoring, etc. For more information on using other sensors with the NI WSN system, please refer to the WSN Sensor Solutions document.


Veris Industries MX1B Moisture Detector                                    

The Veris MX1B Moisture Detector is part of the MX1 sensor series and is designed to detect the presence of water. It is intended to provide early indication of water leakage from roofing, overflows, water heaters, and risers. 

Figure 1: Veris MX1B Moisture Detector

When the area surrounding the device is dry, there is infinite resistance between the sensor electrodes. When liquid comes into contact, the resistance decreases. When the resistance is <1000KΩ, the output contacts open circuit and can be used to trigger an alarm. 

Wireless Moisture Detection

With NI WSN you can remotely monitor a network of sensors over large areas. By combining the MX1B sensor with the WSN-3202 voltage node it is possible to detect the presence of moisture in different areas of a building, all from one central location. This eliminates the need for multiple monitoring systems or computers; thus, creating a control system that is ideal for moisture detection.  System expansion is also made easy when using the NI WSN. Sensors and WSN nodes can simply be added as needed.

Connecting the MX1B to NI WSN-3202 Node

The MX1B sensor has a single digital output with two wires. The NI WSN-3202 voltage node has 4 digital input/output channels. The voltage node also has a 12V voltage output that is dedicated for sensor powering which is not needed for this application because the MX1B has its own battery.

Connect the green and white wires on the MX1B sensor to P0.0 and D GND, respectively, on the WSN-3202 voltage node.

Figure 2.  Connecting MX1B to WSN-3202

Programming NI WSN for use with the MX1B

Using LabVIEW on a host PC with the NI WSN-3202 with the MX1B

LabVIEW makes the programming for MX1B sensor applications very straightforward.

Each I/O variable on the WSN voltage node has an I/O variable associated with it in the LabVIEW Project. The DIO variable for P0.0 should be dragged onto the block diagram. This variable will output False when there is no water detected, and True when water is detected.

Below is an example block diagram for the MX1B application. This example gets the true/false reading from the DIO variable and if it reads True, a Boolean flashes and an alarm sounds. 

Figure 3. Block Diagram for MX1B with WSN

Was this information helpful?