/      日本語

TWELITE SPOT

Integrate TWELITE and Wi-Fi networks
The wireless LAN gateway TWELITE SPOT is a product that combines the low-power wireless microcontroller module TWELITE with the wireless LAN microcontroller module ESP32. By developing firmware for the ESP32, you can integrate the TWELITE network with Wi-Fi networks.

Expanding Possibilities with TWELITE and ESP32

TWELITE SPOT is a product that combines the compact, low-power, and pairing-free TWELITE series—which allows many devices to be used simultaneously—with the wireless LAN microcontroller module ESP32.

Appearance

Appearance

Internal Structure

Internal Structure

By developing firmware for the ESP32, you can implement systems such as the following:

Local ServerLocal GatewayIoT Gateway
Share data from TWELITE Child devices within the LANUse data from TWELITE Child devices within the LANUse data from TWELITE Child devices in the cloud

Local Server

The ESP32 is used as a server. For example, you can display acceleration data measured by a TWELITE CUE on a smartphone or operate the output ports of a TWELITE DIP from a smartphone.

Local Gateway

The ESP32 connects to the LAN. For example, data sent from TWELITE ARIA devices installed throughout a building can be received by TWELITE SPOT devices on each floor, aggregating temperature and humidity data from all floors on a server within the LAN.

IoT Gateway

The ESP32 connects to the Internet. For example, by attaching a TWELITE CUE and a magnet to a door, you can detect on the cloud whether the door remains open based on the acquired door open/close status.

Development with Arduino IDE and Dedicated Library

To build a system using TWELITE SPOT, you need to develop firmware for the ESP32.

Arduino IDE can be used for firmware development on the ESP32.

Development using Arduino IDE

Development using Arduino IDE

The MWings library, distributed via the Arduino Library Manager, makes it easy to receive packets from TWELITE Child devices and send commands to them.

Flow of the Start Guide

This start guide covers verifying TWELITE SPOT operation, setting up the ESP32 development environment, creating simple sketches, and writing them.

1. Verify TWELITE SPOT Operation

Get Started

Contents

Using the pre-installed app on TWELITE SPOT, view acceleration sensor wireless tag TWELITE CUE data on a smartphone.

Required Items

TWELITE SPOTTWELITE CUE
TWELITE ParentTWELITE Child

2. Perform Hello World on ESP32

Basics of Firmware Development Using ESP32

Contents

Set up the development environment, create and write a Hello World sketch, and verify operation.

Required Items

TWELITE SPOTTWELITE R3
TWELITE SPOT device to write firmwareUSB adapter to connect PC and TWELITE SPOT

3. Acquire Data from TWELITE CUE

Communication with TWELITE

Contents

Output acceleration data from TWELITE CUE via ESP32.

Required Items

TWELITE SPOTTWELITE CUETWELITE R3
TWELITE SPOT device to write firmwareTWELITE Child device to communicate with TWELITE SPOTUSB adapter to connect PC and TWELITE SPOT

Getting Started

Display acceleration data from TWELITE CUE on your smartphone using TWELITE SPOT

Basics of Firmware Development with ESP32

Try Hello World on ESP32 for TWELITE SPOT firmware development

Receiving Data from a TWELITE Child

Output acceleration data received from TWELITE CUE to the serial monitor

Related Information

For further study