bm78
2.1.0.0
|
BM78 Click is a compact add-on board designed to integrate dual-mode Bluetooth wireless capability into various projects. This board features the BM78, a fully certified 2.4GHz Bluetooth (BR/EDR/LE) wireless module from Microchip. The BM78 module includes an on-board Bluetooth stack, power management subsystem, 2.4GHz transceiver, and RF power amplifier. It supports GAP, SDP, SPP, and GATT profiles, with data transfer facilitated through transparent UART mode. It features a MODE SEL switch for operational modes, a reset pin, status indicators, a software power button, and a WAKE button.
We provide a library for the BM78 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for BM78 Click driver.
bm78_cfg_setup
Config Object Initialization function. bm78_init
Initialization function. bm78_eeprom_send_cmd
This function is used to send specific EEPROM command by using UART serial interface. bm78_eeprom_write
This function is used to write data into the EEPROM location specified by the address parameter. bm78_flash_eeprom
This function is used write default configuration into the EEPROM. This example demonstrates the use of BM78 click board by processing
the incoming data and displaying them on the USB UART.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration by writing it into the EEPROM.
Reads and processes all incoming data from the Serial Bluetooth Terminal smartphone application and displays them on the USB UART.
We have used the Serial Bluetooth Terminal smartphone application for the test.
A smartphone and the click board must be paired in order to exchange messages with each other.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
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 MikroElektronika compilers.