nRF8001 Breakout help

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
outofjungle
 
Posts: 14
Joined: Sun Nov 27, 2011 7:51 pm

nRF8001 Breakout help

Post by outofjungle »

Hello,

1. Does this board work with Arduino Micro? I don't see the "Advertising started" started message in my serial console though.

2. I'm following the "Getting Started with the nRF8001 Bluefruit LE Breakout" tutorial. I noticed that tutorial mentions "File > Examples > Adafruit_nRF8001 > uart" sketch. But the library only has "callbackEcho" and "echoDemo" sketches as examples. Which sketch should I be using?
circuit1.jpg
circuit1.jpg (512.43 KiB) Viewed 786 times
circuit2.jpg
circuit2.jpg (483.5 KiB) Viewed 786 times
circuit3.jpg
circuit3.jpg (455.41 KiB) Viewed 786 times
Thanks in advance
/Ven

User avatar
adafruit_support_bill
 
Posts: 88091
Joined: Sat Feb 07, 2009 10:11 am

Re: nRF8001 Breakout help

Post by adafruit_support_bill »

I noticed that tutorial mentions "File > Examples > Adafruit_nRF8001 > uart" sketch.
Where exactly is that? I see references to the Nordic Semiconductor UART app and the BlueFruit UART app in the Apple store. The name of the library is "Adafruit_BLE_UART", but there is no example sketch named "uart".

User avatar
outofjungle
 
Posts: 14
Joined: Sun Nov 27, 2011 7:51 pm

Re: nRF8001 Breakout help

Post by outofjungle »

adafruit_support_bill wrote:Where exactly is that?
https://learn.adafruit.com/getting-star ... sting-uart

User avatar
adafruit_support_bill
 
Posts: 88091
Joined: Sat Feb 07, 2009 10:11 am

Re: nRF8001 Breakout help

Post by adafruit_support_bill »

Thanks, I'll check with the author of the tutorial.

User avatar
ktownsend
 
Posts: 1447
Joined: Thu Nov 05, 2009 2:18 am

Re: nRF8001 Breakout help

Post by ktownsend »

Sorry, this should be updated. Either of those sketches should work (tested on an Uno), but we updated to two examples showing how to perform the same thing with and without a callback function. I can't speak for any platforms other than an Uno, though, since that's what we use for development and testing internally.

User avatar
outofjungle
 
Posts: 14
Joined: Sun Nov 27, 2011 7:51 pm

Re: nRF8001 Breakout help

Post by outofjungle »

Thanks for the reply. I'll try it with a Uno today. The end goal is to run on a Micro, but I guess that should be easy once I get it working on any platform.

User avatar
billn
 
Posts: 23
Joined: Sat Aug 18, 2012 11:25 am

Re: nRF8001 Breakout help

Post by billn »

It works on the Mega as well, but won't work on the Due - won't compile

User avatar
outofjungle
 
Posts: 14
Joined: Sun Nov 27, 2011 7:51 pm

Re: nRF8001 Breakout help

Post by outofjungle »

Got it working on a Uno and with the iPad app. For some reason, the Android nRF UART 2.0 app on my Nexus 4 (Version 4.4.2) did not work with the module.
2014-04-23 02.23.25.jpg
2014-04-23 02.23.25.jpg (47.62 KiB) Viewed 745 times
2014-04-23 02.23.03.jpg
2014-04-23 02.23.03.jpg (68.13 KiB) Viewed 745 times
Two devices show up in the list of bluetooth devices. One is named UART and looks like a MAC address. Can someone please verify if this is a Android issue or a sketch issue?

Thanks
/Ven

User avatar
ktownsend
 
Posts: 1447
Joined: Thu Nov 05, 2009 2:18 am

Re: nRF8001 Breakout help

Post by ktownsend »

Try reseting the device. The BLE stack on Android is very buggy. It does work on a Nexus 4, though, since the development was done with the Nexus 4, Nexus 7 and various i0S devices and it works on all of them. You can also try turning Bluetooth off then back on to reset the stack.

K.

User avatar
ktownsend
 
Posts: 1447
Joined: Thu Nov 05, 2009 2:18 am

Re: nRF8001 Breakout help

Post by ktownsend »

BTW .. you never use that panel to connect to BLE devices, that's only for classic Bluetooth. All connections are handled at the app level in BLE.

User avatar
outofjungle
 
Posts: 14
Joined: Sun Nov 27, 2011 7:51 pm

Re: nRF8001 Breakout help

Post by outofjungle »

I tried resetting and rebooting my nexus 4, but no luck. Any ideas?

User avatar
ktownsend
 
Posts: 1447
Joined: Thu Nov 05, 2009 2:18 am

Re: nRF8001 Breakout help

Post by ktownsend »

Other than checking all the solder joints and wiring I'm not sure. I just hooked a board up to an Uno and pulled the latest code and it runs out of the box for me on both my Nexus 4 and Nexus 7 (2013), running 4.4.2. :(

User avatar
pocketmoon
 
Posts: 78
Joined: Fri Dec 27, 2013 8:21 pm

Re: nRF8001 Breakout help

Post by pocketmoon »

Oh pants. Looks like Nexus 7 is not guaranteed to support Bluetooth 4.0 (Low Energy) unless it's a Nexus 7 (2013).

User avatar
ktownsend
 
Posts: 1447
Joined: Thu Nov 05, 2009 2:18 am

Re: nRF8001 Breakout help

Post by ktownsend »

I'm afraid I only have the 2013 module and don't have access to the older one to test, but that might be the case. It definately works on the 2013 model running 4.3 and higher (I'm using 4.4.2, and BLE has less bugs in the 4.4+ releases).

User avatar
billn
 
Posts: 23
Joined: Sat Aug 18, 2012 11:25 am

Re: nRF8001 Breakout help

Post by billn »

I have a 2012 Nexus 7 and the app does not work because they do not support BLE.
the app does work on my new Samsung tablet.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”