nRF8001 Bluefruit LE Breakout and Arduino Micro/Uno

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
m2k2
 
Posts: 5
Joined: Wed Sep 10, 2014 1:25 pm

nRF8001 Bluefruit LE Breakout and Arduino Micro/Uno

Post by m2k2 »

Hello,
I am trying to get the nRF8001 to work with my Arduino Micro. I never get the "* Advertising started" message with the echoDemo.
On the Micro I connected the pins in the following way. The Micro pins are on the right and BLE pins on the left.

MISO ---> MI
MOSI---> MO
SCK-->SCK
REQ ---> Digital 10
RST ---> Digital 9
RDY ---> Digital 2

I then tested the same nRF8001 Bluefruit LE Breakout board with my Arduino Uno.
SCK---> Digital 13
MISO ---> Digital 12
MOSI---> Digital 11
REQ ---> Digital 10
RST ---> Digital 9
RDY ---> Digital 2

I set the pins in the sketch this way for both the Micro and the Uno.

Code: Select all

#define ADAFRUITBLE_REQ 10
#define ADAFRUITBLE_RDY 2     // This should be an interrupt pin, on Uno thats #2 or #3
#define ADAFRUITBLE_RST 9
The Uno appeared to work but the range when connecting with my cell phone was < 3inches.

What am I doing wrong on the Micro and why is the range so limited on the Uno?

Thanks,
Mina

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: nRF8001 Bluefruit LE Breakout and Arduino Micro/Uno

Post by adafruit_support_mike »

Are you sure you're connecting to the correct SPI pins on the ICSP header?

User avatar
m2k2
 
Posts: 5
Joined: Wed Sep 10, 2014 1:25 pm

Re: nRF8001 Bluefruit LE Breakout and Arduino Micro/Uno

Post by m2k2 »

On the Micro, I've tried both the ICSP header and the separate marked pins. I have not had success with either.

User avatar
m2k2
 
Posts: 5
Joined: Wed Sep 10, 2014 1:25 pm

Re: nRF8001 Bluefruit LE Breakout and Arduino Micro/Uno

Post by m2k2 »

Do I have a defective unit?

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: nRF8001 Bluefruit LE Breakout and Arduino Micro/Uno

Post by adafruit_support_mike »

If it works with an Uno, the nRF8001 is probably okay.

The weak signal sounds a bit like a power issue though. What are you using as a power supply?

User avatar
m2k2
 
Posts: 5
Joined: Wed Sep 10, 2014 1:25 pm

Re: nRF8001 Bluefruit LE Breakout and Arduino Micro/Uno

Post by m2k2 »

Thanks Mike,
It might be power, I was using a 9V battery for the Uno and USB for the Micro. I will try my Astron power supply tomorrow.

Thanks,
Mina

User avatar
m2k2
 
Posts: 5
Joined: Wed Sep 10, 2014 1:25 pm

Re: nRF8001 Bluefruit LE Breakout and Arduino Micro/Uno

Post by m2k2 »

The Astron power supply resulted in the same <3in range. I am showing RSSI levels at -88 at about 3inches and -80 at about 1inch away.

I still can't get the unit to work with the Micro.

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: nRF8001 Bluefruit LE Breakout and Arduino Micro/Uno

Post by adafruit_support_mike »

A 9v battery is pretty weak, but USB power should provide all the current a Micro and the nRF8001 want with oomph to spare.

I'm starting to think this might be an antenna problem. Let's try a new BTLE module.

Send a note to [email protected] with a link to this thread and the folks there will get you a new nRF8001 breakout.

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

Return to “Other Products from Adafruit”