2.3 BLE Demo Experience

The demo consists of the WBZ351 Curiosity board with accompanying ble_senor_app firmware, the Microchip Bluetooth Data (MBD) Smartphone App. The MBD app has the capability to scan for BLE Advertisements from WBZ351 module and to establish a connection.

Scan operation monitors the temperature sensor and status of GREEN LED (ON or OFF). Establishing a BLE connection with the WBZ351 module enables users to control the GREEN LED status (ON or OFF) as well as brightness of the GREEN LED using slide controls. Similary, the LED brightness can be controlled using Touch slider, button by connecting the QT7 XPRO add-on board to XPRO extension of curiosity board.

Attention:
GREEN LED is one of the LED in RGB LED. Since the RED and BLUE colour of RGB is not connected with WBZ351 module, only GREEN LED is used in this demo. So, look for “RGB LED” marking on curiosity board for GREEN LED also.
Note: The firmware programmed on Curiosity board is found in <Harmony Content Path>\wireless_apps_pic32cxbz3_wbz35\apps\ble\advanced_applications\ble_sensor_touch\precompiled_hex\ble_sensor_touch.X.production.signed.hex.

BLE Sensor Touch Demo

  1. Install the Microchip Bluetooth Data (MBD) Smartphone App.

    1. iOS/Android users can search for “Microchip Bluetooth Data” App in App Store and install

    2. Enable Bluetooth on the Smartphone

  2. Launch the MBD Smartphone App.

  3. Supply power to WBZ351 Curiosity Board:

    1. Connect the QT7 Xplained Pro Extention board on Curiosity board extention as shown in the following figure.
    2. Connect a USB cable to the kit or a 4.2V Li-ion/Li-Po Battery. For more information refer to the Power Supply section of WBZ351 Curiosity Board User's Guide (DS50003580).

    3. The user-programmable blue LED (D5) starts blinking on the Curiosity Board when the board is in Advertisement mode.

  4. Control GREEN LED state ON/OFF as well as brightness from QT7 Touch Button/Slider.
    1. Important:

      If the QT7 XPRO board is not connected with WBZ351 curiosity board, by touching on curiosity board extention pins might cause the Touch detection. Hence Touch functionality is disabled by default.

      To activate the Touch feature, “press and hold” USER BUTTON 1 (SW3) and then press the RESET button (SW1). Then release SW1 first and then release SW3.

    2. Button 2 marked on QT7 XPRO board can switch ON/OFF the GREEN LED. Touch and release the Button 2. See the GREEN LED is ON. A LED near to Button 2 will also glow.

    3. The Slider can help to increase/decrease the brightness of GREEN LED. The lowest position will bring the brightness Low, and highest slider position will bring the GREEN LED brightness to High. The brightness are in the scale of 0 to 255.

    4. Slide on the Touch slider and observe the GREEN LED brightness changes. The 6 LED's adjacent to Slider will also show the brightness level.

    5. Touch and release the Button 2 and observe that GREEN LED is OFF. All the Touch LED's also will be OFF. Changing the slider position will not change the brightness until the LED is ON by Button 2.

  5. Monitor LED state and temperature from MBD Mobile App:
    1. WBZ351 Curiosity Board starts in Advertisement mode to advertise its presence on a smartphone and to allow access to LED ON/OFF state and temperature sensor data.

    2. Navigate through the Smartphone App as illustrated in the following figure to access the advertisement information.
      Figure 2-3. .
  6. Control GREEN LED state ON/OFF as well as brightness from MBD App:

    1. Click the device that shows up after initiating a scan to establish a connection with the WBZ351 module.

    2. The user blue LED becomes solid, once the connection is established between the smartphone and the WBZ351 module

    3. Controls the GREEN LED state ON/OFF.

    4. This is greyed out and can not be changed as colour change is not supported. Only GREEN LED in RGB alone is controlled.

    5. Controls the brightness of GREEN LED when the LED is “ON”.

    6. Additional information
      Figure 2-4. .
    Note:

    The GREEN LED state and brightness change by Touch button will get reflected in mobile app.

  7. To disconnect the MBD Application running on your smart phone, ensure to follow one of the following steps:

    1. Press the reset button on WBZ351 Curiosity Board

    2. Initiating a “Scan” on Smartphone App

Upon successful disconnection, the WBZ351 module starts in Advertisement mode.