At this point, your device is configured correctly. Now, our goal is to be able to communicate with it using a smarphone to:

  • Read temperature and humidity data registered by the device using the XBIB-C development board appropriate sensors.

  • Update the status of the User LED on the XBIB-C development board in order to turn it on or off remotely.

Test the device’s behavior using Digi XBee Mobile app

Once the Quick Setup is applied to the XBee 3 BLU device, use your smartphone to test the demo:

  1. Start the XBee Mobile application on your smartphone. The Home page of the application displays.

  2. Tap the Get Started option. The list of Get Started options displays.

  3. Select the Remote HMI option. The Remote HMI demo overview page displays.

  4. Tap the Select Device option from the second step. The Device List page displays.

  5. Wait until your XBee 3 BLU device appears in the list, then select it. The Password dialog appears.

  6. Enter 1234 in the password field and tap Connect.

  7. Wait for the app to connect with the device. When connected, the Remote HMI demo page displays.

    1. The page shows a picture of the XBIB-C development board and two boxes.

      1. The first box contains two icons for temperature and humidity values and points to the I2C humidity and temperature sensor on the board.

      2. The second box contains an icon for the LED with a switch and points to the User LED of the board.

  8. Tap the START MONITORING button to start refreshing the temperature and humidity values. Values update every 5 seconds.

  9. Tap the LED switch to turn on the User LED on the XBIB-C board. Tap the switch again to turn it off.

    mobile-app
In the MicroPython Terminal of the XBee 3 BLU device in XBee Studio, you can verify that the actions performed in the XBee Mobile app have been acknowledged by the MicroPython application running on the XBee 3 BLU device. Verify also that every 5 seconds it displays the humidity and temperature values being sent to the smartphone.
< Back
Next >