Go Down

Topic: Pro micro and Nrf2401+ SPI interface. (Read 711 times) previous topic - next topic

syphex

I have a pro micro without an SPI port that I would like to interface with an Nrf2401+ as a master.

This is the Nrf2401+


The pro micro pins are as follows:

SS_PIN 10
MISO_PIN 14
SCK_PIN 15
MOSI_PIN 16

So pin MISO pin on the pro micro goes to the MOSI pin on the Nrf2401+ and vica versa? Or is it the other way around?

SurferTim

#1
Sep 01, 2013, 07:34 am Last Edit: Sep 01, 2013, 07:37 am by SurferTim Reason: 1
The Arduino is the SPI master, and Nrf2401 is the SPI slave.
MOSI (Master Out - Slave In) goes to MOSI.
MISO (Master In - Slave Out) goes to MISO.

edit: Insure both devices work at the same voltage. If not, you may need a logic level converter.

pico


edit: Insure both devices work at the same voltage. If not, you may need a logic level converter.


Actually, while Vcc to the nRF24L01+ must not exceed 3.6V, the data pins are 5V tolerant.

So it's fine to run the nRF24L01+ with 5V level pins from an Arduino, but you must ensure the Vcc doesn't exceed 3.6V.
WiFi shields/Yun too expensive? Embeddedcoolness.com is now selling the RFXduino nRF24L01+ <-> TCP/IP Linux gateway: Simpler, more affordable, and even more powerful wireless Internet connectivity for *all* your Arduino projects! (nRF24L01+ shield and dev board kits available too.)

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy