# Title: RN4870 Click Board™ ## Description: The RN4870 Click Board™ is based on the RN4870 Bluetooth® 4.2 low energy module from Microchip. The click is designed to run on a 3.3V power supply. It uses ASCII Command Interface over UART for communication with target microcontroller, with additional functionality provided by the following pins on the mikroBUS™ line: PWM, INT, RST, CS. RN4870 Module Features The RN4080 module from Microchip provides a complete solution to implement Bluetooth 4.2 Low Energy connectivity. All products in the RN series can be dynamically configured by the host microcontroller with a few simple ASCII commands. The RN4870 Click Board™ supports both peripheral and central Generic Access Profile (GAP) roles, actively scanning for other connectable devices instead of waiting for incoming connection requests. The peripherals are usually small, low power devices like sensors and monitors, that broadcast information to the central device. The central device can communicate with multiple peripherals. It also supports Remote Command mode which allows a remote device to access Command mode remotely via Bluetooth link. The module contains an integral ceramic chip antenna. Specifications Type BT/BLE Applications Health/Medical Devices, Sports Activity/Fitness Meters, Beacon Applications, Internet of Things (IoT) Sensor Tag, Remote Control, Wearable Smart Devices and Accessories, Smart Energy/Smart Home, Industrial Control On-board modules RN4870 BLE 4.2 low energy module Key Features ASCII Command Interface API over UART, ISM Band 2.402 to 2.480 GHz Operation, Secure AES128 Encryption Interface GPIO,PWM,UART 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 RN4870 click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns). Notes Pin Pin Notes NC 1 AN PWM 16 PWM PWM1 Module Reset RST 2 RST INT 15 UART_CTS UART Clear To Send UART Ready To Send UART_RTS 3 CS TX 14 UART_TXD UART Data output NC 4 SCK RX 13 UART_RXD UART Data input NC 5 MISO SCL 12 GPIO1 GPIO NC 6 MOSI SDA 11 GPIO2 GPIO Power supply +3.3V 7 3.3V 5V 10 NC Ground GND 8 GND GND 9 GND Ground Additional pins Name I/O Description RX_I I UART RX Indication pin RSSI I/O Indicate the quality of the link based on the RSSI level. PAIR I Use this pin to force the module to enter Standby mode. LINK I Use this pin to force the module to drop the current BLE link with a peer device. Buttons and LEDs Designator Name Type Description LD1 PWR LED Power indicator LED LD2 ON/OFF LED Provides indication whether the module is in ON/OFF mode Maximum ratings Description Min Typ Max Unit Supply Voltage 1.9 3.6 V Frequency Band 2.402 2.480 GHz Operating Temperature Range -20°C +70°C Sensitivity 90dBm ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: BT/BLE, Click Board, MikroE, Wireless ## Price range: 28.0 - 28.0 GBP ## Link: https://thedebugstore.com/products/rn4870-click-board-mikroe-2543-uk ## Compare-at price range: 40.0 - 40.0 GBP ## Options - Title: Default Title ## Collections - [New Products](https://thedebugstore.com/a/llms/collections/new-products-debug-store) - [Mikroelektronika d.o.o. (MikroE)](https://thedebugstore.com/a/llms/collections/mikroelektronika-catalogue-uk) - [Wireless Interface Click Boards™](https://thedebugstore.com/a/llms/collections/wireless-interface-click-boards-catalogue) - [MikroE Click Boards™](https://thedebugstore.com/a/llms/collections/mikroe-click-boards-catalogue-uk) - [Bluetooth/BLE Click Boards™](https://thedebugstore.com/a/llms/collections/bluetooth-ble-click-boards-catalogue) - [Click Boards™ Summer Sale](https://thedebugstore.com/a/llms/collections/inventory-sale) - [MikroE Sale](https://thedebugstore.com/a/llms/collections/mikroe-sale) - [MIKROE Stock](https://thedebugstore.com/a/llms/collections/mikroe-products-in-stock-sale) ## Variants - Default Title, SKU: MIKROE-2543, Available: yes, Inventory: 1 ## Metafields - full_description:
The RN4870 Click Board™ is based on the RN4870 Bluetooth® 4.2 low energy module from Microchip. The click is designed to run on a 3.3V power supply. It uses ASCII Command Interface over UART for communication with target microcontroller, with additional functionality provided by the following pins on the mikroBUS™ line: PWM, INT, RST, CS.
.jpg)
The RN4080 module from Microchip provides a complete solution to implement Bluetooth 4.2 Low Energy connectivity.
All products in the RN series can be dynamically configured by the host microcontroller with a few simple ASCII commands.
The RN4870 Click Board™ supports both peripheral and central Generic Access Profile (GAP) roles, actively scanning for other connectable devices instead of waiting for incoming connection requests. The peripherals are usually small, low power devices like sensors and monitors, that broadcast information to the central device. The central device can communicate with multiple peripherals.
It also supports Remote Command mode which allows a remote device to access Command mode remotely via Bluetooth link.
The module contains an integral ceramic chip antenna.
| Type | BT/BLE |
| Applications | Health/Medical Devices, Sports Activity/Fitness Meters, Beacon Applications, Internet of Things (IoT) Sensor Tag, Remote Control, Wearable Smart Devices and Accessories, Smart Energy/Smart Home, Industrial Control |
| On-board modules | RN4870 BLE 4.2 low energy module |
| Key Features | ASCII Command Interface API over UART, ISM Band 2.402 to 2.480 GHz Operation, Secure AES128 Encryption |
| Interface | GPIO,PWM,UART |
| Compatibility | mikroBUS |
| Click board size | M (42.9 x 25.4 mm) |
| Input Voltage | 3.3V |
This table shows how the pinout on RN4870 click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
| Notes | Pin | ![]() |
Pin | Notes | |||
|---|---|---|---|---|---|---|---|
| NC | 1 | AN | PWM | 16 | PWM | PWM1 | |
| Module Reset | RST | 2 | RST | INT | 15 | UART_CTS | UART Clear To Send |
| UART Ready To Send | UART_RTS | 3 | CS | TX | 14 | UART_TXD | UART Data output |
| NC | 4 | SCK | RX | 13 | UART_RXD | UART Data input | |
| NC | 5 | MISO | SCL | 12 | GPIO1 | GPIO | |
| NC | 6 | MOSI | SDA | 11 | GPIO2 | GPIO | |
| Power supply | +3.3V | 7 | 3.3V | 5V | 10 | NC | |
| Ground | GND | 8 | GND | GND | 9 | GND | Ground |
| Name | I/O | Description |
|---|---|---|
| RX_I | I | UART RX Indication pin |
| RSSI | I/O | Indicate the quality of the link based on the RSSI level. |
| PAIR | I | Use this pin to force the module to enter Standby mode. |
| LINK | I | Use this pin to force the module to drop the current BLE link with a peer device. |
| Designator | Name | Type | Description |
|---|---|---|---|
| LD1 | PWR | LED | Power indicator LED |
| LD2 | ON/OFF | LED | Provides indication whether the module is in ON/OFF mode |
| Description | Min | Typ | Max | Unit |
|---|---|---|---|---|
| Supply Voltage | 1.9 | 3.6 | V | |
| Frequency Band | 2.402 | 2.480 | GHz | |
| Operating Temperature Range | -20°C | +70°C | ||
| Sensitivity | 90dBm |
The RN4870 Click Board™ is based on the RN4870 Bluetooth.
- amazon_main_image: https://www.thedebugstore.com/images/product/lg-rn4870-click-board.jpg - amazon_browse_node: 428655031 - mpn: MIKROE-2543 - backorder_label: If no stock shown above, check availability - google_product_category: 222 - examples:Code examples for the RN4870 Click Board™, written for MikroElektronika hardware and compilers are available on Libstock.
The following code snippet shows send function for the RN4870 Click Board™. If the message type is correct, it will establish connection with the device specified by the address in the parameter and then send the properly formatted data.
01 #define BTCMD( TXT ) UART2_Write_Text( TXT )
02 void RN4xxx_send(char *pAddr, T_RN4xxx_message msgData )
03 {
04 static char msgTxt [255];
05
06 if (msgData.msgType == 'Q')
07 {
08 /*Connects to a device with specified adress*/
09 BTCMD("C,1,");
10 BTCMD (pAddr);
11 BTCMD("r");
12 Delay_ms(3000);
13 /*Secures the connection, entering data stream mode*/
14 BTCMD("Br");
15 Delay_ms(3000);
16 }
17 /*Sentence construction */
18 msgTxt[0] = '#';
19 msgTxt[1] = msgData.msgType;
20 msgTxt[2] = ',';
21 msgTxt[3] = msgData.dataType/0x100;
22 msgTxt[4] = msgData.dataType%0x100;
23 msgTxt[5] = ',';
24 msgTxt[6] = msgData.id;
25 msgTxt[7] = ',';
26 msgTxt[8] = '';
27 strcat (msgTxt, msgData.payload);
28 strcat (msgTxt, "*rn");
29
30 BTCMD ( msgTxt );
31
32 if (msgData.msgType == 'Q')
33 {
34 Delay_ms(3000);
35 /*Enters CMD mode*/
36 BTCMD("$");
37 Delay_ms(100);
38 BTCMD("$$$");
39 Delay_ms(1000);
40 /*Kills connection*/
41 BTCMD("K,1r");
42 Delay_ms(500);
43 }
44 }
- attachments: [{"download_file":[{"download_file":"RN4870 Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"Microchip RN4870 Low-Energy Bluetooth Module Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}]
- condition: new
- custom_product: false
- mpn: MIKROE-2543
- google_product_category: Electronics
- custom_label_0: Click Board
- device_vendor: Microchip Technology
- device_type: RN4870-V/RM118
- warranty: 12 months
- brand: MikroE
- manufacturer: Mikroelektronika d.o.o.
- badge:
- widget: The RN4870 Click Board™ carries the RN4870 Bluetooth® 4.2 low energy module from Microchip.
The click is designed to run on a 3.3V power supply. It uses ASCII Command Interface over UART for communication with target microcontroller, with additional functionality provided by the following pins on the mikroBUS™ line: PWM, INT, RST, CS.