How does it work?
ANNA-B412 Click is based on the ANNA-B412, a standalone Bluetooth 5.1 low-energy module from u-blox. Under the metal hood, all the hard work is done by the nRF52833 from Nordic Semiconductor, which includes an integrated 2.4GHz transceiver with +8dBm output power and powerful Arm Cortex-M4 with FPU processor. In addition, it is equipped with 512KB of flash memory and 128KB of RAM. For a Bluetooth connection in a 2.4GHz frequency band, ANNA-B412 Click is equipped with a printed PCB antenna with support for 40 channels. The Bluetooth antenna has +9dBm of maximum radiated output power. For NFC, ANNA-B412 Click is equipped with a u.Fl connector, and can operate as a 13.56MHz NFC tag at a bit rate of 106Kbps.
One of the main features of this module is the Angle of Arrival (AoA) and Angle of Departure (AoD) with the support of a Bluetooth 5.1 Direction Finding service. These features can be used for indoor positioning, wayfinding, asset tracking, and more. To optimize power consumption, the module supports Active, Standby, and Sleep modes.
Two buttons (T1 and T2) can be used to control the system. By combining these buttons while operating or during Power-Up, you can restore settings to their default values, open a Bluetooth LE connection to a peripheral device, enter bootloader mode, or exit the bootloader mode and restore all settings to their factory default values. The onboard RGB LED notifies the system status signals, which can be idle in Data mode/Extended data mode, idle in Command mode, connecting, and connected. In addition, ANNA-B412 Click is equipped with ten u-connectXpress IO pins, separated into two headers, which can be used for user configurable purposes.
ANNA B412 Click uses a 4-Wire UART interface to communicate with the host MCU with a commonly used UART RX/TX and UART RTS/ CTS as UART control flow pins. In addition, the UART DTR data terminal ready and the UART DSR data set ready are also available. The default baud rate is 115200bps. The RST pin can be used to reset the module with active LOW. Besides the library we provide, you can use a set of AT commands to control the ANNA B-412 module over the UART interface.
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. Also, it comes equipped with a library containing functions and an example code that can be used as a reference for further development.
Specifications
Type
BT/BLE
Applications
Can be used for the development of industrial automation, smart building applications, low-power sensors, wireless-connected and configurable equipment, and more
On-board modules
ANNA-B412 – standalone Bluetooth 5.1 low-energy module from u-blox
Key Features
Based on the Nordic nRF52833 single-chip controller, Bluetooth 5.1 LE, the NFC interface operates an NFC tag, low power consumption, embedded flash, internal RAM, AT commands set support, onboard printed Bluetooth antenna, direction finding (AoA/AoD), and more
Interface
UART
Feature
ClickID
Compatibility
mikroBUS™
Click board size
M (42.9 x 25.4 mm)
Input Voltage
3.3V
Pinout diagram
This table shows how the pinout on ANNA-B412 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 |
LD2 | SYS | – | System Status RGB LED Indicator |
T1-T2 | T1-T2 | – | Multifunction Buttons |
ANNA-B412 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | – | 3.3 | – | V |
Bluetooth Operating Frequency | – | – | 2.4 | GHz |
Bluetooth LE Data Rate | – | – | 2 | Mbps |
NFC Operating Frequency | – | – | 13.56 | MHz |
NFC Tag Bit Rate | – | – | 106 | kbps |
Software Support
We provide a library for the ANNA-B412 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 ANNA-B412 Click driver.
Key functions
-
annab412_set_cmd_conn_mode
ANNA-B412 set connectability mode function. -
annab412_set_cmd_discover_mode
ANNA-B412 set discoverability mode function. -
annab412_set_cmd_device_name
ANNA-B412 set device name function.
Example Description
This example demonstrates the use of ANNA-B412 click board by processing the incoming data and displaying them on the USB UART.
void application_task ( void )
{
annab412_process( &annab412 );
if ( app_buf_len > 0 )
{
log_printf( &logger, "%s", app_buf );
annab412_clear_app_buf( );
}
}
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.ANNAB412
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.