Redbear BLE Nano I2C


I am prototyping a project using the Redbear BLE Nano v1.5 and would like to be able to use an I2C interface. However, when I load my sketch with the code (see below) the Blynk app does not detect the device. On the other hand, if I launch another app such as the nRF Connect app from Nordic, the device shows up in the scanner list. Another notable item is that when I load the example Blynk sketch for the BLE Nano, the device is detected by the Blynk app.

Sketch Code:


  • Blynk is a platform with iOS and Android apps to control
  • Arduino, Raspberry Pi and the likes over the Internet.
  • You can easily build graphic interfaces for all your
  • projects by simply dragging and dropping widgets.
  • Downloads, docs, tutorials:
  • Blynk community:
  • Social networks: Blynk
  • Blynk library is licensed under MIT license
  • This example code is in public domain.

  • This example shows how to use RedBearLab BLE Nano
  • to connect your project to Blynk.
  • NOTE: BLE support is in beta!



#define BLYNK_PRINT Serial

#include <Wire.h>
#include <BlynkSimpleRedBearLab_BLE_Nano.h>
#include <BLE_API.h>

#define SCL 3
#define SDA 2

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth = “My Auth”;

uint8_t device_name = “Blynk-I2C”;

void setup() {
Wire.begin(SCL, SDA, TWI_FREQUENCY_100K);



device_name, sizeof(device_name) - 1);;;

// Add Blynk service…

Serial.println(“Waiting for connections…”);

void loop() {;