Beginning BLE with NRF51822



Bluetooth Low Energy (BLE, also marketed as Bluetooth Smart) started as part of the Bluetooth 4.0 Core Specification. It’s tempting to present BLE as a smaller, highly optimized version of its bigger brother, classic Bluetooth, but in reality, BLE has an entirely different lineage and design goals. Originally designed by Nokia as Wibree before being adopted by the Bluetooth Special Interest Group (SIG), the authors weren’t trying to propose another overly broad wireless solution that attempts to solve every possible problem. From the beginning, the focus was to design a radio standard with the lowest possible power consumption, specifically optimized for low cost, low bandwidth, low power, and low complexity.

BLE with NRF51822 development

RedBearLab BLE Nano Kit - nRF51822

To start development with NRF51822 you will need a hardware development kit. RedBearLab BLE Nano Kit is one of the development kits I really like.

You will also need to download and install ARM KEIL development studio.

ARM KEIL development studio has Pack Installer software package where you can import Bluetooth code examples.

Download and install nRFgo Studio, it can be used to burn SoftDevice into nRF51822. nRFgo Studio is located under the "Downloads" tab.

Install nRFgo studio.

Open nRFgo studio.

Connect your device and program SoftDevice with nRFgo studio.

Once you have your development kit handy you can start coding. Download Nordic Software Develoment Kit and SoftDevices You will find the links under the "Downloads" tab.

The SoftDevice can also be programmed from KEIL. Click on the drop down menu on the top-left and select "flash_sXXX_nrf51..."