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?
Thanks in advance
/Ven
nRF8001 Breakout help
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88091
- Joined: Sat Feb 07, 2009 10:11 am
Re: nRF8001 Breakout help
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".I noticed that tutorial mentions "File > Examples > Adafruit_nRF8001 > uart" sketch.
- outofjungle
- Posts: 14
- Joined: Sun Nov 27, 2011 7:51 pm
Re: nRF8001 Breakout help
https://learn.adafruit.com/getting-star ... sting-uartadafruit_support_bill wrote:Where exactly is that?
- adafruit_support_bill
- Posts: 88091
- Joined: Sat Feb 07, 2009 10:11 am
Re: nRF8001 Breakout help
Thanks, I'll check with the author of the tutorial.
- ktownsend
- Posts: 1447
- Joined: Thu Nov 05, 2009 2:18 am
Re: nRF8001 Breakout help
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.
- outofjungle
- Posts: 14
- Joined: Sun Nov 27, 2011 7:51 pm
Re: nRF8001 Breakout help
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.
- billn
- Posts: 23
- Joined: Sat Aug 18, 2012 11:25 am
Re: nRF8001 Breakout help
It works on the Mega as well, but won't work on the Due - won't compile
- outofjungle
- Posts: 14
- Joined: Sun Nov 27, 2011 7:51 pm
Re: nRF8001 Breakout help
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.
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
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
- ktownsend
- Posts: 1447
- Joined: Thu Nov 05, 2009 2:18 am
Re: nRF8001 Breakout help
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.
K.
- ktownsend
- Posts: 1447
- Joined: Thu Nov 05, 2009 2:18 am
Re: nRF8001 Breakout help
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.
- outofjungle
- Posts: 14
- Joined: Sun Nov 27, 2011 7:51 pm
Re: nRF8001 Breakout help
I tried resetting and rebooting my nexus 4, but no luck. Any ideas?
- ktownsend
- Posts: 1447
- Joined: Thu Nov 05, 2009 2:18 am
Re: nRF8001 Breakout help
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. :(
- pocketmoon
- Posts: 78
- Joined: Fri Dec 27, 2013 8:21 pm
Re: nRF8001 Breakout help
Oh pants. Looks like Nexus 7 is not guaranteed to support Bluetooth 4.0 (Low Energy) unless it's a Nexus 7 (2013).
- ktownsend
- Posts: 1447
- Joined: Thu Nov 05, 2009 2:18 am
Re: nRF8001 Breakout help
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).
- billn
- Posts: 23
- Joined: Sat Aug 18, 2012 11:25 am
Re: nRF8001 Breakout help
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.
the app does work on my new Samsung tablet.
Please be positive and constructive with your questions and comments.