Revision as of 11:04, 31 October 2023 by Registered User


1. Introduction

Welcome to the B-WB1M-WPAN1 wiki page, which will introduce our out-of-the-box demo and showcase the capabilities of our product.

This page will guide you through the initial setup of our product and demonstrate how easily you can explore its features. It will also provide insights on how to customize and develop your own applications.

Explore the full potential of the B-WB1M-WPAN1 with our comprehensive demo guide, covering everything from basic setup to advanced programming.

OOB WB1M Board Package
STM32StepByStep OOB WB1M Introduction Board Packaging.jpg



The B-WB1M-WPAN1 product includes the 2 following boards:

  • MB1868 board (which is a STM32WB1MMCMC Connectivity Expansion Board (CEB)),
  • MB1880 board (which is a STMod+ adapter board).

The B-WB1M-WPAN1 product provides an affordable and flexible way for users to try out new concepts and build prototypes with the STM32WB1MMCMC module based on the STM32WB15 microcontroller, choosing from the various combinations of performance, power consumption, and features.

The B-WB1M-WPAN1 product requires a separate probe as it does not integrate the STLINK-V3E debugger. The B-WB1M-WPAN1 product is provided with the STM32WB comprehensive software HAL library and various packaged software examples available with the STM32CubeWB MCU Package.

2. Setup

Follow the sequence below to configure the STM32WB Connectivity Expansion Board B-WB1M-WPAN1 product and launch the demonstration application:

puce1.png
Ensure that the JP1 jumper is in place
puce2.png
Connect M1868 board to the M1880 module
puce3.png
Supply the B-WB1M-WPAN1 by using a USB-C cable
puce4.png
Press on the B2 Reset button of the MB1868 board and the demo starts


B-WB1M-WPAN1 Setup
STM32StepByStep OOB WB1M Setup B-WB1M-WPAN1.jpg



Info white.png Information
Besides using the STMod+, you can also power the M1868 board by connecting a 5V supply cable at JP4.

3. Hands On

3.1. Application Interface

To begin using your B-WB1M-WPAN1 board, you will require an interface for communication and interaction.

Here are two application interface solutions :

  • ST BLE Sensor, available on IOS and Android
  • ST Web Bluetooth App Interface, running on a compatible web browser
OOB WB1M System Presentation
STM32StepByStep OOB WB1M System Presentation.jpg


With one of these two solutions, you will be able to communicate with your BLE board and establish a connection.

For the rest of the demonstration, we will be using the Android application ST BLE Sensor.

3.2. Let's Get Started

Make sure the board is powered and running.
Open the ST BLE Sensor Application.

You should now see your WB1M board on the homepage. Note that the Bluetooth® Device Address and the RSSI are stated just below. Click on your WB1M board to connect. If you don’t see it, try clicking the refresh button at the bottom.

Connection to the B-WB1M-WPAN1 board with ST BLE Sensor App
WB1M ST BLE Sensor Connection.jpg



3.2.1. Home Page

Here is the main page where you can find all the features implemented with the embedded application.

Now let's have a look at all the implemented services:

  • BLE Sensor (Environmental / Plot Data)
  • p2pServer (Led Control)
  • HeartRate

You can now click on them to play with.

ST BLE Sensor Features Page
SensorsLed ControlHearRateWB1M ST BLE Sensor Features Page.jpg


3.2.2. HearRate Service

In the HeartRate interface, Hear Rate and energy measurement are launched and displayed in graphs, you can reset the energy measurement.

For more information about it, click here : STM32WB_HeartRate

HeartRate
ST BLE Sensor HeartRate.jpg



3.2.3. Led Control

In the LED control panel, you can turn the LED on and off for your board. Additionally, you can receive a notification by clicking on the board's button.

You can find more information about ours Peer To Peer examples here : Peer_To_Peer

Led Control
ST BLE Sensor Led Control.jpg



3.2.4. Environmental and Motion Sensors

Now let’s have a look a the sensors panel.

For the environmental part you can find temperature and the humidity measured by the STTS22H [1] sensor of your WB1M.

You can click on the button in the top right to switch between units, from degrees to Fahrenheit.

Environmental Sensor
ST BLE Sensor Environmental Sensor.jpg


Regarding the Plot Data tab:

puce1.png
Click on the dropdown arrow
puce2.png
Select a motion data sensor to view real-time data
Motion Sensor (1/2)
STM32StepByStep OOB WB1M ST BLE Sensor Motion Sensor 1 2.jpg


puce3.png
Click on the play/pause button
Motion Sensor (2/2)
STM32StepByStep OOB WB1M ST BLE Sensor Motion Sensor 2 2.jpg


4. What Next ?

Now that you've familiarized yourself with the B-WB1M-WPAN1 and its out-of-the-box demo, it's time to take your experience to the next level. In this section, we'll show you where to find available code, how to flash your own code onto the board, and how to develop your own applications.

Get ready to unleash the full potential of your B-WB1M-WPAN1!


4.1. How can I program my WB1M board ?

The basic way to support an external debug tool is to connect the external STLINK-V3SET[2] debugger tool:

  • to the debug connector CN3 of the MB1868 and,
  • to a PC with a USB connector, as displayed here after.
Connecting an external debug tool to program the CEB MB1868
STM32StepByStep OOB WB1M STLINK B-WB1M-WPAN1.jpg


4.2. Start your own application

The STM32CubeWB MCU Package[3] provides software components running on STM32WB Series MCUs.

For all examples provided within the package, the following integrated development environments are supported:

  • STMicroelectronics integrated development environment for STM32 products (STM32CubeIDE)
  • IAR Systems® IAR Embedded Workbench® for Arm® (EWARM)
  • Keil® Microcontroller Development Kit (MDK-ARM)

The Firmware Package for the STM32WB series is also available on STM32CubeWB github[4].

To learn more about the STM32WB Series MCUs or to go further based on available applications, click here.

5. References



No categories assignedEdit