BLE nRF8001 Can't Connect

Sorry, the info you provided, means almost nothing. For some reason, hardware is not getting any messages from app side.
As I said, it works well on my hardware (Arduino leonardo + nrf8001). That’s strange.

Doesn’t sound like it’s worth any more effort on my part. Board goes back in the drawer…project scrapped.

I’m sorry to have disappointed you.
One more thing - include SPI.h, and it’s not a joke - when I include this, my project stops working.
I can’t explain it yet. Maybe there’s something wrong with Arduino IDE version, or the toolchain…
Do you plan to try using some other hardware?

You didnt disappoint…the hope of a BLE connected Blynk not yet working disappointed. :smiley:

As per my feedback…I get the same results when SPI.h is included.

Will check back in the future when its further along. Thanks.

1 Like

Thank you for the hint!

For me, Blend micro works fine with

#define BLYNK_USE_DIRECT_CONNECT
//#include <SPI.h>
1 Like

Hi there,
I´m trying to build my first project using bynk together with red bear blend micro
But I cant connect to the device at all.

When I run my project in blyk I get the message “device is offline”
My Andriod Note 3 does not see the bluetooth device.
at the serial monitor there is silence nothing at all.

As mentioned above I marked out // include spi.h
Now the bluetooth device is seen on my note 3 as “blynk”
But I get an error message " couppling rejected"

At the serial monitor there comes a message like:
[924473] Connecting…
But nothing more than that
When I run my blynk project there is the message again “device offline”

Is there any information (how to do) on how to connect blynk with blend micro ?

As usual, please try normal examples for your hardware (without blynk) and see if they work with your tablet.
There may be different incompatibilities…

My hardware works perfect when I use the BLE controller from Redbear.
But with blynk I have the situation as described.

Where do you see this message?

the message “device is offline” is at my Android phone note 3

The message [924473] Connecting… is at the serial monitor coming from the blend micro

I mean, this part.
It doesn’t look like you need to bind or couple devices…
Just select it from the blynk BLE widget.
also, try to remove the #define BLYNK_USE_DIRECT_CONNECT line

I do not couple or bind the devices
This was for information only.

I removed the #define BLYNK_USE_DIRECT_CONNECT line
and now I see at the serial monitor this:
[50737] Connecting…
[52822] Login timeout
[55820] Connecting…
[57903] Login timeout
[60903] Connecting…
[62986] Login timeout
[65986] Connecting…

In the blynk App I get the information “Device is offline”

Is there anyone ho runs the bynk together with the blend micro ?

Allow me one additional question (may be stupid but it is my first project with blynk)
Within the blynk app
My Devices
selection connection type
Which type should I select ?
“Bluetooth” or “BLE” ?

Let me check it, I have one Blend Micro board.

I checked it, and it works.
I will update an example soon, but it should work with just the SPI.h removed.
I use Arduino IDE 1.6.12 and latest BLE Peripheral library.

I use Arduino 1.6.13
on a clean system which means I removed every old Arduino Version and every old library
So I have only the red bear and the blynk stuff present in my library folder.
There are:
Blynk v0.4.1
nRF8001 Last updated: 2015/06/04
BLE_SDK_for_Arduino Release note 0.9.7:
BLE Peripheral library Version 0.3.1

Should I change something ?

I edit the “example” RedBearLab_BlendMicro
I removed SPI.h
But when i start the Blyn project I get only “Device is offline” (at my smart phone)

when I start the serial Monitor I get the this:
[10373]
___ __ __
/ _ )/ /_ _____ / /__
/ _ / / // / _ / '/
/
//_, /////_
/
__/ v0.4.1 on Blend Micro

[10381] Connecting…
[16381] Connecting…
[22382] Connecting…
[28383] Connecting…
[34383] Connecting…

So, did you add BLE widget to your project?
What happens when you click “connect” in BLE widget?

1 Like

with this library, you shouldn’t need BLE_SDK_for_Arduino and nRF8001 libs.

I yust edit my upper post and add the version of BLE Periphal

Must I remove the BLE_SDK_for_Arduino and nRF8001 libs ?
Because I need them for my other projects.

I´m not sure what you mean by
So, did you add BLE widget to your project?
What happens when you click “connect” in BLE widget?

I have done my first “Project” with in the Blynk APP
It is only one single button for testing
When I have done I could add a widget which includes the button I have defined
When I hit the button it toggles nothing more. ( of course the blend micro is still running near by to the laptop )
When I open the Blynk APP I can push the “play” Button in the upper right corner
Then I get the massage “Device offline”

Please Add BLE widget (find it).
click “connect” in BLE widget.

1 Like

Sorry, may be it is my first time I do not understand you.

I found the widget with “my button” and placed it on my screen.
I can touch the widget and than “button settings” appear
but I do not find any “connect” option.