How does it work?
EnOcean 2 Click is based on the TCM 515Z, a bidirectional transceiver gateway from EnOcean. Z in marking stands for a Zigbee, which uses a worldwide available 2.4GHz frequency and provides a transparent radio link between EnOcean 2.4 GHz devices and an external host connected via the standardized ESP3 interface (EnOcean SerialProtocol V3). The module has low current consumption for receiving and transmitting modes with a typical receiving sensitivity of -95dBm over the onboard 2.4GHz 50ohm whip antenna. It generates its electrical energy by converting electromagnetic, solar, and thermoelectric energy to work as a battery-free self-powered device.
The TCM 515Z module supports all radio channels of the IEEE 802.15.4 standard, from 11 to channel 26 (the highest frequency). The channel can be set by a host MCU. TCM 515Z transmits and receives radio telegrams, while the host MCU is responsible for the proper decoding of received telegrams and proper encoding of telegrams to be transmitted. The frame structure consists of PHY Header, MAC Header, MAC Payload, and AMC Trailer. The TCM 515Z module can work in the Receive and Transmit modes and be set into a low-power sleep mode for a defined period.
Depending on the usage scenes, it can achieve a range of up to 50m in open spaces, halls, and more. In corridors, plasterboard, or wood walls, it can achieve typically 15m of range. The fire-safety walls, elevator shafts, staircases, and similar areas act as shielded areas. The angle at which the transmitted signal hits the wall is very important, along with the effective wall thickness, and should be considered when choosing the place to position the device.
The EnOcean module uses the UART interface with commonly used UART RX and TX pins as its default communication protocol for communication with the host microcontroller. Additionally, changing the default ESP3 interface speed at power up from 57600 bits per second to 460800 bits per second over the TURBO jumper by connecting the 0ohm resistor to EN position.
This Click board™ can be operated only with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before using MCUs with different logic levels. However, the Click board™ comes equipped with a library containing functions and an example code that can be used as a reference for further development.
Specifications
Type
2.4 GHz Transceivers,EnOcean
Applications
Can be used for the development of applications with EnOcean’s energy harvesting modules, including self-powered, battery-free wireless switches, sensors, and actuators
On-board modules
TCM 515Z – bidirectional transceiver gateway from EnOcean
Key Features
The Zigbee 2.4GHz IEEE 802.15.4 radio standard, EnOcean Serial Protocol 3.0, gateway compatible with EnOcean energy harvesting modules, bidirectional radio/serial interface, turbo mode, and more
Interface
UART
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
L (57.15 x 25.4 mm)
Input Voltage
3.3V
Pinout diagram
This table shows how the pinout on EnOcean 2 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Onboard settings and indicators
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | – | Power LED Indicator |
JP1 | TURBO | Right | Turbo Mode Selection EN/DIS: Left position EN, Right position DIS |
EnOcean 2 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | – | 3.3 | – | V |
Operating Frequency | 2404 | – | 2481 | MHz |
Maximum Range in Open Space | – | – | 50 | m |
Software Support
We provide a library for the EnOcean 2 Click as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended), downloaded from our LibStock™ or found on Mikroe github account.
Library Description
This library contains API for EnOcean 2 Click driver.
Key functions
-
EnOcean Serial Protocol ( ESP3 ) module initialization.
-
The function push recieved character to ring buffer.
-
Implements state machine for recieving packets. It should be called in loop.
Example Description
This example reads and processes data from EnOcean 2 clicks.
void application_task ( void )
{
enocean2_process( );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.EnOcean2
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MIKROE compilers.
mikroSDK
This Click board™ is supported with mikroSDK – MIKROE Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
For more information about mikroSDK, visit the official page.