Mikroelektronika d.o.o.
BLE 5 Click Board
BLE 5 Click Board
Couldn't load pickup availability
The BLE 5 Click Board™ provides BT/BLE connectivity for any embedded application. The BLE 5 Click Board™ is based on the PAN1760A, a module from Panasonic. The Click Board™ with small Bluetooth Low Energy module for easy integration of Bluetooth Low Energy connectivity (BLE) into various electronic devices. Our board is coming with a module already pre-programmed for AT command mode and can be controlled over the UART interface, in case you need this module to work in Host or Stand-Alone mode a new firmware needs to be applied.
Given its features, the BLE 5 Click Board™ can be used for health, sports, and wellness devices as well as Industrial, home, and building automation; and smartphone, tablet, and PC accessories.
![Mikroelektronika d.o.o. MIKROE-4120 BLE 5 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-ble-5-click-board-28859924775101.jpg?v=1684984970&width=1445)
![Mikroelektronika d.o.o. MIKROE-4120 BLE 5 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-ble-5-click-board-30265840697533.jpg?v=1685200252&width=1445)
![Mikroelektronika d.o.o. MIKROE-4120 BLE 5 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-ble-5-click-board-30265814810813.jpg?v=1684984969&width=1445)
![Mikroelektronika d.o.o. MIKROE-4120 BLE 5 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-ble-5-click-board-30265840468157.jpg?v=1685208705&width=1445)
![Mikroelektronika d.o.o. MIKROE-4120 BLE 5 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-ble-5-click-board-30265814220989.jpg?v=1684984973&width=1445)
![Mikroelektronika d.o.o. MIKROE-4120 BLE 5 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-ble-5-click-board-28859924709565.jpg?v=1684984976&width=1445)
![Mikroelektronika d.o.o. MIKROE-4120 BLE 5 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-ble-5-click-board-28859924644029.jpg?v=1685110072&width=1445)
How Does The BLE 5 Click Board™ Work?
The BLE 5 Click Board™ based on the PAN1760A, a module from Panasonic that has some impressive features including the fact that it is Bluetooth 4.2 low energy support with ARM Cortex-M0 processor with Single Wire Debug (SWI) interface. The BLE 5 Click Board™ can either be operated in AT-Command or Host mode for very simple integration of Bluetooth connectivity into existing products, or in Stand-Alone mode.
The BLE 5 Click Board™ in AT-Command or Host mode Click board™ Besides the commonly used UART RX, TX, RTS, and CTS, the BLE 5 Click Board™ has also WP0 and WP1 pins, which are routed to the PWM and AN pins of the mikroBUS™ socket, respectively. The PAN1760A modul contains internal antenna with receiver sensitivity -93 dBm, and the BLE 5 click board also features an SMA connector so it can be equipped with the appropriate 2.4 GHz antenna.
The BLE 5 Click Board™ Stand-Alone mode, with 256 kB flash memory and 83 kB RAM for user application, the BLE 5 click can be used for many applications without the need for an external processor, saving cost, complexity, and space. Peak power consumption of only 3.6 mA in Tx and Rx mode allows advanced wireless functionalities in IoT, medical, and industrial applications without compromising battery life.
The BLE 5 Click Board™ is equipped with the USB - micro B connector. It allows the module to be powered and configured by a personal computer. The CP2102N IC is a highly integrated USB to UART interface, from Silicon Labs. This IC adds USB to UART communication for embedded applications, registering itself as the virtual COM port, once the required drivers are installed. Besides the highly integrated USB to UART interface IC, this Click board™ is equipped with the additional ESD protection for the USB port, as well as the required signalization LEDs (RX, TX, power LED).
The BLE 5 Click Board™ is equipped with the I2C master header, the PAN1760A modul contain I2C bus master interface. The I2C interface can operate is 3.3V, cannot operate at different voltage from ones other interfaces are operate at. This pins can be used for connecting external I2C peripherals such as sensors to the module.
The BLE 5 Click Board™ is designed to be operated only with 3.3V logic level. A proper logic voltage level conversion should be performed before the Click board™ is used with MCUs with logic levels of 5V.
SPECIFICATIONS
Type | BT/BLE |
Applications | Health, sports, and wellness devices as well as Industrial, home, and building automation; and smart phone, tablet, and PC accessories |
On-board modules | PAN1760A , Bluetooth 4.2 low energy module from Panasonic |
Key Features | Bluetooth 4.2 low energy compliant, integrated antenna, 83 kB RAM available for application |
Interface | GPIO,UART,USB |
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 the BLE 5 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | ![]() |
Pin | Notes | |||
---|---|---|---|---|---|---|---|
Wake Up 0 | WPO | 1 | AN | PWM | 16 | WP1 | Wake Up 1 |
Reset | RST | 2 | RST | INT | 15 | CTS | UART clear to send |
UART request to send | RTS | 3 | CS | RX | 14 | TX | UART Transmit |
NC | 4 | SCK | TX | 13 | RX | UART Receive | |
NC | 5 | MISO | SCL | 12 | NC | ||
NC | 6 | MOSI | SDA | 11 | NC | ||
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | NC | |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
LD2 | TX | - | TX LED Indicator |
LD3 | RX | - | RX LED Indicator |
LD4 | USB | - | USB LED Indicator |
RST | MODE | Left | PAN1760A Mode selector: Left position Host, Right position Standalone |
Software Support
We provide a library for the BLE 5 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The library covers all the necessary functions to control the BLE 5 Click Board™. A library performs the communication with the PAN1760 Series Bluetooth Low Energy RF Module via UART interface.
Key Functions
void ble5_device_reset ( void )
- Device reset function.void ble5_send_at_command ( uint8_t *at_command, uint32_t at_command_length )
- Send AT command function.
Example Description
The application is composed of three sections :
- System Initialization - Initializes UART, sets INT pin as input and AN, RST, CS and PWM pin as outputs and begins to write log.
- Application Initialization - Initialization driver enables - UART, sets handlers, initializes and enables UART interrupt, reset and configures BLE module, initialize BLE Server Profile ( Services and Characteristics ).
- Application Task - (code snippet) This example demonstrates the use of BLE 5 Click board. The app starts by checking system ready flag and returns Bluetooth device address. After that, the chain of commands creates Primary Server Profiles: Device Information, Generic Access and Custom Service to Start Advertising. For transmit and receive messages, we use Generic Access Primary Service with Read and Write permissions of the characteristic Element. Read: Message has been received, alias name value: "mikroE". Write: A transmit message ( the maximum 15 characters ). Results are being sent to the Usart Terminal where you can track their changes.
Note: For communication with the BLE 5 Click Board™ use the android application on the link: https://play.google.com/store/apps/details?id=com.macdom.ble.blescanner
void application_task ( ) { if ( ble5_response_ready( ) == 1 ) { ble5_process( ); if ( msg_flg == 1 ) { msg_flg = 0; } } if ( device_disconnected_flag == 1 ) { ble5_start_advertising ( ); device_disconnected_flag = 0; } if ( serverread_flag == 1 ) { ble5_upd_val( serverread_profile, serverread_characteristic, serverread_element ); while ( ble5_response_ready( ) == 0 ); ble5_process( ); if ( msg_flg == 1 ) { msg_flg = 0; } ble5_accept_rx_val( serverread_profile, serverread_characteristic, serverread_element ); while ( ble5_response_ready( ) == 0 ); ble5_process( ); if ( msg_flg == 1 ) { msg_flg = 0; } serverread_flag = 0; } if ( serverwrite_flag == 1 ) { ble5_send_request_to_write( ); while ( ble5_response_ready( ) == 0 ); ble5_process( ); if ( msg_flg == 1 ) { msg_flg = 0; } serverwrite_flag = 0; } }
Other mikroE Libraries used in the example:
ble5_check_ok
- Check ok response.ble5_default_handler
- Default handler.ble5_event_handler
- Event handler.ble5_error_handler
- Error handler.ble5_check_sys_rdy
- Checks is system ready.ble5_check_sw_ver
- Checks software version.ble5_log_bt_addr
- Log Bluetooth device address.ble5_upd_val
- Updates the value of the given characteristic or descriptor.ble5_accept_rx_val
- Accepting and updating the value to database.ble5_send_request_to_write
- Sends request to write a char. or descriptor.ble5_start_advertising
- Start advertising.ble5_create_service
- Chain of commands creates Primary Server Profiles.ble5_add_service
- Add Server characteristic.
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- UART
- Conversions
Additional Notes and Information
Depending on the development board you are using, you may need a 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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The BLE 5 Click Board™ is supported with mikroSDK - MikroElektronika 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.
BLE 5 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.