Skip to content
Shop

Web Bluetooth IoT with STM32

Explore with your favorite AI

Gemini & other AI

Copy this page’s context into your AI to explore how it works and what you can build.

Open Gemini

Copy the prompt, then paste it into Gemini’s message box.

View prompt

This sample is an STM32 implementation of the one introduced in the Basic Kit Web Bluetooth IoT. The Web Bluetooth application uses the same one as the Basic Kit. For more details, please refer to Web Bluetooth IoT in Basic Kit.

webbluetooth.png


Company and product names mentioned on this website are trademarks or registered trademarks of their respective owners.

  • STM32 MCU, BLE Sugar, 4-Sensors, CR2032, USB
  • Windows1, Mac2, or Linux3 PC (for development)
  • Android4, iPhone5, iPad5 smartphone or tablet
  • Google Chrome (version 70.0.3526.0 or later)
  • Arduino IDE, STM32CubeProgrammer software V2.4.0

Please download both in advance.

In this sample, you can try the following leaf configurations.

TypeNameQ’ty
AZ62Connector Cover1
AI014-Sensors1
AZ01USB1
AP03STM32 MCU1
AC02BLE Sugar1
AV01CR20321
-CR2032 coin cell battery1
-M2*18mm screw2

Assemble the leaves as shown in the figure below.

Refer to the figure below for the pin assignment of each leaf.

  1. Upload STM32_4-Sensors_BLE.ino using Arduino IDE.
  2. Open the downloaded index.html of Web Bluetooth App with Google Chrome.
    For details on how to use the web app, refer to Basic Kit Getting Started Guide.

  1. Windows 10 version 1703 or later

  2. OS X Yosemite or later

  3. Kernel 3.19+ and BlueZ 5.41+ installed.

  4. Android 6.0 Marshmallow or later

  5. For iPhone or iPad, WebBLE(paid) is required because Web Bluetooth is not implemented in Chrome for iPhone and iPad. 2