With this kit, you have learned how to use your mobile phone as a Human-Machine Interface (HMI) to communicate with your XBee 3 BLU device over Bluetooth, read sensor data, and perform actions such as toggling an LED. In other terms, you have extended the capabilities of devices lacking a native HMI, showcasing the practical applications of Digi’s technology in industrial and consumer electronics.

To get more in-depth information about the use case of this demo, see XBee to phone/tablet communication.

Key achievements

As part of this guide, you have:

  • Deployed a configuration setup onto the XBee 3 BLU device using the Quick Setup feature of XBee Studio.

  • Utilized the Remote HMI demo from the Digi XBee Mobile app to:

    • Interact wirelessly with the module plugged into the XBIB-C development board to read temperature and humidity values from its embedded I2C sensor.

    • Manage the status of the User LED, simulating control of industrial machinery or consumer electronics.

Demo components review

Here is a brief explanation of the role of each component that took part in the communication:

  • The MicroPython Application running on the XBee 3 BLU device:

    • Listens for commands from the XBee Mobile app.

    • Reports temperature and humidity values every 5 seconds.

    • Allows for the changing of the User LED status on the board.

  • The Digi XBee Mobile App:

    • Scans for BLE devices.

    • Establishes a secure communication with the selected device.

    • Interprets the received sensor readings from the device.

    • Sends commands to the device to toggle the User LED of the XBIB-C development board.

< Back
Next >