RSS
Sort by » date activity comments

286 blog posts

2
comments
by Mahesh Venkitachalam

Driving WS2812B LEDs using I2S on the Nordic nRF52832

image description

In this article, I use the I2S peripheral of the Nordic nRF52832 to generate the waveforms required to drive the popular WS2812B RGB LEDs.

http://electronut.in/nrf52-i2s-ws2812/

2
comments
by gamnes

Walkthrough of Nordic Thingy:52 Node.js Raspberry Pi demos

Thingy:52 Node.js Raspberry Pi Interface

This blog post is a follow up to the Nordic Thingy:52 node.js/Raspberry Pi demos blog post, and will described how you can run and what to expect from each of the Node.js examples that have been provided in the GitHub repository. It will also described an additional example of how you can use the Node.js library to post a tweet based on sensor data.

If you are looking for a Python interface instead of Node.js, please have a look at the following blog post for some more...

4
comments
by jmag999

ble_app_hrs_freertos running in Atollic TrueSTUDIO

This post describes how you can get the ble_app_hrs_freertos example project running in Atollic TrueSTUDIO 8.0 on a pca10040 board. This is a managed make build, it does not rely on the makefile provided by Nordic. No Nordic source files are changed and it even uses the existing gcc linker files from Nordic.

Steps:

1) Download and install Atollic 8.0

https://atollic.com/resources/download/windows/

2) Download and unzip nRF_SDK_14.0.0_3bcc1f7.

https://www.nordicsemi.com/eng/nordic/download_resource/59011/63/24104622/116085

3) Download the project zip file.

https://www.dropbox.com/s/7ugxchh55kg13pn/Atollic-Nordic-SDK14.0...

5
comments
by Mahesh Venkitachalam

OLED display support for nRF52832 (SSD1306, Adafruit GFX)

Just a quick post to say that we have ported the Adafruit GFX and SSD1306 libraries to nRF52832. Currently only I2C is supported.

The code can be found here:

https://github.com/electronut/ElectronutLabs-bluey/tree/master/code/bluey-OLED

Here it's seen working with our Bluey nRF52 development board. More information about Bluey here:

http://electronut.in/bluey/

image description

3
comments
by Jonathan

I tried 5 different debugger IDEs for nRF52 and STM32. Here are my results.

At Jumper we’re developing tools that increase the happiness levels of embedded software developers. Our main tool to date is the Jumper Emulator. As a part of the development process we’re required to use embedded debuggers to verify that our emulator is on par with the actual hardware. Our focus is on ARM Cortex M devices. The MCUs we’re debugging are the nRF52, STM32F4 and LPC1768.

An Embedded software debugging session can get quite frustrating. After testing several options, we’re happy to provide a summary of what we learned. Let us know if we missed something...

9
comments
by Eirik Midttun

Things you should know about Bluetooth mesh

Bluetooth SIG has recently published a new standard, the Bluetooth mesh. The mesh capability is a significant update and enables radical new applications. This in turn means that there are significant changes, and many new concepts to learn for developers and product makers. Knowing the technology well is key if you want to succeed with mesh, or any technology for that matter.

It is futile to summarize mesh in a blog post, so the aim here is to give you a rough understanding of what Bluetooth mesh is designed for, some of the new concepts, and things that are important...

1
comment
by Jakub Rzeszutko

New Command Line Interface - part 1.

Introduction

With nRF5 SDK v14.0.0, we have significantly refactored the Command Line Interface (CLI) module to make it more useful and user friendly.

The new CLI has the following features:

  • Support for multiple instances.
  • Advanced cooperation with the nrf_log.
  • Support for static and dynamic commands.
  • Smart command completion with the Tab key.
  • Built-in commands: clear, colors, history, and resize.
  • Viewing recently executed commands using the Up/Down keys.
  • Text edition using Left/Right/End/Home/Insert keys.
  • Build-in handler to display commands help.
  • Support for multiline commands.
  • Support for ANSI escape codes for cursor control and color printing...
2
comments
by Eugene Yu

Support pairing on NUS profile for Central and Peripheral

Introduction

I would like to introduce simple source code that supporting NUS profile and pairing. Most of you will choose the proprietary profile to make your own application which is not provided by Bluetooth SIG. Since this reason Nordic is providing one example in SDK which it called to Nordic Uart Service. This profile simulates serial communication as SPP in classic Bluetooth. So you can implement your own packets on this profile simply. But unfortunately it does not support pairing method for secured and smooth BLE connection. So In this blog I want to give you simple example for referencing...

0
comments
by Yaniv Nis

Reproducible build environment for nRF52 using Rebuild (rbld.io)

As you probably know having a build environment, you can replicate and deploy with ease has the potential to save a lot of R&D time. If you can also control its versioning so you would be able to "get back in time" for a build server that generated a specific source code version, it's something of great value for a project that has many deployed versions in the field.

I recently came across Rebuild (rbld.io). Rebuild is perfect for establishing build infrastructure for source code and was made for developers that want to release themselves from the...

5
comments
by Mahesh Venkitachalam

Flashing and Debugging nRF51/52 with a cheap blackmagic probe compatible SWD programmer

image description

When we built our Bluey nRF52 BLE dev board, we were looking for an inexpensive option for our users to upload code to bluey and debug it using ARM GDB. We then came across the blackmagic probe (BMP) project - an Open Source debugging tool for embedded microprocessors. It greatly simplifies the debugging and code uploading process using just ARM GDB - no need to run a GDB server or use an additional complex tool like openocd. Although the BMP hardware is excellent, it's bit beyond the budget of our target audience as an add-on programmer. But luckily, their firmware supports...

18
comments
by eivinds

Introducing nRF5 SDK for Mesh

The day after the Bluetooth SIG announced the 1.0 spec of the Bluetooth mesh we are happy to announce the nRF5 SDK for Mesh for our nRF51 and nRF52 Series SoCs. This first (v0.9.1) release is packed with new features and concepts for Bluetooth.

What is Bluetooth mesh? The mesh capability is a significant update and enables a radical new approach to making Bluetooth applications. With this update to Bluetooth, there are significant changes and many new concepts to learn for developers and product makers. From a holistic point of view, mesh enables Bluetooth to expand its...

2
comments
by Mohammad Afaneh

Bluetooth 5 Advertisements (Extended and Periodic Advertisements)

We’ve all seen the hype on 2x Speed, 4x Range, and 8x Advertising data increase capabilities in Bluetooth 5.

But what does this all mean?? How does it achieve all these improvements? Is it really possible to achieve all these simultaneously?? What about power consumption?

In this blog post (first in a series of posts on Bluetooth 5), I go through each of the new Bluetooth 5 features. Other topics covered include:

  • Overview of Bluetooth 5 and its major improvements
  • How Bluetooth 5 achieves higher speed and longer range
  • General overview of Bluetooth advertising
  • Types of Bluetooth 5 advertising...
0
comments
by Aleksander Nowakowski

nRF Connect macros (currently Android only)

Motivation

Very often, while working with Bluetooth LE devices, we encountered a problem having to repeat a sequence of operations to test or demonstrate some functionality. Writing a mobile app every time to show couple of buttons that interact with a device was costly and boring. A more generic and easy to use solution was required.

Automated tests

Our first approach, the automated tests, allowed to prepare an XML script with sets of operations that were automatically performed producing a report as a result. Automated tests appeared in nRF Connect for Android (known back then as nRF Master Control Panel...

1
comment
by Krzysztof Loska

Unique Thread/Bluetooth multiprotocol solution with nRF5 SDK for Thread and nRF52840 SoC by Nordic

With the nRF52840, we released our first System-on-Chip (SoC) with a radio that is capable of running the IEEE 802.15.4 PHY, additionally to Bluetooth 5 (Bluetooth Low Energy), ANT+, and proprietary 2.4 GHz protocols. In March 2017, we released our first software solution running on top of the IEEE 802.15.4 PHY - nRF5 SDK for Thread in version 0.8.0, supporting the OpenThread stack.

Multiprotocol with nRF5 SDK for Thread

Since nRF52840 supports multiple radio protocols, applications running on this SoC can use several radio protocols. With the release of nRF5 SDK for Thread in...

2
comments
by Yaniv Nis

Power Optimization — From 3 to 7 Months on a Single Charge

A case study on optimizing battery power consumption for CC2538 but can also apply for nRF52 based device - https://medium.com/jumperiot/power-optimization-from-3-to-7-months-on-a-single-charge-56de0c30f062.

0
comments
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...

2
comments
by eivinds

Nordic Thingy:52 node.js/Raspberry Pi demos

Our brilliant apps engineers continue to play around with our newly-launched Nordic Thingy:52. This time, Joakim has prepared a few Javascript demos using node.js and a Raspberry Pi.

The Thingy connects to the Raspberry Pi with Bluetooth and uses it as an internet gateway. The Raspberry Pi runs the node.js scripts. The provided examples, which you can download below the video, include:

  • An example where all environmental sensor data is pushed to an online Firebase database.
  • An IFTTT example, where data form the Thingy triggers actions online.
  • An internet radio streaming example, where internet radio is streamed...
0
comments
by Bence

nRF Connect v2.0 release

We are happy to announce that nRF Connect for desktop v2.0 has now been released, and is available for download on the nRF Connect product page.

Framework for desktop apps

As you may know, nRF Connect v1 was a Bluetooth low energy tool for development and experimentation. At Nordic Semiconductor we have lots of ideas for similar applications, so we decided to pull out the reusable parts of v1 into a framework for desktop apps. Key features of this framework:

  • Allows users to easily install, update, and launch apps
  • Allows developers to create new apps
  • Supports Windows, macOS, and...
2
comments
by chrishansen

Introducing nRF Cloud. An IoT platform for your Nordic Semiconductor Bluetooth devices.

Connecting BLE devices to the IoT is becoming an essential requirement of many products, so to help you get your IoT project jump started, Nordic Semiconductor is launching a set of IoT developer tools. Currently the tools are in beta with a full release planned later this summer. Check it out at nrfcloud.com.

image description

As always, these IoT tools and the hosting of the IoT platform are provided for free for our developers. The code is also available on GitHub if you want to use nRF Cloud as a starter template for your own IoT service.

The first tool is...

3
comments
by shibbs

Porting the OTA DFU to your Custom App (SDK 12 +)

How to implement the Nordic OTA protocol in your own phone App

This document is meant to be useful if you are implementing DFU updates within in your own smartphone app, and want to do it yourself, rather than rely on trying to turn nrf toolbox into a library that your app calls. In a previous app we did just that, but it was a nightmare, and the nrf toolbox has since changed its structure a lot, making it even harder to do this now.

Our app is a cross-platform javascript app, and in the past we had built our...

« 1 2 3 4 ... 15 »

Tags