Basic Kit Getting Started Guide

Let’s get started with Bluetooth environmental sensing!

Ble2-300x281.png


The Basic Kit is a small, coin cell powered development kit that includes a 4-Sensors leaf with temperature, humidity, illuminance and acceleration sensors, an AVR MCU leaf and a Bluetooth LE leaf.

It’s easy to send sensor information to a smartphone or computer via Bluetooth and to control the LEDs in the Basic Kit.

The Basic Kit has this program written into it that you can use right out of the box.

On the smartphone or computer side, an app called “Web Bluetooth” can be used to connect to the Basic Kit on any platform, with no installation required.

What to prepare

  • Basic Kit
  • Windows1, Mac2, Linux3, PC with Chrome OS or Android4, iPhone5, iPad5 smartphone or tablet
  • Google Chrome (Since version 70.0.3526.0)6

Demo Video



Setup

  1. Insert the CR2032 coin cell battery into the Basic Kit and turn on the power switch.

Usage

For Android

  1. Open Google Chrome.
  2. Open web app.
  3. Press the Connect button of the web app, select Leafony_AC02 and press the Pair button.

basic_android

  1. Connection complete.

  2. The sample app used in this article is “Introduction to IoT Apps using Web Bluetooth”. You can see the source code and how it works here.

For iPhone or iPad

  1. Download WebBLE (paid) from the App Store5
  2. Copy the following URL, launch WebBLE and paste it into the address bar.
 https://docs.leafony.com/WebBluetooth_for_Leafony_app/
  1. Press the Connect button of the web app, select Leafony_AC02 and press the Pair button.


    basic_android

  2. Connection complete.
    There is a “Download CSV” button on the screen, but it is not available on the iPhone.

  3. The sample app I used this time is “Web Bluetooth IoT”. You can see the source code and how it works here.

On Windows or macOS

  1. Open Google Chrome.

  2. Open web app.

  3. Press the Connect button of the web app, select Leafony_AC02 and press the Pair button.

    basic_android

  4. Connection complete.

  5. The sample app used in this article is “Web Bluetooth IoT”. You can see the source code and how it works here.

On Linux

  1. To enable Web Bluetooth on Linux, please refer to the following articles to set up your environment.
    "How to get Chrome Web Bluetooth working on Linux"

  2. Open Google Chrome.

  3. Open web app.

  4. Press the Connect button of the web app, select Leafony_AC02 and press the Pair button.

    basic_android

  5. Connection complete.

  6. The sample app used in this article is “Web Bluetooth IoT”. You can see the source code and how it works here.


Back to previous page


  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. This is because Web Bluetooth is not implemented in the iPhone and iPad versions of Chrome. ↩︎

  6. If you have Chrome less than version 79, Web Bluetooth is not enabled by default.
    Enter the following URL in Chrome’s address bar and set the Experimental Web Platform features to Enable.
    chrome://flags/#enable-experimental-web-platform-features ↩︎

Last modified 09.03.2021