Sort by » date activity comments

16 blog posts tagged with ble

by Mohammad Afaneh

Bluetooth 5 e-book (plus video tutorials, exercises, and source code)

Do you get sick of scouring the internet for Bluetooth 5 and BLE resources? Do you feel lost or get stuck during the development of your BLE project? Are you excited about Bluetooth 5 and its possibilities but don't know where to start? Do you experience pain when referring to the official spec and its daunting 2,800+ pages??!

You're not alone... I've been there and experienced every single one of those pains myself! Back in March 2016, I decided to start a blog about Bluetooth Low Energy. I wanted to provide a one-stop resource for others...

by Mahesh Venkitachalam

Bluey Beacon - Building a Nordic nRF52832 BLE IoT Sensor Beacon

image description

In this project, we’re going to build a BLE Beacon that transmits temperature, humidity and ambient light levels to a dashboard on the internet. Bluetooth Low Energy is a technology that was designed from the ground up to reduce power consumption. It’s common for BLE devices to keep going and going for months on a coin cell battery. A beacon is a typical example of such a device. All it does is wake up periodically, send data, and go back to sleep. There are different methods of connecting to a BLE device. In the case of the beacon...

by Marco Russi

Contract/freelance firmware engineer - Nordic nrf5x devices

Good morning, my name is Marco Russi and I live in London, UK.

I am a contract/freelance embedded software engineer with 10 years of experience. I have been involved in projects mainly for smart sensors, actuators control and battery powered devices. I have already worked with a few companies in UK designing and developing firmware and software or following an entire embedded system development, including hardware, from requirements to first prototype and then to production.

My main experience is on Bluetooth Low Energy applications based on Nordic nrf51 devices but I also have a good knowledge of WiFi, Ethernet...

by lfcerf

Programming nRF52832 boards in Python with Zerynth

image description

Released in December 2016, the new Bluetooth 5 offers truly exciting possibilities for home, industry, and commerce as well as the more traditional areas of wearables and personal devices historically associated with Bluetooth.

Nordic’s nRF52832 is a Bluetooth 5-ready SoC that combines an ARM Cortex-M4F microprocessor with a 2.4GHz multiprotocol radio, supporting Bluetooth Low Energy (BLE).

Zerynth provides a platform for programming nRF52832 boards in Python using paradigms and features typical of personal computer (PC) and mobile programming.

The Zerynth Stack

Enabling the use of Python for Microcontrollers and embedded solutions, Zerynth allows:

  • Time to Market Reduction
  • Flexibility...
by Hung Bui

What to keep in mind when developing your BLE Android app

BLE is native supported on Android from v4.3. It has been continuously improved as Android evolving. It's getting more and more complex with additional features. It's important that a Bluetooth app should work smoothly on all Android versions, from 4.3 to the latest one. One may find it's tricky to keep track of all the issues from earlier Android versions and the changes in BLE APIs of different API levels.

To help you with this, our app developers have provided a note, discussing about most important changes and added features on newer Android version 5...

by BLE Cube

BLE-Cube — A Bachelor Project

In spring 2016 four students from NTNU got an assignment from Nordic Semiconductor. To compliment this assignment, the students wrote a short article:

"What if controlling household appliances with your smart phone was easy? What if you could log on to a web page to open your blinds and adjust your thermostat? It may sound like a daunting task, but by combining Google’s Web Bluetooth API with Nordic Semiconductor’s nRF5-Series, it’s almost as easy as an Arduino. To demonstrate this exact technology, four students from NTNU set out to make a toy, controlled from the browser of...

by Stian

nRF52 Online Power Profiler

We in the Nordic Support team have created an online power profiler to estimate the power consumption during a BLE event with different parameters. The profiler gives you information about the different components in a BLE event as well as the average current over a specified interval. All data is based on actual measurements conducted on the nRF52, and they are correlated with the BLE power profiles found in the SoftDevice specification to build a model which estimates the current components involved.

You can find the nRF52 Online Power Profiler here: The tool is also available...

by Michael Dietz

Monitor Mode Debugging - Revolutionize the way you debug BLE applications


Monitor Mode Debugging solves the biggest problem when debugging nRF5 devices. It allows BLE applications to be debugged without crashing after setting breakpoints/pausing execution, and is an order of magnitude better than the default 'halt mode' debugging in these situations. The IDE does not notice any difference between halt and monitor mode debug so this will work with whatever IDE you are using (will work in GDB as well). This post will serve as a step by step guide to set up and use Monitor Mode Debugging with each major IDE Nordic supports (Keil, IAR, SEGGER Embedded Studio...

by Jason

Scope your Bluetooth RSSI

Hi developers,

We just released a BLE-Scanner App on the iTunes , and free for download.

image description

Alos, the app is an open source project for iOS (Swift and Objective-C):

Our Web site:

Our Facebook page:

Welcome to cooperate, contact us :

by Daniel Veilleux

BLE-to-SB quadcopter bridge

[UPDATE (Feb 8, 2016): I have incorporated the feedback that I received from several link-layer wizards in Trondheim.]

Last fall I purchased an inexpensive quadcopter that uses Nordic's ShockBurst (SB) radio protocol. The question that I was trying to answer when I started disassembling that poor quadcopter was simple: Can Bluetooth Low Energy (BLE) and the S110 SoftDevice's Multiprotocol Timeslot API provide a link with low enough latency to control a twitchy aircraft? After reverse engineering the quadcopter's binding and control packets, I ended up using an nRF51-DK to build a bridge that allowed me to comfortably...

by Marco Russi

BLE nrf51 - Multilink NUS central - Connect to many peripherals through NUS service - with Arduino host

Hi all,

I implemented a simple multilink NUS central based on s130 for nrf51 chip-set. It means that this NUS central can connect to several peripherals simultaneously and send data to each one of them by selecting connection index. It is designed as a modem through UART interface so a few "AT+"-like commands have been implemented for managing multiple connections and related data through them. A README file contains all necessary basic documentation of commands and instructions about installation and flashing.

In addition I developed a host side for Arduino so you can easily control an eventual nrf51 module...

by Michael Dietz

SEGGER Embedded Studio Part 2 - Monitor Mode Debugging

This tutorial will take less than 15 minutes.


Never lose a BLE connection when debugging your applications again! This technique will also be useful for any application using the PWM peripheral and many others as well!

Monitor mode debugging can only be done on nRF52 series devices. It will not work with nRF51 series devices as Cortex-M0 doesn't support this feature.


In the last blog post we introduced you to SEGGER Embedded Studio (SES). Please at least skim through that post if you haven't already.

In this post we...

by David Edwin

Baby steps with Bluetooth Smart

Are you looking to make your first steps with Bluetooth Smart?
Are you looking for hands-on help to get started with Bluetooth Smart ?
Playing could be the best form of learning and its time to play.

The Bluetooth SIG has created the Bluetooth Smart starter kit that allows you to quickly get started on BTLE (Bluetooth low energy).

The kit includes the source code (for the Arduino and the phone i.e. iOS, Android, Blackberry and Windows 8.1) and also has the list of hardware to purchase to start using the kit.The required hardware includes a Redbearlab BTLE...

by Stefan Birnir Sverrisson

nRF51822/nRF51422 getting started and documentation overview

BLE and ANT development kit

Nordic Semiconductor offers the nRF51 series for BLE and/or ANT wireless connectivity. The nRF51 (nRF51422 or nRF51822) is a System on Chip, which means it has internal microcontroller to perform various operations. There are onboard peripherals like UART, SPI, ADC, timers, configurable GPIOs, etc. For nRF51, there are number of protocol stacks to develop on, BLE peripheral stack (S110), BLE central stack (S120), BLE central+peripheral stack (S130), ANT stack (S210) (for nRF51422 only) and ANT+BLE stack (S310) (for nRF51422 only). For nRF51 development with any of those stacks, we provide the nRF51...

by scytulip

Nordic Semiconductor nRF51822 Firmware for Background Data Recording

Nordic Semiconductor nRF51822 Firmware for Background Data Recording

Updating on

Design Objective

This firmware is designed for low-cost long-time low-power unattended data recording.

  • Low-cost: All collected data is preserved in nRF51822, sharing the FLASH memory with the SoftDevice and the program.
  • Unattended: The firmware executes automatic data collection and preservation until data memory area in the FLASH is full.
  • Low-power: The firmware automatically turns off BLE and redundant hardware to extend battery life.

BLE Link could be intentionally enabled to transfer data. When a BLE connection is created, the firmware will report the data reading...

by Stefan Birnir Sverrisson

How different BLE packet types influence throughput

There are several types of write operations, write request with authorization, write request without authorization and write command. You can see message sequence charts for those messages here and here.

Write command is a write without acknowledgement and write request is write with acknowledgement. As described in the sequence chart, the ATT will automatically send ack when you transmit write request from the central device. Write Command on the client side should generate BLE_GATTS_EVT_WRITE(WRITE_CMD, data) event on the server (nRF51822) side.

Packet exchange with Write Requests and Indications

When transferring data with a write request from GATT client or...