nrf52-ble-image-transfer-demo

This demo uses a camera sensor to capture a JPG image, and send it over BLE to a phone app. The image can be captured either in a single shot mode, or in a streaming mode where it will take pictures as fast as the BLE link can keep up.

The resolution can be changed in 6 steps between 160x120 to 1600x1200, and an estimate of the transfer speed can be calculated based on the time it takes to transfer each image.

The example is set up to request different BLE phy's, and can be used to demonstrate the difference between 1Mbps and 2Mbps BLE modes on phones that support it.

The Android companion app can be found here:
https://github.com/NordicSemiconductor/Android-Image-Transfer-Demo

Requirements

Hardware setup

nRF52840 using front connector

Note: This requires solder bridges SB10-15 and SB20-25 to be soldered/cut, as illustrated here:

nRF52840 using side connector

nRF52832 using side connector

SoftDevice version

For the nRF52840 it is sufficient to use S140 v5.0.0-2.alpha, provided with SDK 13.

For the nRF52832 it is necessary to download S132 v5.0.0-3.alpha here, and extract it to the following folder: \nRF5_SDK_13.0.0\components\softdevice\s132_v5_alpha

The header files should be located here: \nRF5_SDK_13.0.0\components\softdevice\s132_v5_alpha\headers\

TODO

  • Update IAR and GCC project/make files
  • Create a proper setup guide for configuring the hardware, on the 52840 and 52832 kits

Note

The project may need modifications to work with other versions or other boards.

To compile it, clone the repository in the [SDK]/examples/ble_peripheral folder.

About this project

This application is one of several applications that has been built by the support team at Nordic Semiconductor, as a demo of some particular feature or use case. It has not necessarily been thoroughly tested, so there might be unknown issues. It is hence provided as-is, without any warranty.

However, in the hope that it still may be useful also for others than the ones we initially wrote it for, we've chosen to distribute it here on GitHub.

The application is built to be used with the official nRF5 SDK, that can be downloaded from developer.nordicsemi.com

Please post any questions about this project on devzone