Skip to content
Shop

Basic Kit Getting Started Guide

Set up with your favorite AI

Gemini & other AI

Copy the setup prompt into your AI. Work through each step together, from checking your kit to getting it running.

Open Gemini

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

View prompt

Leafony connected over Bluetooth to a smartphone displaying sensor readings


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 is possible 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 a compatible phone or computer, the Web Bluetooth web app connects to the Basic Kit through a supported browser. iPhone and iPad use Bluefy as described below.


6 types of leaves. Select a photo or name for specifications and pin assignments.

AP01 AVR MCU

An AVR microcontroller that runs your programs.
Qty: 1

AI01 4-Sensors

Measures temperature, humidity, light, and acceleration.
Qty: 1

AC02 BLE Sugar

Sends and receives data over Bluetooth LE.
Qty: 1

AV01 CR2032

Supplies power from a CR2032 coin cell battery.
Qty: 1

AZ01 USB

Connects to a computer for programming, serial communication, and USB power.
Qty: 1

AX02 29pin

Connects leaf signals to external circuits.
Qty: 1
Accessories and other included items

AZ62 Connector Cover

Protects the connector from dust and debris.
Qty: 1

AZ66 Basic Kit Case

Holds Basic Kit and attaches it to a surface that magnets stick to, using a magnet on its base.
Qty: 1
  • CR2032 coin cell battery× 1
  • M2×18 mm screw× 2
  • Screwdriver× 1

If you have Basic Kit 2, check its included leaves. Basic Kit 2 also includes an STM32 MCU leaf.

  • 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


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


  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.

  1. Download Bluefy from the App Store5
  2. Copy the following URL, launch Bluefy and paste it into the address bar. Turn Bluetooth on and allow Bluefy to access Bluetooth if requested.
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

  1. Connection complete.
    There is a "Download CSV" button on the screen, but it is not available on the iPhone.

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

  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 "Web Bluetooth IoT". You can see the source code and how it works here.

  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

  1. Connection complete.

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


  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, Bluefy is required. This is because Web Bluetooth is not implemented in the iPhone and iPad versions of Chrome. 2 3

  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