Getting Started With Long Range Wireless Temperature and Vibration Sensors

About: Design Develop Deploy

Sometimes vibration is the cause of serious issues in many applications. From machine shafts and bearings to hard disk performance, vibration causes machine damage, early replacement, low performance, and inflicts a major hit on accuracy. Monitoring and time to time analysis of vibration in the machine can solve the problem of early damage and wear and tear of the machine part.

In this instructable, we will be working on the IoT long-range wireless vibration and temperature sensors. These are industrial grade sensors with many widespread applications like.

  • Metalworking
  • Power generation
  • Mining
  • Food and Beverage

So, In this Instructable we will be going through the following:

  • Configuring Wireless Sensors using XCTU and Labview UI.
  • Getting the values of vibration from the sensor.
  • Understanding the working of xbee device and xbee protocol.
  • Configuring WiFi credentials and IP configuration using the captive portal

Step 1: Hardware and Software Specification

Hardware Specification

Software Specification

  • Arduino IDE
  • LabView Utility

Step 2: Configuring Wireless Sensor and Zigmo Receiver Using XCTU

Each IoT device needs a communication protocol to put the device over the cloud and to set up a wireless interface between different devices.

Here the Wireless Sensors and Zigmo Receiver use low power and long-range solution XBee. XBee uses a ZigBee protocol that specifies the operation in 902 to 928 MHz ISM bands.

Xbee can be configured using XCTU software

  1. Search for the Xbee device or add a new Xbee device by clicking on the top left icon.
  2. The device will be listed on the left-hand side panel.
  3. double click on the device to see the settings.
  4. Now click on the console icon on the top right corner
  5. You can see the value coming on the console output
  6. Here we are getting the frame of length 54 bytes
  7. these bytes would be further manipulated to get the real values. the procedure to get the real temperature and vibration values are mentioned in upcoming steps.

Step 3: Wireless Temperature and Vibration Values Analysis Using Labview Utility

The Sensor run in two modes

  • Configuration Mode: Configure the Pan ID, delay, No. of retries etc. More on this is beyond the scope of this instructable and will be explained in next instructable.
  • Run Mode: We are running the device in Run mode. And to analyze these value we are using the Labview Utility

This Labview UI shows the values in nice graphs. It shows the current as well as past values. You can go to this link to download the Labview UI.

click on the Run icon from the landing page menu to go to run mode.

Step 4: Using Captive Portal

We are using the captive portal to save the WiFi credentials and to hover through the IP settings. For the detailed introduction on the captive portal, you can go through the following instructable.

The captive portal gives us the option to choose between Static and DHCP settings and Save the WiFi SSID and password.

A webpage is being hosted where a list showing available WiFi networks and there RSSI. Select the WiFi network and password and enter submit. The credentials will be saved in the EEPROM and the IP setting will be saved in the SPIFFS.



    • Epilog X Contest

      Epilog X Contest
    • Build a Tool Contest

      Build a Tool Contest
    • Paper Contest

      Paper Contest